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

AW: XSLT-Stylesheet for conversion XMP > MAWG

From: Höffernig, Martin <Martin.Hoeffernig@joanneum.at>
Date: Mon, 12 Sep 2011 12:10:25 +0200
To: "tmichel@w3.org" <tmichel@w3.org>, Felix Sasaki <felix.sasaki@dfki.de>, "public-media-annotation@w3.org" <public-media-annotation@w3.org>
Message-ID: <CD9846F872C7874BB4E0FDF2A61EF09FCA36ADCABC@RZJC1EX.jr1.local>
Dear Felix, Thierry, all

I have finished the recheck of the latest XMP example.
This example has passed the consistency check using Protege and Pellet.

However, I have some remarks which should be discussed.

The value of ma:hasLanguage is a rescource containing three different labels:
<ma:hasLanguage rdf:parseType="Resource">
         <rdfs:label>en</rdfs:label>
         <rdfs:label>de-DE</rdfs:label>
         <rdfs:label>de-DE-bayrisch</rdfs:label>
</ma:hasLanguage>

Since no cardinality restrictions has been defined in the MA ontology, using multiple labels for the same resoure would be possible.
However, the question is if the above usage of mulitpe labels is correct in the MA ontology context?

I would suggest to avoid the mulitple labels for the same resource and describe multiple labels in the following way:
<ma:hasLanguage rdf:parseType="Resource">
         <rdfs:label>en</rdfs:label>
</ma:hasLanguage>
<ma:hasLanguage rdf:parseType="Resource">
         <rdfs:label>de-DE</rdfs:label>
</ma:hasLanguage>
<ma:hasLanguage rdf:parseType="Resource">
         <rdfs:label>de-DE-bayrisch</rdfs:label>
</ma:hasLanguage>

Another resource (value of ma:hasPolicy) contains multiple labels modelled in the same as above.

Furthermore, the media resource contains two different creation dates. 
>From my side of view there can be only one creation date.

Best,
Martin    

  
> -----Ursprüngliche Nachricht-----
> Von: Thierry MICHEL [mailto:tmichel@w3.org]
> Gesendet: Donnerstag, 08. September 2011 20:03
> An: Felix Sasaki; Höffernig, Martin
> Cc: public-media-annotation@w3.org; Frank Biederich
> Betreff: Re: XSLT-Stylesheet for conversion XMP > MAWG
> 
> 
> Felix, Martin,
> 
> 
> I have added your 2 files (XML and RDF) into the testsuite.
> (replace the former one.
> Note that in the RDF I have added a comment as mentuionned in the
> guidelines.
> 
> I have also added your Stylesheet for conversion of XMP (canonical
> form)
> to instance of "Ontology for Media Resources 1.0" in the list of
> Implementations/demonstrators
> 
> see
> 
> http://www.w3.org/2008/WebVideo/Annotations/drafts/ontology10/testsuite
> .html
> 
> 
> The last bit is that I have removed the former TTL file for XMP. Maybe
> you would like to provide a new one?
> 
> Martin could you check the RDF file for XMP ?
> 
> Thanks a lot for your input.
> 
> Bets,
> 
> thierry
> 
> Le 08/09/2011 12:25, Felix Sasaki a écrit :
> > Thierry, all,
> >
> > I have made a slight update of the XMP examples. Attached ZIP file
> contains
> > a new input file MAWG_test_canonical.xml, and an output
> > file MAWG_test_canonical_mapped-to-rdf-by-xslt.xmp
> > can you replace input and output in the CR table for the ontology
> document
> > accordingly?
> >
> > The ZIP file also contains an XSLT stylesheet that I used for the
> generation
> > of the output file. Input needs to be XMP *in canonical form* (a
> certain
> > kind of XMP serialization). From my understanding an XMP processor
> needs to
> > be capable to produce that form. See the stylesheet also at
> > http://fabday.fh-potsdam.de/~sasaki/mawg/xmp/xslt/xml-canonical-to-
> mawg.xsl
> > Can you add the stylesheet (or maybe rather the link to it) to the
> mapping
> > tool list of implementations / demonstrators for the ontology? Many
> thanks
> > in advance.
> >
> >   I have put Frank Biederich from Adobe into the loop so that he is
> aware of
> > this.
> >
> > Regards,
> >
> > Felix
> >
Received on Monday, 12 September 2011 10:10:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 12 September 2011 10:10:54 GMT