Clarification needed on BIND

Regarding sec 10.1 "BIND: Assigning to Variables":

What happens if the same variable is bound more than once using BIND?
For example:

PREFIX  dc:  <>
PREFIX  ns:  <>
SELECT  ?title ?price
   BIND (?title as "The World")
   BIND (?title as "The Universe")
   ?x dc:title ?title ; ns:price ?p .

Should this be handled as:

 - an error?

 - both bindings are used (to produce multiple solutions)?

 - The first or last BIND statement for ?title takes precedence?

It would be helpful to clarify this in the spec.


David Booth, Ph.D.

Opinions expressed herein are those of the author and do not necessarily
reflect those of his employer.

Received on Wednesday, 7 September 2011 15:41:14 UTC