Class RDFSForwardRuleReasoner

  • All Implemented Interfaces:
    Reasoner, RuleReasoner

    public class RDFSForwardRuleReasoner
    extends GenericRuleReasoner
    A pure forward chaining implementation of the RDFS closure rules based upon the basic forward rule interpreter. The normal mixed forward/backward implementation is generally preferred but this has two possible uses. First, it is a test and demonstration of the forward chainer. Second, if you want all the RDFS entailments for an entire dataset the forward chainer will be more efficient.
    • Field Detail

      • RULE_FILE

        public static final java.lang.String RULE_FILE
        The location of the OWL rule definitions on the class path
        See Also:
        Constant Field Values
    • Constructor Detail

      • RDFSForwardRuleReasoner

        public RDFSForwardRuleReasoner​(ReasonerFactory parent)
        Constructor
    • Method Detail

      • loadRules

        public static java.util.List<Rule> loadRules()
        Return the RDFS rule set, loading it in if necessary