Re: Example RDF File (ACTION-355)

Hello Chris,

you are right there would be a lot more information that we could represent
using the ontology from youtube. The intention of this exercise was to use
the YouTube API, retrieve metadata of one video from there, and then
represent it using the ontology. So I represented everything which I got
from there (excluding the comments which you get only with an additional API
call :-)). The only thing I forgot to represent - I just checked my source
file again - are the thumbnails. And looking at the (natural language)
description of the video in the metadata one could also extract information
about the creator of the video itself (but this you only can infer by
reading the description). I will post an extension with this information in
a few minutes.

But I completey agree to what you are saying, that we also should demontrate
what additional information COULD be represented with our ontology (that was
not in my metadata source example) such as information about the album (i.e.
by connecting to MusicBrainz), information about the artist (i.e. by
connecting to MusicBrainz and/or DBPedia), such as references to other items
in the "collection" of the user at YouTube.
Maybe we should provide an extended example showing how we envision the
usage of the ontology in "advanced" scenarios.

Wrt. to other examples: the intention was that we make examples for each
format that we have in the ontology spec, which means for video, audio and
images. And yes, please go ahead with providing an additional example: this
would be more then useful :-)

Best regards,

Tobias

2010/12/3 Chris Poppe <Chris.Poppe@ugent.be>

> Dear all,
>
> First of all, I like the proposal of Tobias. However, I think that much
> more information is available on the YouTube site that COULD (I am not using
> SHOULD) be used:
>
> Width and height
> framerate
> bitrate
> publishDate
> Creator
> CreationDate
> Collection (alle video's van oasisinetofficial) Collection (album)
> Relation to other Youtube Suggestions Relation to song on iTunes (waar de
> song gekocht kan worden)...
> Relation to other songs on the album
> language
> album title "Definitely Maybe"
> comments?
> nrViews?
>
> I am not sure what the specific goals were of the example. As I recall it
> was to create examples for the mapping of the different metadata formats.
> In that case, the mapping of DIG35 (for which I needed to create the
> example) is done since this standard only takes still images into account.
>
> Maybe it would be good to also have examples of our ontology for different
> types of content (image, video, audio)? I could come up with an image
> example (e.g., some image of flickr) if wanted.
>
> Kind regards,
> Chris
>
>
>
> -----Original Message-----
> From: public-media-annotation-request@w3.org [mailto:
> public-media-annotation-request@w3.org] On Behalf Of Pierre-Antoine
> Champin
> Sent: Tuesday, November 30, 2010 9:43 AM
> To: tobias@tobiasbuerger.com
> Cc: public-media-annotation@w3.org
> Subject: Re: Example RDF File (ACTION-355)
>
> Hi Tobias, all,
>
> great example;
> I attach a fixed version of Tobias' RDF examples:
> - added namespaces
> - removed type rdfs:Resource to all "placeholder" resources with a
>   rdfs:label (no added value), and simplified RDF/XML with
>   parseType='resource'
>
> I re-generated the TTL version with cwm.
>
>   pa
>
>
> On 11/29/2010 12:43 PM, Tobias B rger wrote:
> > 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
> > <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
> > <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
> > <http://www.w3.org/2001/XMLSchema#string>"
> >  >Music video for 'Supersonic' single Directed by Mark Szaszy BUY THE
> > SONG: iTunes:phobos.apple.com <http://phobos.apple.com> 7 Digital:
> > www.7digital.com <http://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
> > <http://www..youtube.com/v/p29MG7wn4F8>> ;
> >        :description "Music video for 'Supersonic' single Directed by
> > Mark Szaszy BUY THE SONG: iTunes:phobos.apple.com
> > <http://phobos.apple.com> 7 Digital: www.7digital.com
> > <http://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
>
>
>
>


-- 
___________________________________
Dr. Tobias Bürger
http://www.tobiasbuerger.com

Received on Friday, 3 December 2010 09:12:08 UTC