File Properties Vocabulary
- This version:
- http://downlode.org/Code/RDF/File_Properties/2006-04-24.html
- Latest version:
- http://downlode.org/Code/RDF/File_Properties/
- Previous version:
- http://downlode.org/Code/RDF/File_Properties/2005-12-23.html
- Author:
- Earle Martin
Copyright © 2005-6 Earle Martin.
This work is licensed under a Creative
Commons License. This copyright applies to the File Properties Vocabulary documentation
and does not apply to the File Properties Vocabulary data formats, vocabulary terms, or
technology. Regarding underlying technology, the File Properties Vocabulary relies heavily on
W3C's
RDF
technology, an open Web standard that can be freely used by anyone.
Abstract
This resource aims to provide a simple method of representing some properties of files. The vocabulary is defined in RDF and OWL.
Usage
Following is an example of a simple RDF document describing a file on a computer.
<rdf:RDF xmlns:rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns:foaf = "http://xmlns.com/foaf/0.1/" xmlns:wn = "http://xmlns.com/wordnet/1.6/" xmlns:fp = "http://downlode.org/Code/RDF/File_Properties/schema#" > <fp:File rdf:about="http://example.com/photo.jpg"> <dc:title>A photograph of something.</dc:title> <foaf:maker rdf:resource="http://example.com/foaf.rdf#Some_Person" /> <fp:created>2003-03-20T20:00+03:00</fp:created> <fp:modified>2005-12-14T18:42+00:00</fp:modified> <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> <fp:format>image/jpeg</fp:format> <fp:size>27639</fp:size> <fp:checksum> <fp:Checksum> <fp:generator> <!-- To define what created this Checksum, we're using the Wordnet definition of "Algorithm" as the class, and describing it with the Wikipedia definition of MD5. --> <wn:Algorithm rdf:about="http://en.wikipedia.org/wiki/MD5" /> </fp:generator> <fp:checksumValue>e89760b5510974acbea8ff4c77a1a5c0</fp:checksumValue> </fp:Checksum> </fp:checksum> </fp:File> </rdf:RDF>
The vocabulary is defined in the schema file.
Classes in this vocabulary |
|||||
| Name | Description | ||||
|---|---|---|---|---|---|
fp:File |
A file of some kind. | ||||
fp:Checksum |
A checksum generated from an fp:File, presumably by some
kind of process. |
||||
fp:Process |
A process is a series of events. | ||||
Properties in this vocabulary |
|||||
| Name | Domain | Range | Description | Sub-property of | |
fp:format |
fp:File |
rdfs:Literal |
The format of an fp:File. Recommended to be a content-type string. |
dc:format |
|
fp:size |
fp:File |
rdfs:Literal |
The size of an fp:File, in bytes. |
||
fp:created |
fp:File |
rdfs:Literal |
When an fp:File was created, preferably in W3C DTF. |
dc:created |
|
fp:modified |
fp:File |
rdfs:Literal |
When an fp:File was last modified, preferably in W3C DTF. |
dc:modified |
|
fp:checksum |
fp:File |
fp:Checksum |
Indicator that an fp:File has an fp:Checksum. |
||
fp:checksumValue |
fp:Checksum |
rdfs:Literal |
The string content of an fp:Checksum. |
||
fp:generator |
rdfs:Resource |
Relates a thing to what generated it. | |||
Changes since last version
After a lot of discussion on #swig with Sean Palmer, the following changes were made:
- Removed several redundant properties.
creatorrenamed togeneratorand is no longer an instance offoaf:maker.- Switched to using absolute URIs for schema terms.
Acknowledgements
Parts of the layout of this document and the licensing information were adapted from the FOAF Vocabulary Specification by Dan Brickley and Libby Miller.

