Re: Question on variable scope w.r.t. multiple optional blocks

On Tue, Dec 14, 2004 at 06:30:16PM +0900, Yoshio FUKUSHIGE wrote:
> Current spec prohibits for example the following query, which seems a sound 
> query
> to me:
> 
> PREFIX foaf: <http://xmlns.com/foaf/0.1/>
> SELECT ?name, ?nick
> WHERE (?x foaf:name ?name)
>          [(?x foaf:nick ?nick)
>           (?x foaf:givenname ?nick)]
>          [(?x foaf:nick ?nick)
>           (?x  foaf:surname ?nick)]

This would be quite confusing as you could get one solution with two
different results for ?nick, using the current execution model. I think.

- Steve 

Received on Tuesday, 14 December 2004 10:29:13 UTC