Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Jena 2.10.0
Description
This was originally spotted thanks to a user question at http://answers.semanticweb.com/questions/21759/using-bind-and-service-in-fuseki
The basic problem described there is that a BIND used within a SERVICE clause appeared to have no effect.
I was able to reproduce this with a minimal Fuseki setup using an in-memory dataset containing a single triple and the following query:
SELECT * WHERE { SERVICE <http://localhost:3030/ds/query>
{ ?s ?p ?o . BIND(?o AS ?x) }}
I have a unit test for Fuseki that demonstrates the behaviour as well. Under the debugger I can see that the BIND clause is not included in the query string that gets sent to the remote service hence the lack of values for the BINDed variable.