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

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

From: Evain, Jean-Pierre <evain@ebu.ch>
Date: Fri, 25 Nov 2011 11:50:47 +0100
To: "Evain, Jean-Pierre" <evain@ebu.ch>, 'Höffernig, Martin' <Martin.Hoeffernig@joanneum.at>, "tmichel@w3.org" <tmichel@w3.org>, "public-media-annotation@w3.org" <public-media-annotation@w3.org>
Message-ID: <7D1656F54141C042A1B2556AE5237D6001129E431840@GVAMAIL.gva.ebu.ch>
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 10:51:34 GMT

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