Re: Assigning values to variables

> > Is anything like this possible?

What Steve said. I don't know whether or not it can be addressed in
the SPARQL query itself, but Jena/ARQ and I believe rdflib support
programmatic initial bindings, kindalike default values.

You could also do it in two phases, first a CONSTRUCT then a SELECT on
the result graph.

I vaguely remember the question of being able to add statements
directly to a SELECT coming up, not sure why that isn't supported,
probably complexity issues.

Cheers,
Danny.

-- 

http://dannyayers.com

Received on Wednesday, 23 August 2006 11:18:46 UTC