File Properties Vocabulary

This version:
http://downlode.org/rdf/file-properties/2005-12-14.html
Latest version:
http://downlode.org/rdf/file-properties/
Previous version:
n/a
Author:
Earle Martin

Copyright © 2005 Earle Martin.

Creative Commons License 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 that is embedded in this document.


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:rdfs = "http://www.w3.org/2000/01/rdf-schema#"
  xmlns:wn   = "http://xmlns.com/wordnet/1.6/"
  xmlns:fp   = "http://downlode.org/rdf/file-properties#"
>

<fp:File rdf:about="http://example.com/photo.jpg">
  <fp:title>A photograph of something.</fp:title>
  <fp:creator 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>
  <fp:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
  <fp:format>image/jpeg</fp:format>
  <fp:size>27639</fp:size>
 
  <fp:hasChecksum>
    <fp:Checksum>
      <fp:creator>
        <!--
        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:creator>
      <fp:checksumValue>e89760b5510974acbea8ff4c77a1a5c0</fp:checksumValue>
    </fp:Checksum>
  </fp:hasChecksum>
 
</rdf:RDF>

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 algorithm.

Properties in this vocabulary

Name Domain Range Description Sub-property of
fp:title fp:File rdfs:Literal The title of an fp:File. dc:title
fp:created fp:File rdfs:Literal When an fp:File was created, preferably in W3C DTF. dc:created
fp:type fp:File rdfs:Resource The type of an fp:File. The DCMI Type Vocabulary may be useful here. dc:type
fp:format fp:File rdfs:Literal The format of an fp:File. Recommended to be a content-type string. dc:format
fp:creator rdfs:Resource Who or what made an fp:File or fp:Checksum. foaf:maker
fp:size fp:File rdfs:Literal The size of an fp:File, in bytes.
fp:hasChecksum 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.

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.

]> 1 An OWL vocabulary for describing the properties of files. A file. A checksum for a file. The size of a file, in bytes. The date a file was created, preferably in W3CDTF. The date a file was last modified, preferably in W3CDTF. The type of a file. A sub-property of dc:type. The format of a file. A sub-property of dc:format, this is recommended to be a content-type string. The title of a file. A sub-property of dc:title. A file has a checksum. The thing that made a thing. A sub-property of foaf:maker, this could represent a person, piece of software or other process. The value of a checksum.