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

IllegalStateException for analytic mode query

    XMLWordPrintable

    Details

      Description

      Execution of govtrack queries 0021 in analytic mode (in current master) gives the following exception:

           [java] queryOrSubquery:
           [java] 
           [java] WITH {
           [java]   QueryType: SELECT
           [java]   SELECT DISTINCT ( VarNode(_var3) AS VarNode(_var3) )
           [java]     JoinGroupNode {
           [java]       StatementPatternNode(VarNode(_var3), ConstantNode(Vocab(14)[http://www.w3.org/1999/02/22-rdf-syntax-ns#type]), ConstantNode(TermId(1523439U)[http://www.rdfabout.com/rdf/schema/politico/Politician])) [scope=DEFAULT_CONTEXTS]
           [java]         AST2BOpBase.estimatedCardinality=12483
           [java]         AST2BOpBase.originalIndex=POCS
           [java]       StatementPatternNode(VarNode(_var3), ConstantNode(TermId(1523437U)[http://www.rdfabout.com/rdf/schema/politico/hasRole]), VarNode(_var6)) [scope=DEFAULT_CONTEXTS]
           [java]         AST2BOpBase.estimatedCardinality=42049
           [java]         AST2BOpBase.originalIndex=POCS
           [java]       StatementPatternNode(VarNode(_var6), ConstantNode(TermId(1523438U)[http://www.rdfabout.com/rdf/schema/politico/party]), ConstantNode(TermId(1525944L)[Democrat])) [scope=DEFAULT_CONTEXTS]
           [java]         AST2BOpBase.estimatedCardinality=19487
           [java]         AST2BOpBase.originalIndex=POCS
           [java]     }
           [java] } AS %_set1 JOIN ON () DEPENDS ON ()
           [java] plan:
           [java] com.bigdata.bop.solutions.ProjectionOp[14](HTreeDistinctBindingSetsOp[12])[ BOp.bopId=14, BOp.evaluationContext=CONTROLLER, PipelineOp.sharedState=true, JoinAnnotations.select=[_var3]]
           [java]   com.bigdata.bop.solutions.HTreeDistinctBindingSetsOp[12](PipelineJoin[11])[ BOp.bopId=12, HashJoinAnnotations.joinVars=[_var3], BOp.evaluationContext=CONTROLLER, namedSetRef=NamedSolutionSetRef{localName=--distinct-13,queryId=65c7a8b5-9b44-4849-872c-457eed3ff769,joinVars=[_var3]}, PipelineOp.sharedState=true, PipelineOp.maxParallel=1]
           [java]     com.bigdata.bop.join.PipelineJoin[11](PipelineJoin[8])[ BOp.bopId=11, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=ANY, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[9](_var6=null, TermId(1523438U)[http://www.rdfabout.com/rdf/schema/politico/party], TermId(1525944L)[Democrat], --anon-10=null)[ IPredicate.relationName=[GOVTRACK.spo], IPredicate.timestamp=1446318783710, BOp.bopId=9, AST2BOpBase.estimatedCardinality=19487, AST2BOpBase.originalIndex=POCS, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL], IPredicate.accessPathFilter=cutthecrap.utils.striterators.NOPFilter@1843009f{annotations=null,filterChain=[com.bigdata.bop.rdf.filter.StripContextFilter(), com.bigdata.bop.ap.filter.DistinctFilter()]}]]
           [java]       com.bigdata.bop.join.PipelineJoin[8](PipelineJoin[5])[ BOp.bopId=8, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=ANY, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[6](_var3=null, TermId(1523437U)[http://www.rdfabout.com/rdf/schema/politico/hasRole], _var6=null, --anon-7=null)[ IPredicate.relationName=[GOVTRACK.spo], IPredicate.timestamp=1446318783710, BOp.bopId=6, AST2BOpBase.estimatedCardinality=42049, AST2BOpBase.originalIndex=POCS, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL], IPredicate.accessPathFilter=cutthecrap.utils.striterators.NOPFilter@56ddd32a{annotations=null,filterChain=[com.bigdata.bop.rdf.filter.StripContextFilter(), com.bigdata.bop.ap.filter.DistinctFilter()]}]]
           [java]         com.bigdata.bop.join.PipelineJoin[5](HTreeDistinctBindingSetsOp[2])[ BOp.bopId=5, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=ANY, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[3](_var3=null, Vocab(14)[http://www.w3.org/1999/02/22-rdf-syntax-ns#type], TermId(1523439U)[http://www.rdfabout.com/rdf/schema/politico/Politician], --anon-4=null)[ IPredicate.relationName=[GOVTRACK.spo], IPredicate.timestamp=1446318783710, BOp.bopId=3, AST2BOpBase.estimatedCardinality=12483, AST2BOpBase.originalIndex=POCS, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL], IPredicate.accessPathFilter=cutthecrap.utils.striterators.NOPFilter@7d5296f3{annotations=null,filterChain=[com.bigdata.bop.rdf.filter.StripContextFilter(), com.bigdata.bop.ap.filter.DistinctFilter()]}]]
           [java]           com.bigdata.bop.solutions.HTreeDistinctBindingSetsOp[2]()[ BOp.bopId=2, HashJoinAnnotations.joinVars=[_var3], BOp.evaluationContext=CONTROLLER, PipelineOp.sharedState=true, PipelineOp.maxParallel=1, namedSetRef=NamedSolutionSetRef{localName=--distinct-1,queryId=65c7a8b5-9b44-4849-872c-457eed3ff769,joinVars=[_var3]}]
           [java] INFO : AST2BOpUtility.java:896: 
           [java] subquery: 
           [java] WITH {
           [java]   QueryType: SELECT
           [java]   SELECT DISTINCT ( VarNode(_var3) AS VarNode(_var3) )
           [java]     JoinGroupNode {
           [java]       StatementPatternNode(VarNode(_var3), ConstantNode(Vocab(14)[http://www.w3.org/1999/02/22-rdf-syntax-ns#type]), ConstantNode(TermId(1523439U)[http://www.rdfabout.com/rdf/schema/politico/Politician])) [scope=DEFAULT_CONTEXTS]
           [java]         AST2BOpBase.estimatedCardinality=12483
           [java]         AST2BOpBase.originalIndex=POCS
           [java]       StatementPatternNode(VarNode(_var3), ConstantNode(TermId(1523437U)[http://www.rdfabout.com/rdf/schema/politico/hasRole]), VarNode(_var6)) [scope=DEFAULT_CONTEXTS]
           [java]         AST2BOpBase.estimatedCardinality=42049
           [java]         AST2BOpBase.originalIndex=POCS
           [java]       StatementPatternNode(VarNode(_var6), ConstantNode(TermId(1523438U)[http://www.rdfabout.com/rdf/schema/politico/party]), ConstantNode(TermId(1525944L)[Democrat])) [scope=DEFAULT_CONTEXTS]
           [java]         AST2BOpBase.estimatedCardinality=19487
           [java]         AST2BOpBase.originalIndex=POCS
           [java]     }
           [java] } AS %_set1 JOIN ON () DEPENDS ON ()
           [java] plan=com.bigdata.bop.solutions.ProjectionOp[14](HTreeDistinctBindingSetsOp[12])[ BOp.bopId=14, BOp.evaluationContext=CONTROLLER, PipelineOp.sharedState=true, JoinAnnotations.select=[_var3]]
           [java] INFO : AST2BOpUtility.java:1259: include: solutionSet=%_set1
           [java] INFO : AST2BOpUtility.java:726: 
           [java] queryOrSubquery:
           [java] 
           [java] PREFIX p1: <http://www.rdfabout.com/rdf/schema/usgovt/>
           [java] PREFIX p2: <http://www.rdfabout.com/rdf/schema/vote/>
           [java] PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
           [java] PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
           [java] PREFIX sesame: <http://www.openrdf.org/schema/sesame#>
           [java] PREFIX owl: <http://www.w3.org/2002/07/owl#>
           [java] PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
           [java] PREFIX fn: <http://www.w3.org/2005/xpath-functions#>
           [java] PREFIX foaf: <http://xmlns.com/foaf/0.1/>
           [java] PREFIX dc: <http://purl.org/dc/elements/1.1/>
           [java] PREFIX hint: <http://www.bigdata.com/queryHints#>
           [java] PREFIX bd: <http://www.bigdata.com/rdf#>
           [java] PREFIX bds: <http://www.bigdata.com/rdf/search#>
           [java] WITH {
           [java]   QueryType: SELECT
           [java]   SELECT DISTINCT ( VarNode(_var3) AS VarNode(_var3) )
           [java]     JoinGroupNode {
           [java]       StatementPatternNode(VarNode(_var3), ConstantNode(Vocab(14)[http://www.w3.org/1999/02/22-rdf-syntax-ns#type]), ConstantNode(TermId(1523439U)[http://www.rdfabout.com/rdf/schema/politico/Politician])) [scope=DEFAULT_CONTEXTS]
           [java]         AST2BOpBase.estimatedCardinality=12483
           [java]         AST2BOpBase.originalIndex=POCS
           [java]       StatementPatternNode(VarNode(_var3), ConstantNode(TermId(1523437U)[http://www.rdfabout.com/rdf/schema/politico/hasRole]), VarNode(_var6)) [scope=DEFAULT_CONTEXTS]
           [java]         AST2BOpBase.estimatedCardinality=42049
           [java]         AST2BOpBase.originalIndex=POCS
           [java]       StatementPatternNode(VarNode(_var6), ConstantNode(TermId(1523438U)[http://www.rdfabout.com/rdf/schema/politico/party]), ConstantNode(TermId(1525944L)[Democrat])) [scope=DEFAULT_CONTEXTS]
           [java]         AST2BOpBase.estimatedCardinality=19487
           [java]         AST2BOpBase.originalIndex=POCS
           [java]     }
           [java] } AS %_set1 JOIN ON () DEPENDS ON ()
           [java] QueryType: SELECT
           [java] includeInferred=true
           [java] SELECT ( com.bigdata.rdf.sparql.ast.FunctionNode(VarNode(_var9))[ FunctionNode.scalarVals=null, FunctionNode.functionURI=http://www.w3.org/2006/sparql-functions#sample, valueExpr=com.bigdata.bop.rdf.aggregate.SAMPLE(_var9)[ AggregateBase.distinct=false]] AS VarNode(_var1) ) ( VarNode(_var2) AS VarNode(_var2) ) ( VarNode(_var3) AS VarNode(_var3) )
           [java]   JoinGroupNode {
           [java]     INCLUDE %_set1 JOIN ON ()
           [java]     StatementPatternNode(VarNode(_var3), ConstantNode(TermId(2043044U)[http://www.rdfabout.com/rdf/schema/usgovt/name]), VarNode(_var9)) [scope=DEFAULT_CONTEXTS] [optional]
           [java]       AST2BOpBase.estimatedCardinality=12483
           [java]       AST2BOpBase.originalIndex=POCS
           [java]     JoinGroupNode [optional] [joinVars=[_var3]] [projectInVars=[_var3]] {
           [java]       StatementPatternNode(VarNode(_var10), ConstantNode(TermId(6U)[http://www.rdfabout.com/rdf/schema/vote/votedBy]), VarNode(_var3)) [scope=DEFAULT_CONTEXTS]
           [java]         AST2BOpBase.estimatedCardinality=20968700
           [java]         AST2BOpBase.originalIndex=POCS
           [java]       StatementPatternNode(VarNode(_var10), ConstantNode(Vocab(25)[http://www.w3.org/2000/01/rdf-schema#label]), VarNode(_var2)) [scope=DEFAULT_CONTEXTS]
           [java]         AST2BOpBase.estimatedCardinality=514182
           [java]         AST2BOpBase.originalIndex=POCS
           [java]     } JOIN ON (_var3)
           [java]   }
           [java] group by ( VarNode(_var2) AS VarNode(_var2) ) ( VarNode(_var3) AS VarNode(_var3) )
           [java] plan:
           [java] com.bigdata.bop.solutions.ProjectionOp[30](PipelinedAggregationOp[29])[ BOp.bopId=30, BOp.evaluationContext=CONTROLLER, PipelineOp.sharedState=true, JoinAnnotations.select=[_var1, _var2, _var3]]
           [java]   com.bigdata.bop.solutions.PipelinedAggregationOp[29](HTreeSolutionSetHashJoinOp[28])[ BOp.bopId=29, BOp.evaluationContext=CONTROLLER, PipelineOp.pipelined=true, PipelineOp.maxParallel=1, PipelineOp.sharedState=true, GroupByOp.groupByState=GroupByState{select=[com.bigdata.bop.Bind(_var1,com.bigdata.bop.rdf.aggregate.SAMPLE(_var9)[ AggregateBase.distinct=false]), com.bigdata.bop.Bind(_var2,_var2), com.bigdata.bop.Bind(_var3,_var3)],groupBy=[com.bigdata.bop.Bind(_var2,_var2), com.bigdata.bop.Bind(_var3,_var3)],having=null}, GroupByOp.groupByRewrite=GroupByRewriter{aggExpr={com.bigdata.bop.rdf.aggregate.SAMPLE(_var9)[ AggregateBase.distinct=false]=f790d1d7-16ed-4d99-a18e-dee8ddd94a86},select2=[com.bigdata.bop.Bind(_var1,f790d1d7-16ed-4d99-a18e-dee8ddd94a86), com.bigdata.bop.Bind(_var2,_var2), com.bigdata.bop.Bind(_var3,_var3)],having2=null}, PipelineOp.lastPass=true]
           [java]     com.bigdata.bop.join.HTreeSolutionSetHashJoinOp[28](PipelineJoin[27])[ BOp.bopId=28, BOp.evaluationContext=CONTROLLER, PipelineOp.maxParallel=1, PipelineOp.sharedState=true, JoinAnnotations.constraints=null, SolutionSetHashJoinOp.release=true, PipelineOp.lastPass=true, namedSetRef=NamedSolutionSetRef{localName=--set-20,queryId=65c7a8b5-9b44-4849-872c-457eed3ff769,joinVars=[_var3]}]
           [java]       com.bigdata.bop.join.PipelineJoin[27](PipelineJoin[24])[ BOp.bopId=27, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=ANY, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[25](_var10=null, Vocab(25)[http://www.w3.org/2000/01/rdf-schema#label], _var2=null, --anon-26=null)[ IPredicate.relationName=[GOVTRACK.spo], IPredicate.timestamp=1446318783710, BOp.bopId=25, AST2BOpBase.estimatedCardinality=514182, AST2BOpBase.originalIndex=POCS, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL], IPredicate.accessPathFilter=cutthecrap.utils.striterators.NOPFilter@456cd91d{annotations=null,filterChain=[com.bigdata.bop.rdf.filter.StripContextFilter(), com.bigdata.bop.ap.filter.DistinctFilter()]}]]
           [java]         com.bigdata.bop.join.PipelineJoin[24](HashIndexOp[21])[ BOp.bopId=24, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=ANY, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[22](_var10=null, TermId(6U)[http://www.rdfabout.com/rdf/schema/vote/votedBy], _var3=null, --anon-23=null)[ IPredicate.relationName=[GOVTRACK.spo], IPredicate.timestamp=1446318783710, BOp.bopId=22, AST2BOpBase.estimatedCardinality=20968700, AST2BOpBase.originalIndex=POCS, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL], IPredicate.accessPathFilter=cutthecrap.utils.striterators.NOPFilter@6d222286{annotations=null,filterChain=[com.bigdata.bop.rdf.filter.StripContextFilter(), com.bigdata.bop.ap.filter.DistinctFilter()]}]]
           [java]           com.bigdata.bop.join.HashIndexOp[21](PipelineJoin[19])[ BOp.bopId=21, BOp.evaluationContext=CONTROLLER, PipelineOp.maxParallel=1, PipelineOp.lastPass=true, PipelineOp.sharedState=true, JoinAnnotations.joinType=Optional, HashJoinAnnotations.joinVars=[_var3], HashJoinAnnotations.outputDistinctJVs=true, JoinAnnotations.constraints=null, HashIndexOpBase.utilFactory=com.bigdata.bop.join.HTreeHashJoinUtility$1@5c08c363, namedSetRef=NamedSolutionSetRef{localName=--set-20,queryId=65c7a8b5-9b44-4849-872c-457eed3ff769,joinVars=[_var3]}]
           [java]             com.bigdata.bop.join.PipelineJoin[19](HTreeSolutionSetHashJoinOp[16])[ BOp.bopId=19, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=ANY, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[17](_var3=null, TermId(2043044U)[http://www.rdfabout.com/rdf/schema/usgovt/name], _var9=null, --anon-18=null)[ IPredicate.relationName=[GOVTRACK.spo], IPredicate.timestamp=1446318783710, BOp.bopId=17, AST2BOpBase.estimatedCardinality=12483, AST2BOpBase.originalIndex=POCS, IPredicate.optional=true, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL], IPredicate.accessPathFilter=cutthecrap.utils.striterators.NOPFilter@4353c7c9{annotations=null,filterChain=[com.bigdata.bop.rdf.filter.StripContextFilter(), com.bigdata.bop.ap.filter.DistinctFilter()]}]]
           [java]               com.bigdata.bop.join.HTreeSolutionSetHashJoinOp[16](HTreeNamedSubqueryOp[15])[ BOp.bopId=16, BOp.evaluationContext=CONTROLLER, PipelineOp.sharedState=true, namedSetRef=NamedSolutionSetRef{localName=%_set1,queryId=65c7a8b5-9b44-4849-872c-457eed3ff769,joinVars=[]}, JoinAnnotations.constraints=null, SolutionSetHashJoinOp.release=false]
           [java]                 com.bigdata.bop.controller.HTreeNamedSubqueryOp[15]()[ BOp.bopId=15, BOp.evaluationContext=CONTROLLER, PipelineOp.maxParallel=1, PipelineOp.pipelined=false, PipelineOp.maxMemory=9223372036854775807, PipelineOp.sharedState=true, IPredicate.relationName=[GOVTRACK.lex], SubqueryAnnotations.subquery=com.bigdata.bop.solutions.ProjectionOp[14](HTreeDistinctBindingSetsOp[12])[ BOp.bopId=14, BOp.evaluationContext=CONTROLLER, PipelineOp.sharedState=true, JoinAnnotations.select=[_var3]], HashJoinAnnotations.joinVars=[], namedSetRef=NamedSolutionSetRef{localName=%_set1,queryId=65c7a8b5-9b44-4849-872c-457eed3ff769,joinVars=[]}]
           [java]                 @com.bigdata.bop.controller.SubqueryAnnotations.subquery:
           [java]                   com.bigdata.bop.solutions.ProjectionOp[14](HTreeDistinctBindingSetsOp[12])[ BOp.bopId=14, BOp.evaluationContext=CONTROLLER, PipelineOp.sharedState=true, JoinAnnotations.select=[_var3]]
           [java]                     com.bigdata.bop.solutions.HTreeDistinctBindingSetsOp[12](PipelineJoin[11])[ BOp.bopId=12, HashJoinAnnotations.joinVars=[_var3], BOp.evaluationContext=CONTROLLER, namedSetRef=NamedSolutionSetRef{localName=--distinct-13,queryId=65c7a8b5-9b44-4849-872c-457eed3ff769,joinVars=[_var3]}, PipelineOp.sharedState=true, PipelineOp.maxParallel=1]
           [java]                       com.bigdata.bop.join.PipelineJoin[11](PipelineJoin[8])[ BOp.bopId=11, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=ANY, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[9](_var6=null, TermId(1523438U)[http://www.rdfabout.com/rdf/schema/politico/party], TermId(1525944L)[Democrat], --anon-10=null)[ IPredicate.relationName=[GOVTRACK.spo], IPredicate.timestamp=1446318783710, BOp.bopId=9, AST2BOpBase.estimatedCardinality=19487, AST2BOpBase.originalIndex=POCS, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL], IPredicate.accessPathFilter=cutthecrap.utils.striterators.NOPFilter@1843009f{annotations=null,filterChain=[com.bigdata.bop.rdf.filter.StripContextFilter(), com.bigdata.bop.ap.filter.DistinctFilter()]}]]
           [java]                         com.bigdata.bop.join.PipelineJoin[8](PipelineJoin[5])[ BOp.bopId=8, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=ANY, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[6](_var3=null, TermId(1523437U)[http://www.rdfabout.com/rdf/schema/politico/hasRole], _var6=null, --anon-7=null)[ IPredicate.relationName=[GOVTRACK.spo], IPredicate.timestamp=1446318783710, BOp.bopId=6, AST2BOpBase.estimatedCardinality=42049, AST2BOpBase.originalIndex=POCS, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL], IPredicate.accessPathFilter=cutthecrap.utils.striterators.NOPFilter@56ddd32a{annotations=null,filterChain=[com.bigdata.bop.rdf.filter.StripContextFilter(), com.bigdata.bop.ap.filter.DistinctFilter()]}]]
           [java]                           com.bigdata.bop.join.PipelineJoin[5](HTreeDistinctBindingSetsOp[2])[ BOp.bopId=5, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=ANY, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[3](_var3=null, Vocab(14)[http://www.w3.org/1999/02/22-rdf-syntax-ns#type], TermId(1523439U)[http://www.rdfabout.com/rdf/schema/politico/Politician], --anon-4=null)[ IPredicate.relationName=[GOVTRACK.spo], IPredicate.timestamp=1446318783710, BOp.bopId=3, AST2BOpBase.estimatedCardinality=12483, AST2BOpBase.originalIndex=POCS, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL], IPredicate.accessPathFilter=cutthecrap.utils.striterators.NOPFilter@7d5296f3{annotations=null,filterChain=[com.bigdata.bop.rdf.filter.StripContextFilter(), com.bigdata.bop.ap.filter.DistinctFilter()]}]]
           [java]                             com.bigdata.bop.solutions.HTreeDistinctBindingSetsOp[2]()[ BOp.bopId=2, HashJoinAnnotations.joinVars=[_var3], BOp.evaluationContext=CONTROLLER, PipelineOp.sharedState=true, PipelineOp.maxParallel=1, namedSetRef=NamedSolutionSetRef{localName=--distinct-1,queryId=65c7a8b5-9b44-4849-872c-457eed3ff769,joinVars=[_var3]}]
           [java] INFO : AST2BOpUtility.java:314: 
           [java] queryString
           [java] PREFIX p1: <http://www.rdfabout.com/rdf/schema/usgovt/>
           [java] PREFIX p2: <http://www.rdfabout.com/rdf/schema/vote/>
           [java] PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
           [java] PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
           [java] 
           [java] SELECT (SAMPLE(?_var9) AS ?_var1) ?_var2 ?_var3
           [java] WITH {
           [java]   SELECT DISTINCT ?_var3
           [java]   WHERE {
           [java]     ?_var3 rdf:type <http://www.rdfabout.com/rdf/schema/politico/Politician>.
           [java]     ?_var3 <http://www.rdfabout.com/rdf/schema/politico/hasRole> ?_var6. 
           [java]     ?_var6 <http://www.rdfabout.com/rdf/schema/politico/party> "Democrat".
           [java]   }
           [java] } AS %_set1
           [java] WHERE {
           [java] INCLUDE %_set1 .
           [java]   OPTIONAL {
           [java]     ?_var3 p1:name ?_var9
           [java]   } 
           [java]   OPTIONAL {
           [java]     ?_var10 p2:votedBy ?_var3. 
           [java]     ?_var10 rdfs:label ?_var2.
           [java]   }
           [java] }
           [java] GROUP BY ?_var2 ?_var3
           [java] 
           [java] parseTree
           [java] QueryContainer
           [java]  PrefixDecl (prefix=p1)
           [java]   IRI (http://www.rdfabout.com/rdf/schema/usgovt/)
           [java]  PrefixDecl (prefix=p2)
           [java]   IRI (http://www.rdfabout.com/rdf/schema/vote/)
           [java]  PrefixDecl (prefix=rdf)
           [java]   IRI (http://www.w3.org/1999/02/22-rdf-syntax-ns#)
           [java]  PrefixDecl (prefix=rdfs)
           [java]   IRI (http://www.w3.org/2000/01/rdf-schema#)
           [java]  SelectQuery
           [java]   Select
           [java]    ProjectionElem
           [java]     Sample
           [java]      Var (_var9)
           [java]     Var (_var1)
           [java]    ProjectionElem
           [java]     Var (_var2)
           [java]    ProjectionElem
           [java]     Var (_var3)
           [java]   NamedSubquery
           [java]    SelectQuery
           [java]     Select ( distinct )
           [java]      ProjectionElem
           [java]       Var (_var3)
           [java]     WhereClause
           [java]      GraphPatternGroup
           [java]       BasicGraphPattern
           [java]        TriplesSameSubjectPath
           [java]         Var (_var3)
           [java]         PropertyListPath
           [java]          PathAlternative
           [java]           PathSequence
           [java]            PathElt
           [java]             IRI (http://www.w3.org/1999/02/22-rdf-syntax-ns#type)
           [java]          ObjectList
           [java]           IRI (http://www.rdfabout.com/rdf/schema/politico/Politician)
           [java]        TriplesSameSubjectPath
           [java]         Var (_var3)
           [java]         PropertyListPath
           [java]          PathAlternative
           [java]           PathSequence
           [java]            PathElt
           [java]             IRI (http://www.rdfabout.com/rdf/schema/politico/hasRole)
           [java]          ObjectList
           [java]           Var (_var6)
           [java]        TriplesSameSubjectPath
           [java]         Var (_var6)
           [java]         PropertyListPath
           [java]          PathAlternative
           [java]           PathSequence
           [java]            PathElt
           [java]             IRI (http://www.rdfabout.com/rdf/schema/politico/party)
           [java]          ObjectList
           [java]           RDFLiteral
           [java]            String (Democrat)
           [java]   WhereClause
           [java]    GraphPatternGroup
           [java]     BasicGraphPattern
           [java]      NamedSubqueryInclude
           [java]     OptionalGraphPattern
           [java]      BasicGraphPattern
           [java]       TriplesSameSubjectPath
           [java]        Var (_var3)
           [java]        PropertyListPath
           [java]         PathAlternative
           [java]          PathSequence
           [java]           PathElt
           [java]            IRI (http://www.rdfabout.com/rdf/schema/usgovt/name)
           [java]         ObjectList
           [java]          Var (_var9)
           [java]     OptionalGraphPattern
           [java]      BasicGraphPattern
           [java]       TriplesSameSubjectPath
           [java]        Var (_var10)
           [java]        PropertyListPath
           [java]         PathAlternative
           [java]          PathSequence
           [java]           PathElt
           [java]            IRI (http://www.rdfabout.com/rdf/schema/vote/votedBy)
           [java]         ObjectList
           [java]          Var (_var3)
           [java]       TriplesSameSubjectPath
           [java]        Var (_var10)
           [java]        PropertyListPath
           [java]         PathAlternative
           [java]          PathSequence
           [java]           PathElt
           [java]            IRI (http://www.w3.org/2000/01/rdf-schema#label)
           [java]         ObjectList
           [java]          Var (_var2)
           [java]   GroupClause
           [java]    GroupCondition
           [java]     Var (_var2)
           [java]    GroupCondition
           [java]     Var (_var3)
           [java] originalAST
           [java] PREFIX p1: <http://www.rdfabout.com/rdf/schema/usgovt/>
           [java] PREFIX p2: <http://www.rdfabout.com/rdf/schema/vote/>
           [java] PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
           [java] PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
           [java] PREFIX sesame: <http://www.openrdf.org/schema/sesame#>
           [java] PREFIX owl: <http://www.w3.org/2002/07/owl#>
           [java] PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
           [java] PREFIX fn: <http://www.w3.org/2005/xpath-functions#>
           [java] PREFIX foaf: <http://xmlns.com/foaf/0.1/>
           [java] PREFIX dc: <http://purl.org/dc/elements/1.1/>
           [java] PREFIX hint: <http://www.bigdata.com/queryHints#>
           [java] PREFIX bd: <http://www.bigdata.com/rdf#>
           [java] PREFIX bds: <http://www.bigdata.com/rdf/search#>
           [java] WITH {
           [java]   QueryType: SELECT
           [java]   SELECT DISTINCT VarNode(_var3)
           [java]     JoinGroupNode {
           [java]       StatementPatternNode(VarNode(_var3), ConstantNode(Vocab(14)[http://www.w3.org/1999/02/22-rdf-syntax-ns#type]), ConstantNode(TermId(1523439U)[http://www.rdfabout.com/rdf/schema/politico/Politician])) [scope=DEFAULT_CONTEXTS]
           [java]       StatementPatternNode(VarNode(_var3), ConstantNode(TermId(1523437U)[http://www.rdfabout.com/rdf/schema/politico/hasRole]), VarNode(_var6)) [scope=DEFAULT_CONTEXTS]
           [java]       StatementPatternNode(VarNode(_var6), ConstantNode(TermId(1523438U)[http://www.rdfabout.com/rdf/schema/politico/party]), ConstantNode(TermId(1525944L)[Democrat])) [scope=DEFAULT_CONTEXTS]
           [java]     }
           [java] } AS %_set1
           [java] QueryType: SELECT
           [java] includeInferred=true
           [java] SELECT ( com.bigdata.rdf.sparql.ast.FunctionNode(VarNode(_var9))[ FunctionNode.scalarVals=null, FunctionNode.functionURI=http://www.w3.org/2006/sparql-functions#sample, valueExpr=com.bigdata.bop.rdf.aggregate.SAMPLE(_var9)[ AggregateBase.distinct=false]] AS VarNode(_var1) ) VarNode(_var2) VarNode(_var3)
           [java]   JoinGroupNode {
           [java]     INCLUDE %_set1
           [java]     JoinGroupNode [optional] {
           [java]       StatementPatternNode(VarNode(_var3), ConstantNode(TermId(2043044U)[http://www.rdfabout.com/rdf/schema/usgovt/name]), VarNode(_var9)) [scope=DEFAULT_CONTEXTS]
           [java]     }
           [java]     JoinGroupNode [optional] {
           [java]       StatementPatternNode(VarNode(_var10), ConstantNode(TermId(6U)[http://www.rdfabout.com/rdf/schema/vote/votedBy]), VarNode(_var3)) [scope=DEFAULT_CONTEXTS]
           [java]       StatementPatternNode(VarNode(_var10), ConstantNode(Vocab(25)[http://www.w3.org/2000/01/rdf-schema#label]), VarNode(_var2)) [scope=DEFAULT_CONTEXTS]
           [java]     }
           [java]   }
           [java] group by VarNode(_var2) VarNode(_var3)
           [java] optimizedAST
           [java] PREFIX p1: <http://www.rdfabout.com/rdf/schema/usgovt/>
           [java] PREFIX p2: <http://www.rdfabout.com/rdf/schema/vote/>
           [java] PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
           [java] PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
           [java] PREFIX sesame: <http://www.openrdf.org/schema/sesame#>
           [java] PREFIX owl: <http://www.w3.org/2002/07/owl#>
           [java] PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
           [java] PREFIX fn: <http://www.w3.org/2005/xpath-functions#>
           [java] PREFIX foaf: <http://xmlns.com/foaf/0.1/>
           [java] PREFIX dc: <http://purl.org/dc/elements/1.1/>
           [java] PREFIX hint: <http://www.bigdata.com/queryHints#>
           [java] PREFIX bd: <http://www.bigdata.com/rdf#>
           [java] PREFIX bds: <http://www.bigdata.com/rdf/search#>
           [java] WITH {
           [java]   QueryType: SELECT
           [java]   SELECT DISTINCT ( VarNode(_var3) AS VarNode(_var3) )
           [java]     JoinGroupNode {
           [java]       StatementPatternNode(VarNode(_var3), ConstantNode(Vocab(14)[http://www.w3.org/1999/02/22-rdf-syntax-ns#type]), ConstantNode(TermId(1523439U)[http://www.rdfabout.com/rdf/schema/politico/Politician])) [scope=DEFAULT_CONTEXTS]
           [java]         AST2BOpBase.estimatedCardinality=12483
           [java]         AST2BOpBase.originalIndex=POCS
           [java]       StatementPatternNode(VarNode(_var3), ConstantNode(TermId(1523437U)[http://www.rdfabout.com/rdf/schema/politico/hasRole]), VarNode(_var6)) [scope=DEFAULT_CONTEXTS]
           [java]         AST2BOpBase.estimatedCardinality=42049
           [java]         AST2BOpBase.originalIndex=POCS
           [java]       StatementPatternNode(VarNode(_var6), ConstantNode(TermId(1523438U)[http://www.rdfabout.com/rdf/schema/politico/party]), ConstantNode(TermId(1525944L)[Democrat])) [scope=DEFAULT_CONTEXTS]
           [java]         AST2BOpBase.estimatedCardinality=19487
           [java]         AST2BOpBase.originalIndex=POCS
           [java]     }
           [java] } AS %_set1 JOIN ON () DEPENDS ON ()
           [java] QueryType: SELECT
           [java] includeInferred=true
           [java] SELECT ( com.bigdata.rdf.sparql.ast.FunctionNode(VarNode(_var9))[ FunctionNode.scalarVals=null, FunctionNode.functionURI=http://www.w3.org/2006/sparql-functions#sample, valueExpr=com.bigdata.bop.rdf.aggregate.SAMPLE(_var9)[ AggregateBase.distinct=false]] AS VarNode(_var1) ) ( VarNode(_var2) AS VarNode(_var2) ) ( VarNode(_var3) AS VarNode(_var3) )
           [java]   JoinGroupNode {
           [java]     INCLUDE %_set1 JOIN ON ()
           [java]     StatementPatternNode(VarNode(_var3), ConstantNode(TermId(2043044U)[http://www.rdfabout.com/rdf/schema/usgovt/name]), VarNode(_var9)) [scope=DEFAULT_CONTEXTS] [optional]
           [java]       AST2BOpBase.estimatedCardinality=12483
           [java]       AST2BOpBase.originalIndex=POCS
           [java]     JoinGroupNode [optional] [joinVars=[_var3]] [projectInVars=[_var3]] {
           [java]       StatementPatternNode(VarNode(_var10), ConstantNode(TermId(6U)[http://www.rdfabout.com/rdf/schema/vote/votedBy]), VarNode(_var3)) [scope=DEFAULT_CONTEXTS]
           [java]         AST2BOpBase.estimatedCardinality=20968700
           [java]         AST2BOpBase.originalIndex=POCS
           [java]       StatementPatternNode(VarNode(_var10), ConstantNode(Vocab(25)[http://www.w3.org/2000/01/rdf-schema#label]), VarNode(_var2)) [scope=DEFAULT_CONTEXTS]
           [java]         AST2BOpBase.estimatedCardinality=514182
           [java]         AST2BOpBase.originalIndex=POCS
           [java]     } JOIN ON (_var3)
           [java]   }
           [java] group by ( VarNode(_var2) AS VarNode(_var2) ) ( VarNode(_var3) AS VarNode(_var3) )
           [java] queryPlan
           [java] com.bigdata.bop.solutions.ProjectionOp[30](PipelinedAggregationOp[29])[ BOp.bopId=30, BOp.evaluationContext=CONTROLLER, PipelineOp.sharedState=true, JoinAnnotations.select=[_var1, _var2, _var3], QueryEngine.queryId=65c7a8b5-9b44-4849-872c-457eed3ff769]
           [java]   com.bigdata.bop.solutions.PipelinedAggregationOp[29](HTreeSolutionSetHashJoinOp[28])[ BOp.bopId=29, BOp.evaluationContext=CONTROLLER, PipelineOp.pipelined=true, PipelineOp.maxParallel=1, PipelineOp.sharedState=true, GroupByOp.groupByState=GroupByState{select=[com.bigdata.bop.Bind(_var1,com.bigdata.bop.rdf.aggregate.SAMPLE(_var9)[ AggregateBase.distinct=false]), com.bigdata.bop.Bind(_var2,_var2), com.bigdata.bop.Bind(_var3,_var3)],groupBy=[com.bigdata.bop.Bind(_var2,_var2), com.bigdata.bop.Bind(_var3,_var3)],having=null}, GroupByOp.groupByRewrite=GroupByRewriter{aggExpr={com.bigdata.bop.rdf.aggregate.SAMPLE(_var9)[ AggregateBase.distinct=false]=f790d1d7-16ed-4d99-a18e-dee8ddd94a86},select2=[com.bigdata.bop.Bind(_var1,f790d1d7-16ed-4d99-a18e-dee8ddd94a86), com.bigdata.bop.Bind(_var2,_var2), com.bigdata.bop.Bind(_var3,_var3)],having2=null}, PipelineOp.lastPass=true]
           [java]     com.bigdata.bop.join.HTreeSolutionSetHashJoinOp[28](PipelineJoin[27])[ BOp.bopId=28, BOp.evaluationContext=CONTROLLER, PipelineOp.maxParallel=1, PipelineOp.sharedState=true, JoinAnnotations.constraints=null, SolutionSetHashJoinOp.release=true, PipelineOp.lastPass=true, namedSetRef=NamedSolutionSetRef{localName=--set-20,queryId=65c7a8b5-9b44-4849-872c-457eed3ff769,joinVars=[_var3]}]
           [java]       com.bigdata.bop.join.PipelineJoin[27](PipelineJoin[24])[ BOp.bopId=27, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=ANY, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[25](_var10=null, Vocab(25)[http://www.w3.org/2000/01/rdf-schema#label], _var2=null, --anon-26=null)[ IPredicate.relationName=[GOVTRACK.spo], IPredicate.timestamp=1446318783710, BOp.bopId=25, AST2BOpBase.estimatedCardinality=514182, AST2BOpBase.originalIndex=POCS, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL], IPredicate.accessPathFilter=cutthecrap.utils.striterators.NOPFilter@456cd91d{annotations=null,filterChain=[com.bigdata.bop.rdf.filter.StripContextFilter(), com.bigdata.bop.ap.filter.DistinctFilter()]}]]
           [java]         com.bigdata.bop.join.PipelineJoin[24](HashIndexOp[21])[ BOp.bopId=24, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=ANY, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[22](_var10=null, TermId(6U)[http://www.rdfabout.com/rdf/schema/vote/votedBy], _var3=null, --anon-23=null)[ IPredicate.relationName=[GOVTRACK.spo], IPredicate.timestamp=1446318783710, BOp.bopId=22, AST2BOpBase.estimatedCardinality=20968700, AST2BOpBase.originalIndex=POCS, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL], IPredicate.accessPathFilter=cutthecrap.utils.striterators.NOPFilter@6d222286{annotations=null,filterChain=[com.bigdata.bop.rdf.filter.StripContextFilter(), com.bigdata.bop.ap.filter.DistinctFilter()]}]]
           [java]           com.bigdata.bop.join.HashIndexOp[21](PipelineJoin[19])[ BOp.bopId=21, BOp.evaluationContext=CONTROLLER, PipelineOp.maxParallel=1, PipelineOp.lastPass=true, PipelineOp.sharedState=true, JoinAnnotations.joinType=Optional, HashJoinAnnotations.joinVars=[_var3], HashJoinAnnotations.outputDistinctJVs=true, JoinAnnotations.constraints=null, HashIndexOpBase.utilFactory=com.bigdata.bop.join.HTreeHashJoinUtility$1@5c08c363, namedSetRef=NamedSolutionSetRef{localName=--set-20,queryId=65c7a8b5-9b44-4849-872c-457eed3ff769,joinVars=[_var3]}]
           [java]             com.bigdata.bop.join.PipelineJoin[19](HTreeSolutionSetHashJoinOp[16])[ BOp.bopId=19, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=ANY, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[17](_var3=null, TermId(2043044U)[http://www.rdfabout.com/rdf/schema/usgovt/name], _var9=null, --anon-18=null)[ IPredicate.relationName=[GOVTRACK.spo], IPredicate.timestamp=1446318783710, BOp.bopId=17, AST2BOpBase.estimatedCardinality=12483, AST2BOpBase.originalIndex=POCS, IPredicate.optional=true, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL], IPredicate.accessPathFilter=cutthecrap.utils.striterators.NOPFilter@4353c7c9{annotations=null,filterChain=[com.bigdata.bop.rdf.filter.StripContextFilter(), com.bigdata.bop.ap.filter.DistinctFilter()]}]]
           [java]               com.bigdata.bop.join.HTreeSolutionSetHashJoinOp[16](HTreeNamedSubqueryOp[15])[ BOp.bopId=16, BOp.evaluationContext=CONTROLLER, PipelineOp.sharedState=true, namedSetRef=NamedSolutionSetRef{localName=%_set1,queryId=65c7a8b5-9b44-4849-872c-457eed3ff769,joinVars=[]}, JoinAnnotations.constraints=null, SolutionSetHashJoinOp.release=false]
           [java]                 com.bigdata.bop.controller.HTreeNamedSubqueryOp[15]()[ BOp.bopId=15, BOp.evaluationContext=CONTROLLER, PipelineOp.maxParallel=1, PipelineOp.pipelined=false, PipelineOp.maxMemory=9223372036854775807, PipelineOp.sharedState=true, IPredicate.relationName=[GOVTRACK.lex], SubqueryAnnotations.subquery=com.bigdata.bop.solutions.ProjectionOp[14](HTreeDistinctBindingSetsOp[12])[ BOp.bopId=14, BOp.evaluationContext=CONTROLLER, PipelineOp.sharedState=true, JoinAnnotations.select=[_var3]], HashJoinAnnotations.joinVars=[], namedSetRef=NamedSolutionSetRef{localName=%_set1,queryId=65c7a8b5-9b44-4849-872c-457eed3ff769,joinVars=[]}]
           [java]                 @com.bigdata.bop.controller.SubqueryAnnotations.subquery:
           [java]                   com.bigdata.bop.solutions.ProjectionOp[14](HTreeDistinctBindingSetsOp[12])[ BOp.bopId=14, BOp.evaluationContext=CONTROLLER, PipelineOp.sharedState=true, JoinAnnotations.select=[_var3]]
           [java]                     com.bigdata.bop.solutions.HTreeDistinctBindingSetsOp[12](PipelineJoin[11])[ BOp.bopId=12, HashJoinAnnotations.joinVars=[_var3], BOp.evaluationContext=CONTROLLER, namedSetRef=NamedSolutionSetRef{localName=--distinct-13,queryId=65c7a8b5-9b44-4849-872c-457eed3ff769,joinVars=[_var3]}, PipelineOp.sharedState=true, PipelineOp.maxParallel=1]
           [java]                       com.bigdata.bop.join.PipelineJoin[11](PipelineJoin[8])[ BOp.bopId=11, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=ANY, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[9](_var6=null, TermId(1523438U)[http://www.rdfabout.com/rdf/schema/politico/party], TermId(1525944L)[Democrat], --anon-10=null)[ IPredicate.relationName=[GOVTRACK.spo], IPredicate.timestamp=1446318783710, BOp.bopId=9, AST2BOpBase.estimatedCardinality=19487, AST2BOpBase.originalIndex=POCS, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL], IPredicate.accessPathFilter=cutthecrap.utils.striterators.NOPFilter@1843009f{annotations=null,filterChain=[com.bigdata.bop.rdf.filter.StripContextFilter(), com.bigdata.bop.ap.filter.DistinctFilter()]}]]
           [java]                         com.bigdata.bop.join.PipelineJoin[8](PipelineJoin[5])[ BOp.bopId=8, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=ANY, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[6](_var3=null, TermId(1523437U)[http://www.rdfabout.com/rdf/schema/politico/hasRole], _var6=null, --anon-7=null)[ IPredicate.relationName=[GOVTRACK.spo], IPredicate.timestamp=1446318783710, BOp.bopId=6, AST2BOpBase.estimatedCardinality=42049, AST2BOpBase.originalIndex=POCS, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL], IPredicate.accessPathFilter=cutthecrap.utils.striterators.NOPFilter@56ddd32a{annotations=null,filterChain=[com.bigdata.bop.rdf.filter.StripContextFilter(), com.bigdata.bop.ap.filter.DistinctFilter()]}]]
           [java]                           com.bigdata.bop.join.PipelineJoin[5](HTreeDistinctBindingSetsOp[2])[ BOp.bopId=5, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=ANY, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[3](_var3=null, Vocab(14)[http://www.w3.org/1999/02/22-rdf-syntax-ns#type], TermId(1523439U)[http://www.rdfabout.com/rdf/schema/politico/Politician], --anon-4=null)[ IPredicate.relationName=[GOVTRACK.spo], IPredicate.timestamp=1446318783710, BOp.bopId=3, AST2BOpBase.estimatedCardinality=12483, AST2BOpBase.originalIndex=POCS, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL], IPredicate.accessPathFilter=cutthecrap.utils.striterators.NOPFilter@7d5296f3{annotations=null,filterChain=[com.bigdata.bop.rdf.filter.StripContextFilter(), com.bigdata.bop.ap.filter.DistinctFilter()]}]]
           [java]                             com.bigdata.bop.solutions.HTreeDistinctBindingSetsOp[2]()[ BOp.bopId=2, HashJoinAnnotations.joinVars=[_var3], BOp.evaluationContext=CONTROLLER, PipelineOp.sharedState=true, PipelineOp.maxParallel=1, namedSetRef=NamedSolutionSetRef{localName=--distinct-1,queryId=65c7a8b5-9b44-4849-872c-457eed3ff769,joinVars=[_var3]}]
           [java] INFO : ASTEvalHelper.java:1198: PREFIX p1: <http://www.rdfabout.com/rdf/schema/usgovt/>
           [java] PREFIX p2: <http://www.rdfabout.com/rdf/schema/vote/>
           [java] PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
           [java] PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
           [java] 
           [java] SELECT (SAMPLE(?_var9) AS ?_var1) ?_var2 ?_var3
           [java] WITH {
           [java]   SELECT DISTINCT ?_var3
           [java]   WHERE {
           [java]     ?_var3 rdf:type <http://www.rdfabout.com/rdf/schema/politico/Politician>.
           [java]     ?_var3 <http://www.rdfabout.com/rdf/schema/politico/hasRole> ?_var6. 
           [java]     ?_var6 <http://www.rdfabout.com/rdf/schema/politico/party> "Democrat".
           [java]   }
           [java] } AS %_set1
           [java] WHERE {
           [java] INCLUDE %_set1 .
           [java]   OPTIONAL {
           [java]     ?_var3 p1:name ?_var9
           [java]   } 
           [java]   OPTIONAL {
           [java]     ?_var10 p2:votedBy ?_var3. 
           [java]     ?_var10 rdfs:label ?_var2.
           [java]   }
           [java] }
           [java] GROUP BY ?_var2 ?_var3
           [java] ERROR: Haltable.java:469: com.bigdata.util.concurrent.Haltable@1b821947 : isFirstCause=true : java.lang.IllegalStateException: Required property: com.bigdata.bop.IPredicate.relationName : class com.bigdata.bop.join.HashIndexOp
           [java] java.lang.IllegalStateException: Required property: com.bigdata.bop.IPredicate.relationName : class com.bigdata.bop.join.HashIndexOp
           [java] 	at com.bigdata.bop.CoreBaseBOp.getRequiredProperty(CoreBaseBOp.java:243)
           [java] 	at com.bigdata.rdf.internal.encoder.IVBindingSetEncoderWithIVCache.<init>(IVBindingSetEncoderWithIVCache.java:279)
           [java] 	at com.bigdata.bop.join.HTreeHashJoinUtility.<init>(HTreeHashJoinUtility.java:582)
           [java] 	at com.bigdata.bop.join.HTreeHashJoinUtility$1.create(HTreeHashJoinUtility.java:141)
           [java] 	at com.bigdata.bop.join.HashIndexOpBase$ChunkTaskBase.<init>(HashIndexOpBase.java:271)
           [java] 	at com.bigdata.bop.join.HashIndexOp$ChunkTask.<init>(HashIndexOp.java:119)
           [java] 	at com.bigdata.bop.join.HashIndexOp.createChunkTask(HashIndexOp.java:110)
           [java] 	at com.bigdata.bop.join.HashIndexOpBase.eval(HashIndexOpBase.java:189)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTask.<init>(ChunkedRunningQuery.java:1274)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery.scheduleNext(ChunkedRunningQuery.java:678)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery.acceptChunk(ChunkedRunningQuery.java:329)
           [java] 	at com.bigdata.bop.engine.QueryEngine.acceptChunk(QueryEngine.java:1122)
           [java] 	at com.bigdata.bop.engine.StandaloneChunkHandler.handleChunk(StandaloneChunkHandler.java:66)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$HandleChunkBuffer.outputChunk(ChunkedRunningQuery.java:1668)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$HandleChunkBuffer.addReorderAllowed(ChunkedRunningQuery.java:1597)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$HandleChunkBuffer.add(ChunkedRunningQuery.java:1538)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$HandleChunkBuffer.add(ChunkedRunningQuery.java:1422)
           [java] 	at com.bigdata.relation.accesspath.UnsyncLocalOutputBuffer.handleChunk(UnsyncLocalOutputBuffer.java:59)
           [java] 	at com.bigdata.relation.accesspath.UnsyncLocalOutputBuffer.handleChunk(UnsyncLocalOutputBuffer.java:14)
           [java] 	at com.bigdata.relation.accesspath.AbstractUnsynchronizedArrayBuffer.overflow(AbstractUnsynchronizedArrayBuffer.java:275)
           [java] 	at com.bigdata.relation.accesspath.AbstractUnsynchronizedArrayBuffer.flush(AbstractUnsynchronizedArrayBuffer.java:301)
           [java] 	at com.bigdata.relation.accesspath.ThreadLocalBufferFactory.flush(ThreadLocalBufferFactory.java:161)
           [java] 	at com.bigdata.bop.join.PipelineJoin$JoinTask.call(PipelineJoin.java:589)
           [java] 	at com.bigdata.bop.join.PipelineJoin$JoinTask.call(PipelineJoin.java:343)
           [java] 	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
           [java] 	at com.bigdata.concurrent.FutureTaskMon.run(FutureTaskMon.java:63)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTask.call(ChunkedRunningQuery.java:1315)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTaskWrapper.run(ChunkedRunningQuery.java:895)
           [java] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
           [java] 	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
           [java] 	at com.bigdata.concurrent.FutureTaskMon.run(FutureTaskMon.java:63)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkFutureTask.run(ChunkedRunningQuery.java:790)
           [java] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
           [java] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
           [java] 	at java.lang.Thread.run(Thread.java:745)
           [java] WARN : Haltable.java:474: com.bigdata.util.concurrent.Haltable@1b821947 : isFirstCause=false : java.lang.InterruptedException
           [java] java.lang.InterruptedException
           [java] 	at com.bigdata.util.concurrent.Haltable.cancel(Haltable.java:241)
           [java] 	at com.bigdata.bop.engine.AbstractRunningQuery.cancel(AbstractRunningQuery.java:1346)
           [java] 	at com.bigdata.bop.engine.AbstractRunningQuery.halt(AbstractRunningQuery.java:1311)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery.scheduleNext(ChunkedRunningQuery.java:684)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery.acceptChunk(ChunkedRunningQuery.java:329)
           [java] 	at com.bigdata.bop.engine.QueryEngine.acceptChunk(QueryEngine.java:1122)
           [java] 	at com.bigdata.bop.engine.StandaloneChunkHandler.handleChunk(StandaloneChunkHandler.java:66)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$HandleChunkBuffer.outputChunk(ChunkedRunningQuery.java:1668)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$HandleChunkBuffer.addReorderAllowed(ChunkedRunningQuery.java:1597)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$HandleChunkBuffer.add(ChunkedRunningQuery.java:1538)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$HandleChunkBuffer.add(ChunkedRunningQuery.java:1422)
           [java] 	at com.bigdata.relation.accesspath.UnsyncLocalOutputBuffer.handleChunk(UnsyncLocalOutputBuffer.java:59)
           [java] 	at com.bigdata.relation.accesspath.UnsyncLocalOutputBuffer.handleChunk(UnsyncLocalOutputBuffer.java:14)
           [java] 	at com.bigdata.relation.accesspath.AbstractUnsynchronizedArrayBuffer.overflow(AbstractUnsynchronizedArrayBuffer.java:275)
           [java] 	at com.bigdata.relation.accesspath.AbstractUnsynchronizedArrayBuffer.flush(AbstractUnsynchronizedArrayBuffer.java:301)
           [java] 	at com.bigdata.relation.accesspath.ThreadLocalBufferFactory.flush(ThreadLocalBufferFactory.java:161)
           [java] 	at com.bigdata.bop.join.PipelineJoin$JoinTask.call(PipelineJoin.java:589)
           [java] 	at com.bigdata.bop.join.PipelineJoin$JoinTask.call(PipelineJoin.java:343)
           [java] 	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
           [java] 	at com.bigdata.concurrent.FutureTaskMon.run(FutureTaskMon.java:63)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTask.call(ChunkedRunningQuery.java:1315)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTaskWrapper.run(ChunkedRunningQuery.java:895)
           [java] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
           [java] 	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
           [java] 	at com.bigdata.concurrent.FutureTaskMon.run(FutureTaskMon.java:63)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkFutureTask.run(ChunkedRunningQuery.java:790)
           [java] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
           [java] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
           [java] 	at java.lang.Thread.run(Thread.java:745)
           [java] ERROR: Haltable.java:469: com.bigdata.bop.join.PipelineJoin$JoinTask{ joinOp=com.bigdata.bop.join.PipelineJoin[19](HTreeSolutionSetHashJoinOp[16])[ BOp.bopId=19, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=ANY, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[17](_var3=null, TermId(2043044U)[http://www.rdfabout.com/rdf/schema/usgovt/name], _var9=null, --anon-18=null)[ IPredicate.relationName=[GOVTRACK.spo], IPredicate.timestamp=1446318783710, BOp.bopId=17, AST2BOpBase.estimatedCardinality=12483, AST2BOpBase.originalIndex=POCS, IPredicate.optional=true, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL], IPredicate.accessPathFilter=cutthecrap.utils.striterators.NOPFilter@4353c7c9{annotations=null,filterChain=[com.bigdata.bop.rdf.filter.StripContextFilter(), com.bigdata.bop.ap.filter.DistinctFilter()]}]]} : isFirstCause=true : java.lang.RuntimeException: java.lang.RuntimeException: java.lang.IllegalStateException: Required property: com.bigdata.bop.IPredicate.relationName : class com.bigdata.bop.join.HashIndexOp
           [java] java.lang.RuntimeException: java.lang.RuntimeException: java.lang.IllegalStateException: Required property: com.bigdata.bop.IPredicate.relationName : class com.bigdata.bop.join.HashIndexOp
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery.scheduleNext(ChunkedRunningQuery.java:717)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery.acceptChunk(ChunkedRunningQuery.java:329)
           [java] 	at com.bigdata.bop.engine.QueryEngine.acceptChunk(QueryEngine.java:1122)
           [java] 	at com.bigdata.bop.engine.StandaloneChunkHandler.handleChunk(StandaloneChunkHandler.java:66)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$HandleChunkBuffer.outputChunk(ChunkedRunningQuery.java:1668)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$HandleChunkBuffer.addReorderAllowed(ChunkedRunningQuery.java:1597)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$HandleChunkBuffer.add(ChunkedRunningQuery.java:1538)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$HandleChunkBuffer.add(ChunkedRunningQuery.java:1422)
           [java] 	at com.bigdata.relation.accesspath.UnsyncLocalOutputBuffer.handleChunk(UnsyncLocalOutputBuffer.java:59)
           [java] 	at com.bigdata.relation.accesspath.UnsyncLocalOutputBuffer.handleChunk(UnsyncLocalOutputBuffer.java:14)
           [java] 	at com.bigdata.relation.accesspath.AbstractUnsynchronizedArrayBuffer.overflow(AbstractUnsynchronizedArrayBuffer.java:275)
           [java] 	at com.bigdata.relation.accesspath.AbstractUnsynchronizedArrayBuffer.flush(AbstractUnsynchronizedArrayBuffer.java:301)
           [java] 	at com.bigdata.relation.accesspath.ThreadLocalBufferFactory.flush(ThreadLocalBufferFactory.java:161)
           [java] 	at com.bigdata.bop.join.PipelineJoin$JoinTask.call(PipelineJoin.java:589)
           [java] 	at com.bigdata.bop.join.PipelineJoin$JoinTask.call(PipelineJoin.java:343)
           [java] 	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
           [java] 	at com.bigdata.concurrent.FutureTaskMon.run(FutureTaskMon.java:63)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTask.call(ChunkedRunningQuery.java:1315)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTaskWrapper.run(ChunkedRunningQuery.java:895)
           [java] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
           [java] 	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
           [java] 	at com.bigdata.concurrent.FutureTaskMon.run(FutureTaskMon.java:63)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkFutureTask.run(ChunkedRunningQuery.java:790)
           [java] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
           [java] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
           [java] 	at java.lang.Thread.run(Thread.java:745)
           [java] Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: Required property: com.bigdata.bop.IPredicate.relationName : class com.bigdata.bop.join.HashIndexOp
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery.scheduleNext(ChunkedRunningQuery.java:687)
           [java] 	... 25 more
           [java] Caused by: java.lang.IllegalStateException: Required property: com.bigdata.bop.IPredicate.relationName : class com.bigdata.bop.join.HashIndexOp
           [java] 	at com.bigdata.bop.CoreBaseBOp.getRequiredProperty(CoreBaseBOp.java:243)
           [java] 	at com.bigdata.rdf.internal.encoder.IVBindingSetEncoderWithIVCache.<init>(IVBindingSetEncoderWithIVCache.java:279)
           [java] 	at com.bigdata.bop.join.HTreeHashJoinUtility.<init>(HTreeHashJoinUtility.java:582)
           [java] 	at com.bigdata.bop.join.HTreeHashJoinUtility$1.create(HTreeHashJoinUtility.java:141)
           [java] 	at com.bigdata.bop.join.HashIndexOpBase$ChunkTaskBase.<init>(HashIndexOpBase.java:271)
           [java] 	at com.bigdata.bop.join.HashIndexOp$ChunkTask.<init>(HashIndexOp.java:119)
           [java] 	at com.bigdata.bop.join.HashIndexOp.createChunkTask(HashIndexOp.java:110)
           [java] 	at com.bigdata.bop.join.HashIndexOpBase.eval(HashIndexOpBase.java:189)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTask.<init>(ChunkedRunningQuery.java:1274)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery.scheduleNext(ChunkedRunningQuery.java:678)
           [java] 	... 25 more
           [java] WARN : Haltable.java:474: com.bigdata.util.concurrent.Haltable@1b821947 : isFirstCause=false : java.lang.Exception: task=ChunkTask{query=65c7a8b5-9b44-4849-872c-457eed3ff769,bopId=19,partitionId=-1,sinkId=21,altSinkId=null}, cause=java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.IllegalStateException: Required property: com.bigdata.bop.IPredicate.relationName : class com.bigdata.bop.join.HashIndexOp
           [java] java.lang.Exception: task=ChunkTask{query=65c7a8b5-9b44-4849-872c-457eed3ff769,bopId=19,partitionId=-1,sinkId=21,altSinkId=null}, cause=java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.IllegalStateException: Required property: com.bigdata.bop.IPredicate.relationName : class com.bigdata.bop.join.HashIndexOp
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTask.call(ChunkedRunningQuery.java:1336)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTaskWrapper.run(ChunkedRunningQuery.java:895)
           [java] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
           [java] 	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
           [java] 	at com.bigdata.concurrent.FutureTaskMon.run(FutureTaskMon.java:63)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkFutureTask.run(ChunkedRunningQuery.java:790)
           [java] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
           [java] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
           [java] 	at java.lang.Thread.run(Thread.java:745)
           [java] Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.IllegalStateException: Required property: com.bigdata.bop.IPredicate.relationName : class com.bigdata.bop.join.HashIndexOp
           [java] 	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
           [java] 	at java.util.concurrent.FutureTask.get(FutureTask.java:188)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTask.call(ChunkedRunningQuery.java:1316)
           [java] 	... 8 more
           [java] Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.IllegalStateException: Required property: com.bigdata.bop.IPredicate.relationName : class com.bigdata.bop.join.HashIndexOp
           [java] 	at com.bigdata.bop.join.PipelineJoin$JoinTask.call(PipelineJoin.java:643)
           [java] 	at com.bigdata.bop.join.PipelineJoin$JoinTask.call(PipelineJoin.java:343)
           [java] 	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
           [java] 	at com.bigdata.concurrent.FutureTaskMon.run(FutureTaskMon.java:63)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTask.call(ChunkedRunningQuery.java:1315)
           [java] 	... 8 more
           [java] Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.IllegalStateException: Required property: com.bigdata.bop.IPredicate.relationName : class com.bigdata.bop.join.HashIndexOp
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery.scheduleNext(ChunkedRunningQuery.java:717)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery.acceptChunk(ChunkedRunningQuery.java:329)
           [java] 	at com.bigdata.bop.engine.QueryEngine.acceptChunk(QueryEngine.java:1122)
           [java] 	at com.bigdata.bop.engine.StandaloneChunkHandler.handleChunk(StandaloneChunkHandler.java:66)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$HandleChunkBuffer.outputChunk(ChunkedRunningQuery.java:1668)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$HandleChunkBuffer.addReorderAllowed(ChunkedRunningQuery.java:1597)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$HandleChunkBuffer.add(ChunkedRunningQuery.java:1538)
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery$HandleChunkBuffer.add(ChunkedRunningQuery.java:1422)
           [java] 	at com.bigdata.relation.accesspath.UnsyncLocalOutputBuffer.handleChunk(UnsyncLocalOutputBuffer.java:59)
           [java] 	at com.bigdata.relation.accesspath.UnsyncLocalOutputBuffer.handleChunk(UnsyncLocalOutputBuffer.java:14)
           [java] 	at com.bigdata.relation.accesspath.AbstractUnsynchronizedArrayBuffer.overflow(AbstractUnsynchronizedArrayBuffer.java:275)
           [java] 	at com.bigdata.relation.accesspath.AbstractUnsynchronizedArrayBuffer.flush(AbstractUnsynchronizedArrayBuffer.java:301)
           [java] 	at com.bigdata.relation.accesspath.ThreadLocalBufferFactory.flush(ThreadLocalBufferFactory.java:161)
           [java] 	at com.bigdata.bop.join.PipelineJoin$JoinTask.call(PipelineJoin.java:589)
           [java] 	... 12 more
           [java] Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: Required property: com.bigdata.bop.IPredicate.relationName : class com.bigdata.bop.join.HashIndexOp
           [java] 	at com.bigdata.bop.engine.ChunkedRunningQuery.scheduleNext(ChunkedRunningQuery.java:687)
           [java] 	... 25 more
           [java] Caused by: java.lang.IllegalStateException: Required property: com.bigdata.bop.IPredicate.relationName : class com.bigdata.bop.join.HashIndexOp
           [java] 	at com.bigdat
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: