Re: Question related to generation of normative JSON responses

Hi Florian,
Thanks for observing this. My take is:
1) The RDF file should contain all four attributes: Actors,
Actors_Display, Advisories and Director
2) The "locationName" contain US, not locator property. In the RDF file we
have:
<locator 
rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">The_Titanic.mpg</loc
ator>

I will also have a look at the fragment mappings.

/Joakim

Note: It says in the header that I edited the file manually, that's
incorrect, it was generated by an XSLT file.




>
>Le 18/11/2011 13:26, Florian Stegmaier a écrit :
>> 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_AD
>>I11_theworks.xml
>> [2] 
>>http://www.w3.org/2008/WebVideo/Annotations/drafts/metadata_formats/CL_AD
>>I_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
>>
>> stegmai@dimis.fim.uni-passau.de
>> https://www.dimis.fim.uni-passau.de/iris/
>> http://twitter.com/fstegmai
>> _____________________________
>>
>>

Received on Tuesday, 22 November 2011 16:26:08 UTC