Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-422

SERVICE execution does not propogate BINDs within the SERVICE clause

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            rvesse Rob Vesse
            rvesse Rob Vesse
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: