W3C home > Mailing lists > Public > semantic-web@w3.org > January 2009


From: Ivan Herman <ivan@w3.org>
Date: Fri, 02 Jan 2009 10:47:03 +0100
Message-ID: <495DE297.5080607@w3.org>
To: Toby A Inkster <tai@g5n.co.uk>
CC: Brickley Dan <danbri@danbri.org>, Giovanni Tummarello <g.tummarello@gmail.com>, Semantic Web <semantic-web@w3.org>, Benjamin Nowack <bnowack@semsol.com>

Toby A Inkster wrote:
> The current parsing algorithm is not very efficient though, nor
> especially tidy. I plan on writing a replacement algorithm which will
> instead interleave RDF-EASE steps inside the RDFa algorithm. This would
> reduce the number of passes over the DOM tree.

I think that the files we are talking about are small enough that I
would not really worry about the efficiency issue of passing over the
DOM tree several times. My RDFa distiller has a model whereby
preprocessors can be plugged in easily; preprocessors that modify the
DOM tree before the core RDFa processing switches in. It works well for

I must admit that I am probably influenced by that model but I am not
sure it is worth or even advantageous to define an algorithm that mixes
the RDF EASE steps with the RDFa algorithm. God only knows how many
iteration the RDFa group had to go through to get that part of the
design bullet proof (hopefully it is bullet proof now:-) so I would keep
away from changing it... In other words, I think your initial instinct
of defining EASE as a preprocessor that produces pure RDFa is the righ
one (at least in my view...)

(This is also why I am still worried by the differences from CSS in
syntax and even in the cascade. The closer the design is to the CSS
model, the easier it is to define such a preprocessor with off-the-shelf

> There is, by the way, a mostly working partial implementation here:
> http://buzzword.org.uk/2008/rdf-ease/implementation-20081224.pl
> This does RDF-EASE to RDFa, but doesn't go as far as producing an
> RDF/XML file from the RDFa.

Well, there are several RDFa converters on the Web with a web address.
You can just combine it with one of those:-)




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

Received on Friday, 2 January 2009 09:47:36 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 08:45:10 UTC