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

Avoid using a wrapper dataset for SPARQL Update WITH

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Jena 2.11.2
    • Jena 2.12.1
    • ARQ
    • None

    Description

      When processing a SPARQL Update operation that uses WITH, the processing engine crates a wrapper dataset DatasetGraphAltDefaultGraph that catches access to the default graph and directs it to the alternative graph.

      This can block optimization of the graph pattern because DatasetGraphAltDefaultGraph masks the true storage layer and will use the default query pattern executor (OpExecutor and StageGeneratorGeneric).

      This is not too serious now that the generic process does some optimization but it can be improved by modifying the WHERE clause to wrap it in a GRAPH <URI>

      {...}

      using ElementGraph and not using a wrapper dataset. The pattern matching proceeds to the underlying storage engine as normal.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: