File Properties Vocabulary

This version:
http://downlode.org/rdf/file-properties/2005-12-23.html
Latest version:
http://downlode.org/rdf/file-properties/
Previous version:
http://downlode.org/rdf/file-properties/2005-12-14.html
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.


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/schema#"
>

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

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

Changes since last version

At the suggestion of Nicolas Kessner, to avoid validation issues and generally make things simpler, the definitions have been moved out of the source of this page into a separate file. This accordingly means that URIs for country definitions have changed from (for example) http://downlode.org/rdf/file-properties/#title to http://downlode.org/rdf/file-properties/schema#title. The URIs should not change again, unless persistent URIs are acquired; in which case the old URIs will be redirected accordingly and will not break.


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.


Valid CSS Valid XHTML 1.0 Strict