- From: Gary King <gwking@metabang.com>
- Date: Mon, 19 Oct 2015 15:15:12 -0400
- To: Miguel <miguel.ceriani@gmail.com>
- Cc: public-sparql-dev@w3.org
Received on Monday, 19 October 2015 19:15:42 UTC
Hi Miguel,
> SERVICE blocks and sub-queries have different semantics relating to the variable scope.
— snip —
At first I thought your answer made sense but further reflection (and Gregory Williams) answer brings me back to my initial impression.
Indeed, even in a query like:
select * {
# A
{
values ?x { 1 2 3 }
}
# B
{
values ?y { 1 2 3 }
filter( ?y > ?x)
}
}
A and B should be evaluated independently and ?x is not bound in the scope of B so the query should return no results.
--
Gary Warren King, metabang.com <http://metabang.com/>
Cell: (413) 559 8738
Fax: (206) 338-4052
gwkkwg on Skype * garethsan on AIM * gwking on twitter
Received on Monday, 19 October 2015 19:15:42 UTC