Re: Yet another RDFa experience

Simone Onofri wrote:
> Dear RDFa folks,
> 
> I'm taking more tests and implementations of RDFa. This is my
> experience on RDFa serialization. I try to make RSS version of RDFa.
> So after a mail with Fabien for it's XSLT and transformation, I'm send
> to all  this case. To be clear this is the Scenario:
> 
> Ingredients:
> 
> [1] - RSS in RDFa
> [2] - Inspiration RDF
> [3] - RDF/XML extraction via XSL (using lastes RDFa XSL by Fabien)
> [4] - RDF/XML extraction via Distiller (rdfa.php is a temporary proxy
> to Ivan's RDFa Distiller)
> [5] - Triples of [2]
> [6] - Triples of [3]
> [7] - Triples of [4]
> [8] - RSS validation of [3]
> [9] - RSS validation of [4]
> 
> Cooking:
> 
> The question is: if the triples are similar, the RDF serialization changes
> more and the RSS [3] doesn't validate [8] (not found rss:channel) and
> RSS [4] yes [9]. RSS validator expects rss:channel with fixed
> serialization but, as Fabien said, this is not possible with a generic
> stylesheet for extraction of RDFa. So, more feed readers accpets and
> reads [4] but not [3].
> 
> In a true philosophical  RDFa and GRDDL way, what is better? A
> dedicated stylesheet? Another transformation after Fabien's XSLT? A
> third way?
> 
> Cheers,
> 
> Simone
>

If I understand the problem properly, there is very little that can be
done here from our point of view. Indeed, afaik, the RSS specification
uses a _restricted_ version of RDF/XML. I think that the fact that my
distiller produces something acceptable by the RSS validators is, though
flattering:-), just a pure coincidence. It is perfectly possible that,
tomorrow, I would upgrade the underlying RDFLib package which would
produce a slightly different RDF/XML serialization (though identical in
the RDF sense) that would not pass an RSS validator any more. Ie, I
think Fabien is right that this is not possible with a generic
extractor/distiller/parser. :-(

Ivan





> [1] http://www.siatec.net/rss.xhtml
> [2] http://www.siatec.net/rss.rdf
> [3] http://www.siatec.net/rdfaparser/?xml=http://www.siatec.net/rss.xhtml
> [4] http://www.siatec.net/rdfa.php?url=http://www.siatec.net/rss.xhtml&format=pretty-xml
> [5] http://www.siatec.net/rdfserializer/?url=http://www.siatec.net/rss.xhtml
> [6] http://www.siatec.net/rdfaserializer/?xml=http://www.siatec.net/rss.xhtml
> [7] http://www.siatec.net/rdfa.php?url=http://www.siatec.net/rss.xhtml
> [8] http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.siatec.net%2Frdfaparser%2F%3Fxml%3Dhttp%253A%2F%2Fwww.siatec.net%2Frss.xhtml
> [9] http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.siatec.net%2Frdfa.php%3Furl%3Dhttp%253A%2F%2Fwww.siatec.net%2Frss.xhtml%26format%3Dpretty-xml
> 

-- 

Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
PGP Key: http://www.ivan-herman.net/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf

Received on Tuesday, 25 September 2007 12:12:43 UTC