- From: Tobias Bürger <tobias@tobiasbuerger.com>
- Date: Mon, 29 Nov 2010 12:43:56 +0100
- To: public-media-annotation@w3.org
- Message-ID: <AANLkTi=T60KtcVOziGB3zs0ZY6=vRC7HU616tXBi+e4E@mail.gmail.com>
Dear all, here is an example for an RDF file generated from a YouTube sample [1] in RDF/XML-ABBREV (based on rev25 of our ontology, see also Turtle version below): [@Jean-Pierre, Pierre-Antoine: Please raise your hands if you spot any error. Thanks!] <MediaResource rdf:ID="YouTubeOasisSuperSonic"> <title rdf:datatype="http://www.w3.org/2001/XMLSchema#string" >Supersonic</title> <hasGenre rdf:resource="http://gdata.youtube.com/schemas/2007#video"/> <hasKeyword> <rdfs:Resource> <rdfs:label>Manchester</rdfs:label> </rdfs:Resource> </hasKeyword> <hasKeyword> <rdfs:Resource> <rdfs:label>Supersonic</rdfs:label> </rdfs:Resource> </hasKeyword> <hasTrack> <VideoTrack rdf:ID="VideoTrack_1"> <hasCompression> <rdfs:Resource> <rdfs:label rdf:datatype=" http://www.w3.org/2001/XMLSchema#string" >application/x-shockwave-flash</rdfs:label> </rdfs:Resource> </hasCompression> </VideoTrack> </hasTrack> <hasRating> <Rating rdf:ID="Rating_1"> <isProvidedBy> <Agent> <rdfs:comment rdf:datatype=" http://www.w3.org/2001/XMLSchema#string" >Is provided by 7560 raters.</rdfs:comment> </Agent> </isProvidedBy> <ratingValue rdf:datatype="http://www.w3.org/2001/XMLSchema#float" >4.8850527</ratingValue> <ratingScaleMax rdf:datatype="http://www.w3.org/2001/XMLSchema#float " >5</ratingScaleMax> <ratingScaleMin rdf:datatype="http://www.w3.org/2001/XMLSchema#float " >1</ratingScaleMin> <hasRatingSchema rdf:resource=" http://schemas.google.com/g/2005#overall"/> </Rating> </hasRating> <locator rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI" >http://www.youtube.com/v/p29MG7wn4F8</locator> <hasKeyword> <rdfs:Resource> <rdfs:label>Oasisinet</rdfs:label> </rdfs:Resource> </hasKeyword> <duration rdf:datatype="http://www.w3.org/2001/XMLSchema#double" >271</duration> <description rdf:datatype="http://www.w3.org/2001/XMLSchema#string" >Music video for 'Supersonic' single Directed by Mark Szaszy BUY THE SONG: iTunes:phobos.apple.com 7 Digital: www.7digital.com</description> <hasKeyword> <rdfs:Resource> <rdfs:label>Maybe</rdfs:label> </rdfs:Resource> </hasKeyword> <hasKeyword> <rdfs:Resource> <rdfs:label>Liam</rdfs:label> </rdfs:Resource> </hasKeyword> <hasKeyword> <rdfs:Resource> <rdfs:label>Brother</rdfs:label> </rdfs:Resource> </hasKeyword> <hasKeyword> <rdfs:Resource> <rdfs:label>Noel</rdfs:label> </rdfs:Resource> </hasKeyword> <hasKeyword> <rdfs:Resource> <rdfs:label>Definitely</rdfs:label> </rdfs:Resource> </hasKeyword> <hasKeyword> <rdfs:Resource> <rdfs:label>Oasis</rdfs:label> </rdfs:Resource> </hasKeyword> <format rdf:datatype="http://www.w3.org/2001/XMLSchema#string" >video</format> <hasKeyword> <rdfs:Resource> <rdfs:label>Creation</rdfs:label> </rdfs:Resource> </hasKeyword> <owl:sameAs rdf:resource="http://www.youtube.com/v/p29MG7wn4F8"/> <hasKeyword> <rdfs:Resource> <rdfs:label>Gallagher</rdfs:label> </rdfs:Resource> </hasKeyword> <hasGenre> <rdfs:Resource> <rdfs:label>Music</rdfs:label> </rdfs:Resource> </hasGenre> <hasKeyword> <rdfs:Resource> <rdfs:label>Big</rdfs:label> </rdfs:Resource> </hasKeyword> <hasPublisher> <Person rdf:ID="Publisher_1"> <rdfs:label>oasisinetofficial</rdfs:label> </Person> </hasPublisher> <hasKeyword> <rdfs:Resource> <rdfs:label>Def</rdfs:label> </rdfs:Resource> </hasKeyword> </MediaResource> ....and in Turtle: :YouTubeOasisSuperSonic a :MediaResource ; = <http://www.youtube.com/v/p29MG7wn4F8> ; :description "Music video for 'Supersonic' single Directed by Mark Szaszy BUY THE SONG: iTunes:phobos.apple.com 7 Digital: www.7digital.com"^^xsd:string ; :duration "271"^^xsd:double ; :format "video"^^xsd:string ; :hasGenre <http://gdata.youtube.com/schemas/2007#video> ; :hasGenre [ a rdfs:Resource ; rdfs:label "Music" ] ; :hasKeyword [ a rdfs:Resource ; rdfs:label "Maybe" ] ; :hasKeyword [ a rdfs:Resource ; rdfs:label "Def" ] ; :hasKeyword [ a rdfs:Resource ; rdfs:label "Oasisinet" ] ; :hasKeyword [ a rdfs:Resource ; rdfs:label "Brother" ] ; :hasKeyword [ a rdfs:Resource ; rdfs:label "Supersonic" ] ; :hasKeyword [ a rdfs:Resource ; rdfs:label "Liam" ] ; :hasKeyword [ a rdfs:Resource ; rdfs:label "Noel" ] ; :hasKeyword [ a rdfs:Resource ; rdfs:label "Definitely" ] ; :hasKeyword [ a rdfs:Resource ; rdfs:label "Creation" ] ; :hasKeyword [ a rdfs:Resource ; rdfs:label "Gallagher" ] ; :hasKeyword [ a rdfs:Resource ; rdfs:label "Manchester" ] ; :hasKeyword [ a rdfs:Resource ; rdfs:label "Big" ] ; :hasKeyword [ a rdfs:Resource ; rdfs:label "Oasis" ] ; :hasPublisher :Publisher_1 ; :hasRating :Rating_1 ; :hasTrack :VideoTrack_1 ; :locator "http://www.youtube.com/v/p29MG7wn4F8"^^xsd:anyURI ; :title "Supersonic"^^xsd:string . :VideoTrack a owl:Class ; rdfs:comment "A specilaisation of Track for Video to provide a link to specific data properties such as frameRate, etc."^^xsd:string ; rdfs:subClassOf :Track . :Rating a owl:Class ; rdfs:comment "All the information about the rating given to a media resource"^^xsd:string ; owl:disjointWith :TargetAudience . :Publisher_1 a :Person ; rdfs:label "oasisinetofficial" . btw: some further metadata could be captured if we use some FOAF properties together with our agents. Best regards, Tobias [1] http://www.youtube.com/watch?v=p29MG7wn4F8 -- ___________________________________ Dr. Tobias Bürger http://www.tobiasbuerger.com
Received on Monday, 29 November 2010 17:53:35 UTC