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

Bug in analytic mode + hashJoin query hint

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The following query executed in analytic mode over govtrack

      PREFIX p1: <http://www.rdfabout.com/rdf/schema/usgovt/>
      PREFIX p2: <http://www.rdfabout.com/rdf/schema/vote/>
      PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
      PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
      
      SELECT (COUNT(*) AS ?cnt)
      WHERE {
         hint:Query hint:optimizer "None" .
                              
         ?_var10 p2:votedBy <http://www.rdfabout.com/rdf/usgov/congress/people/C000877> . 
         ?_var10 rdfs:label ?_var2.
         hint:Prior hint:hashJoin "true" .
      }
      

      gives only 10390 results, whereas we get 10419 when executed in non-analytic mode and/or when outcommenting the hint:hashJoin (i.e., in all other combinations).

        Activity

        Hide
        michaelschmidt michaelschmidt added a comment -

        Looking at the results (i.e., SELECT * rather than SELECT COUNT), the non-analytic mode contains triples

        <http://www.rdfabout.com/rdf/usgov/congress/101/senate/votes/1969-22/->	Nay
        <http://www.rdfabout.com/rdf/usgov/congress/101/senate/votes/1969-22/->	Not Guilty
        

        where in the analytic mode some of these partial duplicate triples are swallowed, i.e. instead of both only one of them is contained:

        <http://www.rdfabout.com/rdf/usgov/congress/101/senate/votes/1969-22/->	Nay
        
        Show
        michaelschmidt michaelschmidt added a comment - Looking at the results (i.e., SELECT * rather than SELECT COUNT), the non-analytic mode contains triples <http: //www.rdfabout.com/rdf/usgov/congress/101/senate/votes/1969-22/-> Nay <http: //www.rdfabout.com/rdf/usgov/congress/101/senate/votes/1969-22/-> Not Guilty where in the analytic mode some of these partial duplicate triples are swallowed, i.e. instead of both only one of them is contained: <http: //www.rdfabout.com/rdf/usgov/congress/101/senate/votes/1969-22/-> Nay

          People

          • Assignee:
            michaelschmidt michaelschmidt
            Reporter:
            michaelschmidt michaelschmidt
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: