[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [office-metadata] Further examples needed
An Example RDF/XML file using our Ontology: <rdf:RDF xmlns="http://www.w3.org/2000/01/rdf-schema#" xmlns:meta="http://opendocument.xml.org/2007/03/meta-manifest/ns/#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"> <meta:Manifest rdf:about="urn:uuid:[document-uuid]"> <meta:entry> <meta:Entry rdf:about="urn:uuid:[name-graph-uuid]"> <rdf:type rdf:resource="http://example.org/plugin/photo-meta#MetaFile"/> <meta:full-path>meta/photos-meta.xml</meta:full-path> </meta:Entry> </meta:entry> </meta:Manifest> </rdf:RDF> The RDF/XML generates the following triples: @prefix meta: http://opendocument.xml.org/2007/03/meta-manifest/ns/# . <urn:uuid:[document-uuid]> a meta:Manifest ; meta:entry <urn:uuid:[name-graph-uuid]> . <urn:uuid:[name-graph-uuid]> a meta:Entry ; a photo:MetaFile ; meta:full-path "meta/photos-meta.xml" . Worth noting: The rdf:type http://example.org/plugin/photo-meta# is an example of a classification scheme added the plugin itself. Plugins can add extra metadata to the manifest as they wish in order to provide useful information for themselves or others in future access. I shortened ManifestEntry to just Entry now. The rdf:about for the Manifest *could* be used as the stable global doc ID from our conversation today. The rdf:about for the Entry *could* be used as the stable global id for the Named Graph. -Elias Elias Torres/Somers/IBM@IBMUS wrote on 03/13/2007 12:14:42 AM: > Hi Everyone, > > I have attached and pasted here a draft of the OWL ontology needed for the > manifest file. I think it captures everything from the current draft. > > TODO: > > - change NS URL to a proper one > - review whether category is the right property name for classification > - we are missing Named Graph URI > > <rdf:RDF xmlns="http://www.w3.org/2000/01/rdf-schema#" > xmlns:dc="http://purl.org/dc/elements/1.1/" > xmlns:owl="http://www.w3.org/2002/07/owl#" > xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" > xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"> > > <owl:Ontology > rdf:about="http://opendocument.xml.org/2007/03/meta-manifest/ns/"> > <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Thing"/> > <dc:title xml:lang="en">Open Document Format Metadata Manifest > Ontology</dc:title> > </owl:Ontology> > > <owl:Class > rdf:about="http://opendocument.xml.org/2007/03/meta-manifest/ns/#Manifest"> > <label>Manifest Class</label> > </owl:Class> > > <owl:Class > rdf:about="http://opendocument.xml.org/2007/03/meta-manifest/ns/#ManifestEntry > "> > <label>Manifest Entry Class</label> > </owl:Class> > > <owl:ObjectProperty > rdf:about="http://opendocument.xml.org/2007/03/meta-manifest/ns/#entry"> > <label xml:lang="en">entry</label> > <subPropertyOf > rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#object"/> > <domain > rdf:resource="http://opendocument.xml.org/2007/03/meta-manifest/ns/#Manifest > "/> > <range > rdf:resource="http://opendocument.xml.org/2007/03/meta- > manifest/ns/#ManifestEntry"/> > </owl:ObjectProperty> > > <owl:DatatypeProperty > rdf:about="http://opendocument.xml.org/2007/03/meta-manifest/ns/#full-path"> > <rdf:type > rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty"/> > <comment xml:lang="en">the relative path to the metadata file > within the package.</comment> > <domain > rdf:resource="http://opendocument.xml.org/2007/03/meta- > manifest/ns/#ManifestEntry"/> > <range > rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/> > <label>file path</label> > </owl:DatatypeProperty> > > <owl:DatatypeProperty > rdf:about="http://opendocument.xml.org/2007/03/meta-manifest/ns/#category"> > <rdf:type > rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty"/> > <comment xml:lang="en">a URI used to classify the metadata file to > RDF applications.</comment> > <domain > rdf:resource="http://opendocument.xml.org/2007/03/meta- > manifest/ns/#ManifestEntry"/> > <range rdf:resource="http://www.w3.org/2001/XMLSchema#anyURI"/> > <label>category</label> > </owl:DatatypeProperty> > > </rdf:RDF> > > > (See attached file: meta-manifest.owl) > > -Elias > > Elias Torres/Somers/IBM@IBMUS wrote on 03/09/2007 01:05:17 PM: > > > > > I'm supposed to provide some of these, sorry for the delay. > > > > -Elias > > > > Svante.Schubert@Sun.COM wrote on 03/09/2007 10:29:39 AM: > > > > > Before I can continue to edit our proposal, I am in need of the > > > examples, that were announced on our last call. > > > Especially examples about the RDF manifest description using OWL, > > > instead using RelaxNG, to enable more flexibility for the future would > > > be helpful to change the current proposal. > > > But as well the promised examples about identification and versioning > > > are required to bring our discussion further. > > > > > > A nice week-end to all of you, > > > Svante. > >[attachment "meta-manifest.owl" deleted by Elias Torres/Somers/IBM]
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]