Uploaded image for project: 'Rya'
  1. Rya
  2. RYA-416

Add the ability use the MongoDB aggregation pipeline to evaluate simple SPARQL expressions

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.12
    • None
    • None

    Description

      MongoDB provides the aggregation pipeline framework for multi-stage data processing. Currently, the query engine invokes this framework to apply individual statement patterns (using a "$match" expression for each and iterating through the results), then applies higher-level query operations (join, filter, select, project, etc) client-side.

      In principle, those high-level query operations could be rewritten as aggregation pipeline stages as well ($group, $match, $project, etc). This would allow more query evaluation logic to be executed by the MongoDB server itself, enabling server-side optimization. This could be used as a general query optimization, but would additionally be useful for any tool that only needed to write query results back to the server: adding a write step to the end of the resulting pipeline could obviate the need to communicate individual results to the client at all.

      Attachments

        Issue Links

          Activity

            People

              jhatfiel Jesse Hatfield
              jhatfiel Jesse Hatfield
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: