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
(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


Jeen Broekstra          Aduna BV
Knowledge Engineer      Julianaplein 14b, 3817 CS Amersfoort        The Netherlands
tel. +31 33 46599877

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