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