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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: