W3C home > Mailing lists > Public > public-grddl-wg@w3.org > February 2007

Re: RDFa example with role attibute *IMPORTANT*

From: Fabien Gandon <Fabien.Gandon@sophia.inria.fr>
Date: Sun, 11 Feb 2007 19:56:01 +0100
Message-ID: <45CF66C1.8040807@sophia.inria.fr>
To: Ben Adida <ben@adida.net>, public-grddl-wg <public-grddl-wg@w3.org>

Thanks Ben, I have 2 remarks about the current RDFa2RDFXML


1 - Using the "class" attribute"
------------------------------
The previous example for Jane's schedule does not make use of the 
"class" attribute.
In case you really want it in the primer here is an updated RDFa2RDFXML 
stylesheet ( V0.5) that should handle it:
http://www-sop.inria.fr/acacia/soft/RDFa2RDFXML_v_0_5.xsl

Here is a new version of the Jane use case with class attributes
http://www-sop.inria.fr/acacia/fabien/tmp/grddl/rdfaprimer/janeschedule2.html

And here is the corresponding output:
http://www-sop.inria.fr/acacia/fabien/tmp/grddl/rdfaprimer/janeschedule2.rdf

To be tested,


2 - Handling the "transform predicate"
--------------------------------------
I am still not clear what triple I should generate from the " link 
rel='transformation' ":
For instance from an input file "http://example.org/example.html" 
starting like that:

<html xmlns="http://www.w3.org/1999/xhtml" (...) >
  <head profile="http://www.w3.org/2003/g/data-view">
    <link rel="transformation" 
href="http://www-sop.inria.fr/acacia/soft/RDFa2RDFXML.xsl"/>
  </head>
(...)

Should I generate :
 1 - <http://example.org/example.html> transform 
<http://www-sop.inria.fr/acacia/soft/RDFa2RDFXML.xsl>
 2 - <http://example.org/example.html> grddl:transform 
<http://www-sop.inria.fr/acacia/soft/RDFa2RDFXML.xsl>
       with a grddl namespace to be specified
 3 - <http://example.org/example.html> html:transform 
<http://www-sop.inria.fr/acacia/soft/RDFa2RDFXML.xsl>
 4 - <http://example.org/example.html> rdfa:transform 
<http://www-sop.inria.fr/acacia/soft/RDFa2RDFXML.xsl>
       with a rdfa namespace to be specified
 5 - nothing
 6 - something else.

-- 
Fabien - http://www-sop.inria.fr/acacia/fabien/
Received on Sunday, 11 February 2007 18:57:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:11:47 GMT