Package org.topbraid.shacl.rules
Class SPARQLRule
java.lang.Object
org.topbraid.shacl.rules.AbstractRule
org.topbraid.shacl.rules.SPARQLRule
- All Implemented Interfaces:
Rule
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.topbraid.shacl.rules.AbstractRule
getContextNode, getLabelStart, getOrder, getResource
-
Constructor Details
-
SPARQLRule
public SPARQLRule(org.apache.jena.rdf.model.Resource rule)
-
-
Method Details
-
execute
public void execute(RuleEngine ruleEngine, List<org.apache.jena.rdf.model.RDFNode> focusNodes, Shape shape) Description copied from interface:RuleExecutes this rule, callingruleEngine.infer()to add triples.- Parameters:
ruleEngine- the RuleEngine to operate onfocusNodes- the list of focus nodes for this executionshape- the context shape
-
getQuery
public org.apache.jena.query.Query getQuery() -
toString
-