WebSchemas/EBUGenreEnumeration
Notes from Jean-Pierre Evain (EBU) and Dan Brickley.
We are taking a basic schema.org description in microdata and using EBU vocabulary as an 'external enumeration'.
Example is to take genre, "Football (Soccer)" from http://www.ebu.ch/metadata/cs/web/ebu_ContentGenreCS_Mapping_p.xml.html
We will use a video from BBCWorldwide from YouTube: http://www.youtube.com/watch?v=oB-q_v_gGvY
First we take the existing embedded basic microdata, cleaned up a bit.
<div id="watch-container" itemscope itemtype="http://schema.org/VideoObject">
<link itemprop="url" href="http://www.youtube.com/watch?v=oB-q_v_gGvY">
<meta itemprop="name" content="Diego Maradona discusses 'Hand of God' World Cup goal - BBC">
<meta itemprop="description"
content="Hear the events of the famous allowed hand goal from Maradona's perspective. Was it deliberate, or was it just a lucky touch?">
<meta itemprop="duration" content="PT1M5S">
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
<link itemprop="url" href="http://www.youtube.com/user/BBCWorldwide">
</span>
<link itemprop="thumbnailUrl" href="http://i4.ytimg.com/vi/oB-q_v_gGvY/hqdefault.jpg">
<span itemprop="thumbnail" itemscope itemtype="http://schema.org/ImageObject">
<link itemprop="url" href="http://i4.ytimg.com/vi/oB-q_v_gGvY/mqdefault.jpg">
<meta itemprop="width" content="320">
<meta itemprop="height" content="180">
</span>
<link itemprop="embedURL" href="http://www.youtube.com/v/oB-q_v_gGvY?version=3&autohide=1">
<meta itemprop="playerType" content="Flash">
<meta itemprop="width" content="480">
<meta itemprop="height" content="360">
</div>
All YouTube videos already have this. What might we improve? For XML people, we might close the meta element, but forget that for now.
We can add a link to http://www.ebu.ch/metadata/cs/web/ebu_ContentGenreCS_Mapping_p.xml.html#3.2.3.12 which expressed the idea of the EBU genre code, '3.2.3.12' (Soccer). Note: a future version of the EBU page might better support these IDs (name= etc), and could include embedded RDF/SKOS. Meanwhile, there is a separate SKOS RDF/XML version of the data, see http://www.ebu.ch/metadata/ontologies/skos/ebu_ContentGenreCS.rdf
Here we have closed the meta tags, and added a final genre. Note that the link is human-invisible; however as we are pointing to a human-readable page, it could've used a/href instead.
<div id="watch-container" itemscope itemtype="http://schema.org/VideoObject">
<link itemprop="url" href="http://www.youtube.com/watch?v=oB-q_v_gGvY">
<meta itemprop="name" content="Diego Maradona discusses 'Hand of God' World Cup goal - BBC" />
<meta itemprop="description"
content="Hear the events of the famous allowed hand goal from Maradona's perspective. Was it deliberate, or was it just a lucky touch?" />
<meta itemprop="duration" content="PT1M5S" />
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
<link itemprop="url" href="http://www.youtube.com/user/BBCWorldwide">
</span>
<link itemprop="thumbnailUrl" href="http://i4.ytimg.com/vi/oB-q_v_gGvY/hqdefault.jpg">
<span itemprop="thumbnail" itemscope itemtype="http://schema.org/ImageObject">
<link itemprop="url" href="http://i4.ytimg.com/vi/oB-q_v_gGvY/mqdefault.jpg">
<meta itemprop="width" content="320" />
<meta itemprop="height" content="180" />
</span>
<link itemprop="embedURL" href="http://www.youtube.com/v/oB-q_v_gGvY?version=3&autohide=1">
<meta itemprop="playerType" content="Flash" />
<meta itemprop="width" content="480" />
<meta itemprop="height" content="360" />
<meta itemprop="genre" href="http://www.ebu.ch/metadata/cs/web/ebu_ContentGenreCS_Mapping_p.xml.html#3.2.3.12"/>
</div>
The EBU site has a variety of other schemes, for example there is a collection of parental guidance codes. These could be represented also as 'genre' values (for example TV Anytime does this).