Interface Rule

All Known Implementing Classes:
AbstractRule, SPARQLRule

public interface Rule
Represents a single rule in executable "pre-compiled" form.
Author:
Holger Knublauch
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(RuleEngine ruleEngine, List<org.apache.jena.rdf.model.RDFNode> focusNodes, Shape shape)
    Executes this rule, calling ruleEngine.infer() to add triples.
    org.apache.jena.graph.Node
     
     
  • Method Details

    • execute

      void execute(RuleEngine ruleEngine, List<org.apache.jena.rdf.model.RDFNode> focusNodes, Shape shape)
      Executes this rule, calling ruleEngine.infer() to add triples.
      Parameters:
      ruleEngine - the RuleEngine to operate on
      focusNodes - the list of focus nodes for this execution
      shape - the context shape
    • getContextNode

      org.apache.jena.graph.Node getContextNode()
    • getOrder

      Number getOrder()