W3C home > Mailing lists > Public > public-media-annotation@w3.org > November 2011

Question related to generation of normative JSON responses

From: Florian Stegmaier <stegmai@dimis.fim.uni-passau.de>
Date: Fri, 18 Nov 2011 13:26:02 +0100
Message-Id: <DFB2FCCC-2CF6-46B7-9D8E-DFF4A986AF58@dimis.fim.uni-passau.de>
To: public-media-annotation@w3.org
Dear all,

I tried to create valid and normative JSON responses for the examples specified for the ontology test suite, but unfortunately it seems to me that there is somehow inconsistency present between examples and mapped file.

I have started with CableLabs, but there are a few things, that are quiet unclear to me. My explanations rely on the CableLabs example file [1] and the corresponding RDF file [2].

There are certain properties, that have multiple entries or multiple properties to perform the mapping on. E.g., Actor has three persons - i have taken all into account as contributor. Beside actors, there are a few more properties listed to be expressed by contributors: Actors_Display, Advisories and Director. In the actual RDF file, only Actors and Directors are present. Advisories and Actors_display make no real sense in this example, but an automatic conversion would generate Contributors with the according values. How should we behave here? From my point of view, we have to define a behavior here (adding all, adding only exact if present, etc.). In the locator property of the RDF, "US" is the value, but actually not specified in the Example.

Also i am not quite sure if the RDF document is complete. I wanted to see how a fragment is expressed, but cannot find any. From my point of view, i wanted to define the following as fragments:

<App_Data App="MOD" Name="Chapter" Value="00:00:02:00,Opening Scene"/>
<App_Data App="MOD" Name="Chapter" Value="00:15:12:00,They Meet"/>
<App_Data App="MOD" Name="Chapter" Value="02:03:06:00,The Collision"/>
<App_Data App="MOD" Name="Chapter" Value="02:55:15:00,She Goes Under"/>
<App_Data App="MOD" Name="Chapter" Value="03:02:09:00,Final Scene"/>

Someone who could help me with that?

[1] http://www.w3.org/2008/WebVideo/Annotations/drafts/metadata_formats/CL_ADI11_theworks.xml
[2] http://www.w3.org/2008/WebVideo/Annotations/drafts/metadata_formats/CL_ADI_1_1-to-w3cMediaOnt.rdf
Dipl. Inf. Florian Stegmaier
Chair of Distributed Information Systems
University of Passau
Innstr. 43
94032 Passau

Room 248 ITZ

Tel.: +49 851 509 3063
Fax: +49 851 509 3062

Received on Friday, 18 November 2011 12:26:39 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:17:44 UTC