Skip to content

Commit ae8b49f

Browse files
committed
changing v:Document to v:Subject in pre defined ftns
1 parent 5d6066c commit ae8b49f

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

dist/terminus-client.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/terminus-client.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/woql.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ WOQLQuery.prototype.getEverything = function(GraphIRI){
657657

658658
WOQLQuery.prototype.getAllDocuments = function(){
659659
return this.and(
660-
WOQL.triple("v:Document", "rdf:type", "v:Type"),
660+
WOQL.triple("v:Subject", "rdf:type", "v:Type"),
661661
WOQL.sub("v:Type", "tcs:Document")
662662
);
663663
}
@@ -719,15 +719,15 @@ WOQLQuery.prototype.classMetadata = function(){
719719

720720
WOQLQuery.prototype.getDataOfClass = function(chosen){
721721
return this.and(
722-
WOQL.triple("v:Document", "rdf:type", chosen),
723-
WOQL.opt().triple("v:Document", "v:Property", "v:Value")
722+
WOQL.triple("v:Subject", "rdf:type", chosen),
723+
WOQL.opt().triple("v:Subject", "v:Property", "v:Value")
724724
);
725725
}
726726

727727
WOQLQuery.prototype.getDataOfProperty = function(chosen){
728728
return this.and(
729-
WOQL.triple("v:Document", chosen, "v:Value"),
730-
WOQL.opt().triple("v:Document", "rdfs:label", "v:Label")
729+
WOQL.triple("v:Subject", chosen, "v:Value"),
730+
WOQL.opt().triple("v:Subject", "rdfs:label", "v:Label")
731731
);
732732
}
733733

0 commit comments

Comments
 (0)