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.
2 parents 381668e + 6337c35 commit 5464428Copy full SHA for 5464428
lib/woql.js
@@ -619,11 +619,11 @@ WOQLQuery.prototype.getInstanceMeta = function(url){
619
620
WOQLQuery.prototype.simpleGraphQuery = function(){
621
return this.and(
622
- WOQL.triple("v:Source", "rdf:type", "v:Source_Class"),
+ WOQL.triple("v:Source", "v:Edge", "v:Target"),
623
+ WOQL.isa("v:Source", "v:Source_Class"),
624
WOQL.sub("v:Source_Class", "tcs:Document"),
- WOQL.triple("v:Target", "rdf:type", "v:Target_Class"),
625
+ WOQL.isa("v:Target", "v:Target_Class"),
626
WOQL.sub("v:Target_Class", "tcs:Document"),
- WOQL.triple("v:Source", "v:Edge", "v:Target"),
627
WOQL.opt().triple("v:Source", "rdfs:label", "v:Source_Label"),
628
WOQL.opt().triple("v:Source", "rdfs:comment", "v:Source_Comment"),
629
WOQL.opt().quad("v:Source_Class", "rdfs:label", "v:Source_Type", "db:schema"),
0 commit comments