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

AssertionError: PropertyPathNode got to ASTJoinOrderByType.optimizeJoinGroup

    XMLWordPrintable

    Details

      Description

      at com.bigdata.rdf.sparql.ast.optimizers.ASTJoinOrderByTypeOptimizer.optimizeJoinGroup(ASTJoinOrderByTypeOptimizer.java:647)

      i.e.

      base <https://test-t-jjc.syapse.com/>
        prefix owl: <http://www.w3.org/2002/07/owl#>
        prefix based: <https://test-t-jjc.syapse.com/bdm/api/appindividual/based:>
        prefix xsd: <http://www.w3.org/2001/XMLSchema#>
        prefix demod: <https://test-t-jjc.syapse.com/bdm/api/appindividual/demod:>
        prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
        prefix demo: <https://test-t-jjc.syapse.com/bdm/api/kbobject/demo:>
        prefix dc: <http://purl.org/dc/elements/1.1/>
        prefix sys: <https://test-t-jjc.syapse.com/bdm/api/kbobject/sys:>
        prefix s: <https://test-t-jjc.syapse.com/bdm/api/>
        prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
        prefix bds: <http://www.bigdata.com/rdf/search#>
        prefix sysd: <https://test-t-jjc.syapse.com/bdm/api/appindividual/sysd:>
        prefix base: <https://test-t-jjc.syapse.com/bdm/api/kbobject/base:>
        prefix skos: <http://www.w3.org/2004/02/skos/core#>
        prefix syapse: <https://test-t-jjc.syapse.com/graph/syapse#>
        SELECT *
        FROM <https://test-t-jjc.syapse.com/graph/ontology/base>
        FROM <https://test-t-jjc.syapse.com/graph/syapse>
        FROM <https://test-t-jjc.syapse.com/graph/cat-co/abox>
        FROM <https://test-t-jjc.syapse.com/graph/django/cat-co>
        FROM <https://test-t-jjc.syapse.com/graph/ontology/sys>
        FROM <https://test-t-jjc.syapse.com/graph/vocabulary>
        FROM <https://test-t-jjc.syapse.com/graph/ontology/demo>
        FROM <https://test-t-jjc.syapse.com/graph/cat-co/vocabulary>
        FROM NAMED <https://test-t-jjc.syapse.com/graph/ontology/base>
        FROM NAMED <https://test-t-jjc.syapse.com/graph/syapse>
        FROM NAMED <https://test-t-jjc.syapse.com/graph/cat-co/abox>
        FROM NAMED <https://test-t-jjc.syapse.com/graph/django/cat-co>
        FROM NAMED <https://test-t-jjc.syapse.com/graph/ontology/sys>
        FROM NAMED <https://test-t-jjc.syapse.com/graph/vocabulary>
        FROM NAMED <https://test-t-jjc.syapse.com/graph/ontology/demo>
        FROM NAMED <https://test-t-jjc.syapse.com/graph/cat-co/vocabulary>
      
        
      
        WHERE {
       
          { SELECT DISTINCT ?property ?pLabelLC
        WHERE {
      
           { SELECT DISTINCT ?property ?r ?pLabel {
              ?t rdfs:subClassOf +  syapse:RecordOrRecordPart .
              ?t rdfs:subClassOf ?domain .
              ?property rdfs:domain ?domain .
              ?property rdfs:range ?r .
              ?property rdfs:label ?pLabel .
           } }
           FILTER ( EXISTS { 
             ?property syapse:hasLiteralProperty ?q .
             ?x ?property ?concept .
           }  || EXISTS {
              ?r rdfs:subClassOf +  syapse:Record .
           } || EXISTS {
              ?r owl:oneOf ?rr .
            })
      
            # bigdata defect ??, can't put this direct into ORDER BY
           BIND ( LCASE(?pLabel) AS ?pLabelLC )
      
        }
        ORDER BY ?pLabelLC
        }
        
        }
        ORDER BY DESC(?sort_order) ?pLabelLC
      
      java.util.concurrent.ExecutionException: java.lang.Exception: java.lang.AssertionError: should not be pruning any children
      	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
      	at java.util.concurrent.FutureTask.get(FutureTask.java:188)
      	at com.bigdata.rdf.sail.webapp.QueryServlet.doQuery(QueryServlet.java:640)
      	at com.bigdata.rdf.sail.webapp.QueryServlet.doPost(QueryServlet.java:177)
      	at com.bigdata.rdf.sail.webapp.RESTServlet.doPost(RESTServlet.java:206)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:534)
      	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:475)
      	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:929)
      	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403)
      	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:864)
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
      	at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:47)
      	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114)
      	at org.eclipse.jetty.server.Server.handle(Server.java:352)
      	at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596)
      	at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1068)
      	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:805)
      	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)
      	at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:426)
      	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:508)
      	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34)
      	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
      	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:451)
      	at java.lang.Thread.run(Thread.java:744)
      Caused by: java.lang.Exception: java.lang.AssertionError: should not be pruning any children
      	at com.bigdata.rdf.sail.webapp.BigdataRDFContext$AbstractQueryTask.call(BigdataRDFContext.java:1157)
      	at com.bigdata.rdf.sail.webapp.BigdataRDFContext$AbstractQueryTask.call(BigdataRDFContext.java:490)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	... 1 more
      Caused by: java.lang.AssertionError: should not be pruning any children
      	at com.bigdata.rdf.sparql.ast.optimizers.ASTJoinOrderByTypeOptimizer.optimizeJoinGroup(ASTJoinOrderByTypeOptimizer.java:647)
      	at com.bigdata.rdf.sparql.ast.optimizers.AbstractJoinGroupOptimizer.optimize(AbstractJoinGroupOptimizer.java:155)
      	at com.bigdata.rdf.sparql.ast.optimizers.AbstractJoinGroupOptimizer.optimize(AbstractJoinGroupOptimizer.java:183)
      	at com.bigdata.rdf.sparql.ast.optimizers.AbstractJoinGroupOptimizer.optimize(AbstractJoinGroupOptimizer.java:183)
      	at com.bigdata.rdf.sparql.ast.optimizers.AbstractJoinGroupOptimizer.optimize(AbstractJoinGroupOptimizer.java:95)
      	at com.bigdata.rdf.sparql.ast.optimizers.ASTOptimizerList.optimize(ASTOptimizerList.java:104)
      	at com.bigdata.rdf.sparql.ast.eval.AST2BOpUtility.convert(AST2BOpUtility.java:218)
      	at com.bigdata.rdf.sparql.ast.eval.ASTEvalHelper.evaluateTupleQuery(ASTEvalHelper.java:238)
      	at com.bigdata.rdf.sail.BigdataSailTupleQuery.evaluate(BigdataSailTupleQuery.java:93)
      	at com.bigdata.rdf.sail.BigdataSailTupleQuery.evaluate(BigdataSailTupleQuery.java:75)
      	at org.openrdf.repository.sail.SailTupleQuery.evaluate(SailTupleQuery.java:62)
      	at com.bigdata.rdf.sail.webapp.BigdataRDFContext$TupleQueryTask.doQuery(BigdataRDFContext.java:1276)
      	at com.bigdata.rdf.sail.webapp.BigdataRDFContext$AbstractQueryTask.call(BigdataRDFContext.java:1130)
      	... 5 more
      
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: