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

AssertionError in path query with MINUS

    XMLWordPrintable

    Details

      Description

      This query:

      SELECT * WHERE
      {
        ?p wdt:P279* ?o.
        MINUS { ?o wdt:P279* []. }
        FILTER(?o != wd:Q1).
      } LIMIT 10
      

      Produces exception:

      java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.AssertionError: Non-required group has attached join filters: 
      JoinGroupNode [minus] [joinVars=[o]] [projectInVars=[o]] {
        ArbitraryLengthPathNode(left=VarNode(o), right=VarNode(-anon-1)[anonymous]) {
          JoinGroupNode {
            StatementPatternNode(VarNode(-tVarLeft-e50c8817-d004-4966-8c2f-b596871b5ff8)[anonymous], ConstantNode(Vocab(6)[http://www.wikidata.org/prop/direct/P]:XSDUnsignedShort(279)), VarNode(-tVarRight-df24c049-da41-496e-b2c7-4d2d6bc98e9d)[anonymous]) [scope=DEFAULT_CONTEXTS]
              AST2BOpBase.estimatedCardinality=1605477
              AST2BOpBase.originalIndex=POS
          } AST2BOpBase.estimatedCardinality=1605477
        } AST2BOpBase.estimatedCardinality=4611686018428993380
      } JOIN ON (o)
        FILTER( FunctionNode(VarNode(o),ConstantNode(Vocab(2)[http://www.wikidata.org/entity/Q]:XSDUnsignedByte(1)))[ FunctionNode.scalarVals=null, FunctionNode.functionURI=http://www.w3.org/2005/xpath-functions#not-equal-to, valueExpr=com.bigdata.rdf.internal.constraints.CompareBOp(o,Vocab(2)[http://www.wikidata.org/entity/Q]:XSDUnsignedByte(1))[ CompareBOp.op=NE]] ) AST2BOpBase.estimatedCardinality=4611686018428993380
      

        Attachments

          Activity

            People

            Assignee:
            michaelschmidt michaelschmidt
            Reporter:
            stasmalyshev stasmalyshev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: