Re: allow implicitly unbound variables in SPARQL results?

Seaborne, Andy wrote:

> Hence my only concern is the practicality of XSLT and XQuery
> processing of results and reacting to the absence of the unbound
> marker - fixing up the result2-to-html.{xsl,xq} would answer that.

I've been hacking away at it a bit, and I've come up with an XSLT
stylesheet that processes the collapsed result properly (fingers
crossed, it worked on my toy example). It actually is an adaptation of
result2-to-html.xsl, adapted in such a way that it handles both the LC
design and the collapsed version.

Available at
http://www.w3.org/2001/sw/DataAccess/rf1/sparql-collapsed-to-html.xsl
(as soon as mirrors pick it up)

or in CVS of course.

Given that it took me the better part of an afternoon to get this to
work, I'd not rate the solution as exactly "simple", but then again, I'm
not really an XSLT expert and I still managed to get this running. Have
a look, see what you think, test it for
performance/robustness/correctness...

Cheers,

Jeen
-- 
Jeen Broekstra          Aduna BV
Knowledge Engineer      Julianaplein 14b, 3817 CS Amersfoort
http://aduna.biz        The Netherlands
tel. +31 33 46599877

Received on Monday, 12 December 2005 16:10:20 UTC