- From: Manu Sporny <msporny@digitalbazaar.com>
- Date: Wed, 09 Jul 2008 23:02:46 -0400
- To: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>
Hi all, I'm working on getting a first draft of the Audio RDF vocabulary completed. It is purely an adaptation of the work that's been happening over the last two years in the Microformats community as well as the other communities with which we are involved. Here's the persistent URL: http://purl.org/media/audio There is RDFa embedded in the document listed above, the triples are attached in TURTLE notation. The original cut of hAudio RDFa required the page author to include the following namespaces to mark up 80% of the songs and albums we analyzed: xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:media="http://purl.org/media" xmlns:audio="http://purl.org/media/audio" xmlns:commerce="http://some-future-url.org/commerce" That's too many namespaces for something that is supposed to be simple to use. Ideally, to help the page author, it would be nice if they only had to include one vocabulary for 80% of the markup use cases we've collected (after analyzing over 120 unique music websites). Here's the XHTML that we'd like to write: <div about="start-wearing-purple" xmlns:audio="http://purl.org/media/audio" typeof="audio:Recording"> <span property="audio:title">Start Wearing Purple</span> by <span property="audio:creator">Gogol Bordello</span> </div> The questions are: Is adding synonyms into your vocabulary a valid best practice? For example, is having audio:title specified as owl:sameAs dc:title acceptable? If it is acceptable, is there a certain way it should be marked up? Should owl:sameAs be used, or something else? Any other comments or criticisms on the document as it evolves would be great. What follows are the RDF triples that are generated by the document when passed through librdfa: --------------------------------------------------------------------------- @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix dc: <http://purl.org/dc/elements/1.1/> . @prefix vs: <http://www.w3.org/2003/06/sw-vocab-status/ns#> . <http://purl.org/media/audio> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Ontology> . <http://purl.org/media/audio> <http://purl.org/dc/elements/1.1/title> "The Audio Vocabulary" . <http://purl.org/media/audio> <http://purl.org/dc/elements/1.1/description> "The easiest way to use the Audio RDF Vocabulary is to embed semantic audio metadata in your web pages using RDFa. For examples on how to do this, please visit the <a href="http://rdfa.info/wiki">Audio RDF Vocabulary section on the RDFa wiki</a>."^^rdf:XMLLiteral . <http://purl.org/media/audio#Recording> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . <http://purl.org/media/audio#Recording> <http://www.w3.org/2000/01/rdf-schema#label> "Recording" . <http://purl.org/media/audio#Recording> <http://www.w3.org/2000/01/rdf-schema#comment> "A recording of acoustic signals." . <http://purl.org/media/audio#Album> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . <http://purl.org/media/audio#Album> <http://www.w3.org/2000/01/rdf-schema#label> "Album" . <http://purl.org/media/audio#Album> <http://www.w3.org/2000/01/rdf-schema#comment> "A collection of one or more audio recordings." . <http://purl.org/media/audio#title> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> . <http://purl.org/media/audio#title> <http://purl.org/dc/elements/1.1/title> "title" . <http://purl.org/media/audio#title> <http://www.w3.org/2003/06/sw-vocab-status/ns#term_status> "stable" . <http://purl.org/media/audio#title> <http://www.w3.org/2000/01/rdf-schema#comment> "title of the audio recording" . <http://purl.org/media/audio#title> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2001/XMLSchema#string> . <http://purl.org/media/audio#title> <http://www.w3.org/2002/07/owl#sameAs> <http://purl.org/dc/elements/1.1/title> . <http://purl.org/media/audio#title> <http://www.w3.org/2002/07/owl#sameAs> <http://purl.org/media#title> . <http://purl.org/media/audio#creator> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> . <http://purl.org/media/audio#creator> <http://purl.org/dc/elements/1.1/title> "creator" . <http://purl.org/media/audio#creator> <http://www.w3.org/2003/06/sw-vocab-status/ns#term_status> "stable" . <http://purl.org/media/audio#creator> <http://www.w3.org/2000/01/rdf-schema#comment> "The primary creator or performer of the audio recording." . <http://purl.org/media/audio#creator> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2001/XMLSchema#string> . <http://purl.org/media/audio#creator> <http://www.w3.org/2000/01/rdf-schema#range> <http://xmlns.com/foaf/0.1/Agent> . <http://purl.org/media/audio#creator> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2001/vcard-rdf/3.0> . <http://purl.org/media/audio#creator> <http://www.w3.org/2002/07/owl#sameAs> <http://purl.org/dc/elements/1.1/creator> . <http://purl.org/media/audio#creator> <http://www.w3.org/2002/07/owl#sameAs> <http://purl.org/media#creator> . <http://purl.org/media/audio#contributor> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> . <http://purl.org/media/audio#contributor> <http://purl.org/dc/elements/1.1/title> "contributor" . <http://purl.org/media/audio#contributor> <http://www.w3.org/2003/06/sw-vocab-status/ns#term_status> "stable" . <http://purl.org/media/audio#contributor> <http://www.w3.org/2000/01/rdf-schema#comment> "An entity that performed a contribution to the creation of the audio recording." . <http://purl.org/media/audio#contributor> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2001/XMLSchema#string> . <http://purl.org/media/audio#contributor> <http://www.w3.org/2000/01/rdf-schema#range> <http://xmlns.com/foaf/0.1/Agent> . <http://purl.org/media/audio#contributor> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2001/vcard-rdf/3.0> . <http://purl.org/media/audio#contributor> <http://www.w3.org/2002/07/owl#sameAs> <http://purl.org/dc/elements/1.1/contributor> . <http://purl.org/media/audio#contributor> <http://www.w3.org/2002/07/owl#sameAs> <http://purl.org/media#contributor> . --------------------------------------------------------------------------- -- manu -- Manu Sporny President/CEO - Digital Bazaar, Inc. blog: Bitmunk 3.0 Website Launches http://blog.digitalbazaar.com/2008/07/03/bitmunk-3-website-launches
Received on Thursday, 10 July 2008 03:03:27 UTC