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 23:40:19 +0200 (CEST)
To: Felix Sasaki <fsasaki@w3.org>, Fabien Gandon <fabien.gandon@inria.fr>
Cc: public-multilingualweb-lt@w3.org
Message-ID: <104953185.14191382.1341351619179.JavaMail.root@inria.fr>
Hi Felix, Fabien, all, 
@Fabien, except for point n°1, you can ignore the rest of the mail 

> > Maxime wrote:
> > - 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
> Felix wrote:
> I don't know the GRDDL process, I'm afraid - Is it possible to register a cascade of stylesheets? See also http://lists.w3.org/Archives/Public/public-multilingualweb-lt/2012Jul/0007.html
> I am using three stylesheets, and one of them just generates an intermediate one ... that's the price for the general approach.

That's a question I directly forward to Fabien (in at. of this mail), I don't know very well the GRDDL process neither... 

> > - 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
> Can you show me how that would look like, given the attached RDF/XML file?

Depending on the name of the datatype that is chosen for the XSD document, and its location:
<rdf:Description rdf:about ="...">
 <its:translate rdf:datatype="http://www.w3.org/TR/its-2.0/its.xsd#yesOrNo">yes</its:translate>
</rdf:Description> 
same for its:locNoteType and others... ?

> > - 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]/.. .)
> Not sure if I understand - what do you mean by "for CMS content"?

never mind, as the transformation may be applied on any XML document, and the charter considers only content that is generated from XML documents, this is enough


> Another issue is that if the input is not an HTML flavor but general XML, the processor doesn't know about the datatypes of the nodes.

Then if the document is general XML, nodes should be valid XHTML or else the document might be not valid right ?


Another point: shouldn't you define xmlns:its="http://www.w3.org/2005/11/its#" (its:translate resolved as http://www.w3.org/2005/11/its#translate) instead of xmlns:its="http://www.w3.org/2005/11/its" (its:translate resolved as http://www.w3.org/2005/11/itstranslate).

best,
Maxime
Received on Tuesday, 3 July 2012 21:40:47 UTC

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