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

Streaming results for CONSTRUCT queries

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Done
    • None
    • Jena 2.11.0
    • ARQ, Fuseki
    • None

    Description

      It would be useful to have CONSTRUCT queries that streamed results. An additional method on QueryExecution that returned an Iterator<Statement> (or something similar to that [1]) would provide the necessary access.

      Implementationwise, the application of Bindings to the CONSTRUCT template is already streaming, we would simply need to perform a distinct operation on the Triples that are created. We could use a DistinctDataNet to get semi-streaming with spill-to-disk functionality.

      Additionally, for this to be useful for Fuseki, we also need an RDF/XML serializer that can operate on an Iterator<Statement> instead of a Model.

      [1] Prefix mappings would probably be nice for serializers that consume this iterator.

      Attachments

        Issue Links

          Activity

            People

              sallen Stephen Allen
              sallen Stephen Allen
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: