W3C home > Mailing lists > Public > public-multilingualweb-lt@w3.org > July 2012

Re: ACTION-147: Write something for option a) of rdf conversion, plus XSLT

From: Maxime Lefrançois <maxime.lefrancois@inria.fr>
Date: Tue, 3 Jul 2012 14:13:30 +0200 (CEST)
To: Felix Sasaki <fsasaki@w3.org>
Cc: public-multilingualweb-lt@w3.org
Message-ID: <1635624502.14011100.1341317610291.JavaMail.root@inria.fr>
Hi Felix, 

Nice RDF output ! 

a few comments: 

- you might want to specify the datatype of 'yes/no' (its:yesOrNo ?), depending on the resolution of ISSUE-30 https://www.w3.org/International/multilingualweb/lt/track/issues/30 

- to limit the length of the document, maybe invert the order of XSLT pattern (for each node, write its ITS properties) 

- about rdf:parseType="Literal" (which identifies literals of type rdf:XMLLiteral, c.f., example and n3 output of section http://www.w3.org/TR/REC-rdf-syntax/#section-Syntax-XML-literals ). There might be a new rdf:parseType value tu use for HTMLLiteral. We shall keep an eye on RDF 1.1, as I understand we will need to specify XMLLiteral OR HTMLLiteral depending on the type of document we transform. 

- For CMS content, it might be useful to define the relative path starting from the element that has a certain id or a certain idValue attribute ? 
e.g., something like http://example.com/exampledoc.html#xpath(//.[@id=X]/...) or http://example.com/exampledoc.html#xpath(//.[@idValue=X]/...) 

- Now that we have a XSLT stylesheet based transformation, we may specify the GRDDL profile and register it. 
A link to this profile SHOULD be added to the output XML file, so that triples may be automatically extracted from it 
see this short introduction to GRDDL: http://www.w3.org/2003/g/data-view 

Kind regards, 
Maxime Lefrançois 


----- Mail original ----- 

> De: "Felix Sasaki" <fsasaki@w3.org>
> À: public-multilingualweb-lt@w3.org
> Envoyé: Samedi 30 Juin 2012 10:49:03
> Objet: ACTION-147: Write something for option a) of rdf conversion,
> plus XSLT

> Hi Maxime, all,

> I worked on this (not finished yet). Given this input

> http://www.w3.org/International/its/tests/inputdata/LocNote1.xml

> I have generated the attached triples. I decided to go for RDF/XML,
> you were right, Maxmime, to propose this.

> Note that the output contain both defaults for all data categories,
> plus what's actually specified as "global rules" for the
> "localization note" data category in
> http://www.w3.org/International/its/tests/inputdata/LocNote1.xml

> Any thoughts, proposals for corrections etc.?

> Best,

> Felix

> --
> Felix Sasaki
> DFKI / W3C Fellow
Received on Tuesday, 3 July 2012 12:14:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:31:47 UTC