We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e95d587 commit 6337c35Copy full SHA for 6337c35
lib/woql.js
@@ -618,11 +618,11 @@ WOQLQuery.prototype.getInstanceMeta = function(url){
618
619
WOQLQuery.prototype.simpleGraphQuery = function(){
620
return this.and(
621
- WOQL.triple("v:Source", "rdf:type", "v:Source_Class"),
+ WOQL.triple("v:Source", "v:Edge", "v:Target"),
622
+ WOQL.isa("v:Source", "v:Source_Class"),
623
WOQL.sub("v:Source_Class", "tcs:Document"),
- WOQL.triple("v:Target", "rdf:type", "v:Target_Class"),
624
+ WOQL.isa("v:Target", "v:Target_Class"),
625
WOQL.sub("v:Target_Class", "tcs:Document"),
- WOQL.triple("v:Source", "v:Edge", "v:Target"),
626
WOQL.opt().triple("v:Source", "rdfs:label", "v:Source_Label"),
627
WOQL.opt().triple("v:Source", "rdfs:comment", "v:Source_Comment"),
628
WOQL.opt().quad("v:Source_Class", "rdfs:label", "v:Source_Type", "db:schema"),
0 commit comments