W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > October to December 2005

Re: allow implicitly unbound variables in SPARQL results?

From: Jeen Broekstra <jeen.broekstra@aduna.biz>
Date: Mon, 12 Dec 2005 17:09:30 +0100
Message-ID: <439DA0BA.9010606@aduna.biz>
To: andy.seaborne@hp.com
CC: Steve Harris <S.W.Harris@ecs.soton.ac.uk>, RDF Data Access Working Group <public-rdf-dawg@w3.org>

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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:25 GMT