Ontology Implementation

From Media Annotations Working Group Wiki
Jump to: navigation, search

This is the discussion page for the implementation of the MAWG Ontolgy for Media Resource.

Collection of classes

  1. MediaResource
  2. Creator
  3. Contributor
  4. Publisher
  5. Location
  6. Collection/Group
  7. MediaFragment
  8. Concepts
  9. (+Person, Organisation)

Properties

If we use the MAWG as properties in the ontology they would have the following types (datatype property (DP), object property (OP))

DP ma:identifier

DP ma:title

DP ma:language

DP ma:locator

OP ma:contributor

OP ma:creator

DP ma:createDate

OP ma:location

DP ma:description

DP ma:keyword

OP ma:genre

OP ma:rating

OP ma:relation

OP ma:collection

DP ma:copyright

DP ma:policy

OP ma:publisher

OP ma:targetAudience

OP ma:fragments

OP ma:namedFragments

DP ma:frameSize

DP ma:compression

DP ma:duration

DP ma:format

DP ma:samplingrate

DP ma:framerate

DP ma:bitrate

DP ma:numTracks

The group agreed, that we should *not* use the MAWG property terms as the names for properties; some will be classes, some properties

EBU proposal for classes

1. Resource/Content/Programme

2. Creator

3. Contributor

4. Publisher

5. Location

6. Collection/Group

7. Fragment/Part/Segment

8. Concepts? has to be a class to use SKOS concepts for e.g. genre

Relations are object properties.

'type' in title or date should be sub data properties

In EBUCOre RDF 'rating' will be a sub data property of description (as derived from a type of description)

Proposals for classes to (re)use

1. foaf:agent / foaf:person / foaf:organisation (from http://xmlns.com/foaf/0.1/)

2. dm:DigitalMedia / dm:Video / dm:Segment / dm:ImagePart / others (from http://www.mindswap.org/2005/owl/digital-media)

3. geo:SpatialThing / geo:Point (from http://www.w3.org/2003/01/geo/wgs84_pos)

4. Other possibilites: to adapt some classes from FRBR (http://vocab.org/frbr/core.html) or VRA Core (http://simile.mit.edu/2003/10/ontologies/vraCore3)

5. SALERO Media Relationship ontology (to provide subproperties for ma:relation)

6. MPEG-7 Ontology (http://metadata.net/mpeg7/): Creator, Organisation, Person, PersonGroup, MultimediaContent, etc..

First implementation

OWL version: http://www.salzburgresearch.at/~tbuerger/ma-ont.owl

RDFS version: http://www.salzburgresearch.at/~tbuerger/ma-ont.rdfs

OWL version from Jean-Pierre: http://www.ebu.ch/metadata/ontologies/W3C_MAWG/ma-ont-rev.rdfs.xml

Related action and email conversation: http://www.w3.org/2008/WebVideo/Annotations/track/actions/249

Ma-ont sketch.png

Instantiation

(using the OWL version from Jean-Pierre)

 <ma-ont:MediaResource rdf:ID="MediaResource-0">
   <ma-ont:identifier rdf:datatype="/2001/XMLSchema#anyURI">http://www.example.org/2010/06/mwagsamples#dummyresource</ma-ont:identifier>
   <ma-ont:hasNamedFragment rdf:resource="#NamedFragment_1"/>
   <ma-ont:description rdf:datatype="/2001/XMLSchema#string"
   >This is a dummy resource</ma-ont:description>
   <ma-ont:createDate rdf:datatype="/2001/XMLSchema#date">2010-06-24+01:00</ma-ont:createDate>
   <ma-ont:keyword rdf:datatype="/2001/XMLSchema#string">Keyword1</ma-ont:keyword>
   <ma-ont:targetAudience rdf:resource="#Adults"/>
   <ma-ont:hasVideoTrack rdf:resource="#VideoTrack_1"/>
   <ma-ont:samplingRate rdf:datatype="/2001/XMLSchema#float"
   >22</ma-ont:samplingRate>
   <ma-ont:format rdf:resource="#FormatConcept1"/>
   <ma-ont:isMemberOf rdf:resource="#Collection-0"/>
   <ma-ont:genre rdf:resource="#Action"/>
   <ma-ont:hasFragment rdf:resource="#MediaFragment-0"/>
   <ma-ont:copyright rdf:datatype="/2001/XMLSchema#string">Copyright String</ma-ont:copyright>
   <ma-ont:hasContributor rdf:resource="#Creator-0"/>
   <ma-ont:language rdf:resource="#LanguageConcept_1"/>
   <ma-ont:hasCreator rdf:resource="#Creator-0"/>
   <ma-ont:hasPublisher rdf:resource="#Person_1"/>
   <ma-ont:rating rdf:resource="#GOOD"/>
   <ma-ont:hasAudioTrack rdf:resource="#AudioTrack-0"/>
   <ma-ont:compression rdf:resource="#Compression1"/>
 </ma-ont:MediaResource>