Open ofilangi opened 2 years ago
SWDiscovery(config)
.rule("owl:transitive")
.something("p")
.isA("owl:TransitiveProperty")
.root()
.something("x")
.isSubjectOf("p","y")
.isSubjectOf("p","z")
.construct()
. something("x")
.isSubjectOf("p","z")
.query()
.something().set("<p1>")
.isSubjectOf("<property>","v")
.select("val")
note : add query operation for query part
add inference rule construction
set inference rule example
behaviours
Should be apply on the current query context
example
supposing property is a owl:TransitiveProperty
query
expected results
owl:TransitiveProperty build new triplet without context
owl:TransitiveProperty build new triplet with context
add library of InferenceRules
reference http://ns.inria.fr/sparql-extension/rule.html#:~:text=Inference%20rules%20are%20construct%20where,XML%20syntax%20as%20shown%20below.