[ https://issues.apache.org/jira/browse/JENA-174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Seaborne updated JENA-174: ------------------------------- Component/s: Optimizer > Linearization optimization does not account for SERVICE correctly. > ------------------------------------------------------------------ > > Key: JENA-174 > URL: https://issues.apache.org/jira/browse/JENA-174 > Project: Apache Jena > Issue Type: Bug > Components: ARQ, Optimizer > Reporter: Andy Seaborne > > SELECT ?p ?o WHERE > { > { BIND(<http://dbpedia.org/sparql> AS ?service)} > UNION > { BIND(<http://live.dbpedia.org/sparql> AS ?service)} > SERVICE ?service > {<http://dbpedia.org/resource/Paris> ?p ?o. } > } > ==> > (project (?p ?o) > (join > (union > (extend ((?service <http://dbpedia.org/sparql>)) > (table unit)) > (extend ((?service <http://live.dbpedia.org/sparql>)) > (table unit))) > (service ?service > (bgp (triple <http://dbpedia.org/resource/Paris> ?p ?o))))) > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > (project (?p ?o) > (sequence > (union > (extend ((?service <http://dbpedia.org/sparql>)) > (table unit)) > (extend ((?service <http://live.dbpedia.org/sparql>)) > (table unit))) > (service ?service > (bgp (triple <http://dbpedia.org/resource/Paris> ?p ?o))))) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira