Skip to content

Commit aa98e98

Browse files
fixed bugs with woql queries
1 parent 98a1f31 commit aa98e98

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/woql.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,7 @@ TripleBuilder.prototype.comment = function(c, lang){
10041004
}
10051005

10061006
TripleBuilder.prototype.property = function(p,val){
1007-
p = this.cleanPredicate(p);
1007+
p = this.query.cleanPredicate(p);
10081008
return this.addPO(p, val);
10091009
}
10101010

lib/woqlResult.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ WOQLResult.prototype.first = function(){
3636
}
3737

3838
WOQLResult.prototype.last = function(){
39-
this.curor = this.bindings.length-1;
39+
this.cursor = this.bindings.length-1;
4040
return this.bindings[this.bindings.length-1];
4141
}
4242

0 commit comments

Comments
 (0)