Revision: 7870
http://sourceforge.net/p/bigdata/code/7870
Author: mrpersonick
Date: 2014-02-22 18:42:26 +0000 (Sat, 22 Feb 2014)
Log Message:
-----------
get the asBound predicate right when the sidVar is bound in the incoming solution
Modified Paths:
--------------
branches/RDR/bigdata-rdf/src/java/com/bigdata/rdf/spo/SPOPredicate.java
Modified: branches/RDR/bigdata-rdf/src/java/com/bigdata/rdf/spo/SPOPredicate.java
===================================================================
--- branches/RDR/bigdata-rdf/src/java/com/bigdata/rdf/spo/SPOPredicate.java 2014-02-22 18:33:55 UTC (rev 7869)
+++ branches/RDR/bigdata-rdf/src/java/com/bigdata/rdf/spo/SPOPredicate.java 2014-02-22 18:42:26 UTC (rev 7870)
@@ -387,7 +387,7 @@
// inconsistent
return null;
- } else {
+ } else if (this.s().isVar()) {
bindingSet.set((IVariable) this.s(), new Constant<IV>(s));
@@ -398,7 +398,7 @@
// inconsistent
return null;
- } else {
+ } else if (this.p().isVar()) {
bindingSet.set((IVariable) this.p(), new Constant<IV>(p));
@@ -409,7 +409,7 @@
// inconsistent
return null;
- } else {
+ } else if (this.o().isVar()) {
bindingSet.set((IVariable) this.o(), new Constant<IV>(o));
@@ -421,7 +421,7 @@
// // inconsistent
// return null;
//
-// } else {
+// } else if (this.c().isVar()) {
//
// bindingSet.set((IVariable) this.c(), new Constant<IV>(c));
//
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|