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

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

From: Steve Harris <S.W.Harris@ecs.soton.ac.uk>
Date: Tue, 14 Dec 2004 10:29:08 +0000
To: public-rdf-dawg@w3.org
Message-ID: <20041214102908.GC28993@login.ecs.soton.ac.uk>

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 GMT

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