- From: Ruben Verborgh <ruben.verborgh@ugent.be>
- Date: Wed, 20 Aug 2014 23:44:47 +0200
- To: Andy Seaborne <andy@apache.org>
- Cc: public-sparql-dev@w3.org
Hi Andy,
>> Is it a good idea for a parser to do this in general?
>
> Probably!
One exception I noted:
SELECT ?title ?price
{ ?x ns:price ?p .
?x ns:discount ?discount
BIND (?p*(1-?discount) AS ?price)
FILTER(?price < 20)
?x dc:title ?title .
}
According to the spec,
“BIND ends the basic graph pattern” [1],
so here we probably don't want to bring the BGPs together?
Are there any other cases like this?
Thanks,
Ruben
[1] http://www.w3.org/TR/sparql11-query/#assignment
Received on Wednesday, 20 August 2014 21:45:23 UTC