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

A SERVICE call involving a SELECT projection may generate illegal syntax

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Jena 4.3.0
    • Jena 4.3.1, Jena 4.4.0
    • ARQ, SPARQL
    • None

    Description

      This is a regression in Jena 4.3.0.

      Example:

      SELECT * {
        SERVICE <http://localhost:3030/ds> {
            SELECT ?s { ?s ?p ?o }
        }
      }
      

      will have a compiled inner pattern with ?/p and ?/o. The ?p and ?o variables were rewritten to hide them (they are not in the SELECT ?s).

      This rewrite needs to be reversed before sending the service-query.

      Attachments

        Issue Links

          Activity

            People

              andy Andy Seaborne
              andy Andy Seaborne
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: