You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2013/12/09 13:13:41 UTC
svn commit: r1549560 -
/jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/sparql/engine/main/iterator/QueryIterGraph.java
Author: andy
Date: Mon Dec 9 12:13:40 2013
New Revision: 1549560
URL: http://svn.apache.org/r1549560
Log:
JENA-609
Modified:
jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/sparql/engine/main/iterator/QueryIterGraph.java
Modified: jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/sparql/engine/main/iterator/QueryIterGraph.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/sparql/engine/main/iterator/QueryIterGraph.java?rev=1549560&r1=1549559&r2=1549560&view=diff
==============================================================================
--- jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/sparql/engine/main/iterator/QueryIterGraph.java (original)
+++ jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/sparql/engine/main/iterator/QueryIterGraph.java Mon Dec 9 12:13:40 2013
@@ -172,9 +172,9 @@ public class QueryIterGraph extends Quer
// Create the iterator - or return null if there can't be any results.
protected static QueryIterator buildIterator(Binding binding, Node graphNode, OpGraph opGraph, ExecutionContext outerCxt)
{
- if ( !graphNode.isURI() )
+ if ( !graphNode.isURI() && !graphNode.isBlank() )
// e.g. variable bound to a literal or blank node.
- throw new ARQInternalErrorException("QueryIterGraphInner.buildIterator") ;
+ throw new ARQInternalErrorException("QueryIterGraphInner.buildIterator: Not a URI or balnk node: "+graphNode) ;
// Think about avoiding substitution.
// If the subpattern does not involve the vars from the binding, avoid the substitute.