Uploaded image for project: 'Blazegraph (by SYSTAP)'
  1. Blazegraph (by SYSTAP)
  2. BLZG-1087

DISTINCT PREDICATEs query is slow

    XMLWordPrintable

    Details

      Description

      The following query is slow. It should be turned into a DistinctTermAdvancer annotation on the POS access path. We have existing code that does this for inference (materializing sub property of hierarchy) but not yet for SPARQL query. This could be implemented as an AST Optimizer.

      SELECT DISTINCT ?property WHERE { ?x ?property ?y . } LIMIT 1000
      

      See BLZG-1089 (COUNT * should be optimized as fast range count)

        Attachments

          Activity

            People

            Assignee:
            bryanthompson bryanthompson
            Reporter:
            bryanthompson bryanthompson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: