Changed the Lexicon's registerBlank and resolveBlank methods (in rdfstore-js) to return int ids instead of strings
Returning strings confused the rdfstore's index structures such that queries would not work reliably.
@@ -1713,7 +1713,7 @@ Lexicon.Lexicon.prototype.registerBlank = function(label) {
this.oidCounter++;
var oidStr = ""+oid;
this.OIDToBlank[oidStr] = true;
- return(oidStr);
+ return(oid);
};
Lexicon.Lexicon.prototype.resolveBlank = function(label) {
@@ -1725,7 +1725,7 @@ Lexicon.Lexicon.prototype.resolveBlank = function(label) {
var oid = this.oidCounter;
this.oidCounter++;
- return(""+oid);
+ return(oid);
};
Lexicon.Lexicon.prototype.resolveBlankCost = function(label) {
