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

Re: datatypes without xsd namespace information in ma-ont.rdf

From: Thierry MICHEL <tmichel@w3.org>
Date: Fri, 25 Nov 2011 14:02:05 +0100
Message-ID: <4ECF91CD.6090406@w3.org>
To: "Evain, Jean-Pierre" <evain@ebu.ch>
CC: "'Höffernig, Martin'" <Martin.Hoeffernig@joanneum.at>, "public-media-annotation@w3.org" <public-media-annotation@w3.org>, Pierre-Antoine Champin <pierre-antoine.champin@liris.cnrs.fr>
I have published the RDF in the spec at
http://www.w3.org/TR/2011/PR-mediaont-10-20111129/#ont-owl

and at
http://www.w3.org/ns/ma-ont.rdf


Please check and let me know if it is OK.

If you have the time it would be great to check the Turtle version
http://www.w3.org/TR/2011/PR-mediaont-10-20111129/#ont-ttl

I think it was Pierre Antoine who gave me these two versions (RDF + TURTLE)
This was following an issue about having &lt; &gt; entities in the file, 
making it inconvenient for copy and paste from the spec

Pierre Antoine can you check these before publication ?

Thierry



Le 25/11/2011 13:07, Evain, Jean-Pierre a écrit :
> Timely indeed...
>
> I just re-validated it on http://www.w3.org/RDF/Validator/ :-)
>
> It's rev 34 like identified in the specification.  By the way, I tried to validate what is currently in the PR and it doesn't pass the test.
>
> I don't know what happened when.
>
> Apparently the Turtle version is fine but I haven't cross-checked it.
>
> Best regards,
>
> Jean-Pierre
>
> -----Original Message-----
> From: Thierry MICHEL [mailto:tmichel@w3.org]
> Sent: vendredi, 25. novembre 2011 12:56
> To: Evain, Jean-Pierre
> Cc: "'Höffernig, Martin'"; public-media-annotation@w3.org
> Subject: Re: datatypes without xsd namespace information in ma-ont.rdf
>
> Jean Pierre could you send me your latest file ?
>
> and I will update the spec before publication.
>
> Thierry
>
> Le 25/11/2011 11:50, Evain, Jean-Pierre a écrit :
>> It is true for all xml datatypes and the error is in the rdf in the body of the specification.
>>
>> Jean-Pierre
>>
>> -----Original Message-----
>> From: Evain, Jean-Pierre [mailto:evain@ebu.ch]
>> Sent: vendredi, 25. novembre 2011 11:47
>> To: 'Höffernig, Martin'; tmichel@w3.org; public-media-annotation@w3.org
>> Subject: RE: datatypes without xsd namespace information in ma-ont.rdf
>>
>> I am looking at the latest version I have kept where datatypes were expressed as follows
>>
>>       <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#decimal"/>
>>
>> With the namespace defined as
>>
>>       xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
>>
>> which looks fine to me. I don't know what went wrong and when but you are right the declaration should be there.
>>
>> Jean-Pierre
>>
>>
>>
>> -----Original Message-----
>> From: Höffernig, Martin [mailto:Martin.Hoeffernig@joanneum.at]
>> Sent: vendredi, 25. novembre 2011 09:21
>> To: tmichel@w3.org; public-media-annotation@w3.org
>> Subject: AW: datatypes without xsd namespace information in ma-ont.rdf
>>
>> Hi Thierry, all,
>>
>> since I have no permission to access the w3 cvs repository, I can't retrieve previous versions of the RDF/XML version of the MA ontology.
>> However, I explain in more detail what is missing in the current version.
>>
>> current version (Turtle serialization)
>> :frameRate     a owl:DatatypeProperty;
>>     rdfs:comment "Corresponds to 'frameRate' in the Ontology for Media Resources, in frame per second.";
>>     rdfs:domain :MediaResource;
>>     rdfs:range xsd:decimal .
>>
>> current version (RDF/XML serialization)
>> <owl:DatatypeProperty rdf:about="#frameRate">
>> 	<rdfs:comment>Corresponds to 'frameRate' in the Ontology for Media Resources, in frame per second.</rdfs:comment>
>>     <rdfs:domain rdf:resource="#MediaResource"/>
>>     <rdfs:range rdf:resource="decimal"/>
>> </owl:DatatypeProperty>
>>
>> Above, there are the definitions of ma:frameRate expressed by RDF/XML and Turtle. In RDF/XML version, no namespace information for the range datatype (decimal) is attached explicitly, whereas in the Turtle version, the XSD namespace is attached correctly.
>> In a previous version RDF/XML version (the one I used to validate the example files at the F4F meeting in Graz last September), the missing XSD namespace information was present:
>> previous version (RDF/XML serialization)
>> <owl:DatatypeProperty rdf:about="#frameRate">
>> 	<rdfs:comment>Corresponds to 'frameRate' in the Ontology for Media Resources, in frame per second.</rdfs:comment>
>>     <rdfs:domain rdf:resource="#MediaResource"/>
>>     <rdfs:range rdf:resource="&xsd;decimal"/>
>> </owl:DatatypeProperty>
>>
>> This missing XSD namespace issue applies to all XSD-related datatypes (decimal, date, integer, ...) in the current RDF/XML version of the MA ontology.
>> Again, since I haven't read/write access to the current MA versions, someone else should address this issue.
>>
>> Best,
>> Martin
>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: Thierry MICHEL [mailto:tmichel@w3.org]
>>> Gesendet: Dienstag, 22. November 2011 15:29
>>> An: Höffernig, Martin
>>> Cc: public-media-annotation@w3.org
>>> Betreff: Re: datatypes without xsd namespace information in ma-ont.rdf
>>>
>>> Hi martin,
>>>
>>> You may want to see the diffs using cvslog
>>> https://cvs.w3.org/Team/WWW/ns/ma-ont.rdf
>>>
>>> There you can "select for diffs" from one previous version to the
>>> latest.
>>>
>>> let me know what is missing, that was in a orevious version.
>>>
>>> thierry
>>>
>>> Le 22/11/2011 12:18, Höffernig, Martin a écrit :
>>>> Dear Thierry, all,
>>>>
>>>> I just found out that in the current RDF/XML serialization of the ma
>>> ontology [1] the xsd namespace information for all xsd datatypes is
>>> missing. These xsd datatypes are used to designate the range for
>>> several  ma properties.
>>>> However, in the Turtle version [2], the xsd namespace is attached to
>>> the related xsd datatypes correctly.
>>>>
>>>> Can anyone confirm my observation?
>>>> I'm quite sure that the missing xsd information was present in former
>>> versions.
>>>>
>>>> Best,
>>>> Martin
>>>>
>>>> [1]: http://www.w3.org/ns/ma-ont.rdf
>>>> [2]: http://www.w3.org/ns/ma-ont.ttl
>>>>
>>>> --
>>>> Martin Höffernig
>>>> Audiovisual Media Group
>>>> DIGITAL - Institute for Information and Communication Technologies
>>>>
>>>> JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, 8010
>>>> Graz, AUSTRIA
>>>>
>>>> phone:  +43-316-876-1184
>>>> general fax: +43-316-876-1191
>>>> web:    http://www.joanneum.at/digital
>>>> e-mail:
>>>> martin.hoeffernig@joanneum.at<mailto:martin.hoeffernig@joanneum.at>
>>>>
>>>>
>>
>> -----------------------------------------
>> **************************************************
>> This email and any files transmitted with it
>> are confidential and intended solely for the
>> use of the individual or entity to whom they
>> are addressed.
>> If you have received this email in error,
>> please notify the system manager.
>> This footnote also confirms that this email
>> message has been swept by the mailgateway
>> **************************************************
>>
>>
Received on Friday, 25 November 2011 13:02:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 25 November 2011 13:02:34 GMT