W3C home > Mailing lists > Public > public-sparql-dev@w3.org > July to September 2006

Re: Assigning values to variables

From: Danny Ayers <danny.ayers@gmail.com>
Date: Wed, 23 Aug 2006 13:18:37 +0200
Message-ID: <1f2ed5cd0608230418r1d376863q6e867661248be65a@mail.gmail.com>
To: "Steve Harris" <S.W.Harris@ecs.soton.ac.uk>
Cc: "Luke Steller" <Luke.Steller@infotech.monash.edu.au>, public-sparql-dev@w3.org

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



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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:15:49 UTC