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

DistinctTermScanOp is not retrieving all data

    Details

      Description

      When loading the attached TTL file (containing 6 people) into a stock blazegraph 1.5.1 instance (standalone), a SELECT DISTINCT query fails to retrieve all distinct people. The correct results are returned by removing the DISTINCT keyword, or adding a second clause to the query.

      – only returns 3 of the 6 people
      SELECT DISTINCT ?People WHERE

      { ?People a <http://semoss.org/ontologies/Person> }

      – returns the correct result
      SELECT ?People WHERE

      { ?People a <http://semoss.org/ontologies/Person> }

      – also returns the correct result, but includes the DISTINCT keyword
      SELECT DISTINCT ?People WHERE

      { ?People a <http://semoss.org/ontologies/Person> . ?People ?p ?o . }

      I've attached my solutions log as well.

      1. icebreaker.ttl
        3 kB
        Ryan Bobko
      2. solutions.csv
        12 kB
        Ryan Bobko

        Activity

        ry99 Ryan Bobko created issue -
        bryanthompson bryanthompson made changes -
        Field Original Value New Value
        Assignee bryanthompson [ bryanthompson ] michaelschmidt [ michaelschmidt ]
        beebs Brad Bebee made changes -
        Workflow Trac Import v4 [ 15840 ] Trac Import v5 [ 16026 ]
        michaelschmidt michaelschmidt made changes -
        Status Open [ 1 ] Accepted [ 10101 ]
        michaelschmidt michaelschmidt made changes -
        Status Accepted [ 10101 ] In Progress [ 3 ]
        michaelschmidt michaelschmidt made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        michaelschmidt michaelschmidt made changes -
        Status Resolved [ 5 ] In Review [ 10100 ]
        michaelschmidt michaelschmidt made changes -
        Resolution Done [ 10000 ]
        Status In Review [ 10100 ] Done [ 10000 ]
        beebs Brad Bebee made changes -
        Workflow Trac Import v5 [ 16026 ] Trac Import v6 [ 18388 ]
        michaelschmidt michaelschmidt made changes -
        Fix Version/s BLAZEGRAPH_RELEASE_1_5_2 [ 10164 ]
        beebs Brad Bebee made changes -
        Workflow Trac Import v6 [ 18388 ] Trac Import v7 [ 19794 ]
        beebs Brad Bebee made changes -
        Workflow Trac Import v7 [ 19794 ] Trac Import v8 [ 21426 ]

          People

          • Assignee:
            michaelschmidt michaelschmidt
            Reporter:
            ry99 Ryan Bobko
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: