java.lang.Object
org.apache.jena.reasoner.rulesys.FBRuleReasoner
org.apache.jena.reasoner.rulesys.GenericRuleReasoner
org.apache.jena.reasoner.rulesys.RDFSForwardRuleReasoner
- All Implemented Interfaces:
Reasoner
,RuleReasoner
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.jena.reasoner.rulesys.GenericRuleReasoner
GenericRuleReasoner.RuleMode
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The location of the OWL rule definitions on the class pathFields inherited from class org.apache.jena.reasoner.rulesys.GenericRuleReasoner
BACKWARD, filterFunctors, FORWARD, FORWARD_RETE, HYBRID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the Jena Graph Capabilities that the inference graphs generated by this reasoner are expected to conform to.Return the RDFS rule set, loading it in if necessaryMethods inherited from class org.apache.jena.reasoner.rulesys.GenericRuleReasoner
addPreprocessingHook, bind, bindSchema, removePreprocessingHook, setFunctorFiltering, setMode, setOWLTranslation, setRules, setTransitiveClosureCaching
Methods inherited from class org.apache.jena.reasoner.rulesys.FBRuleReasoner
addDescription, addRules, bindSchema, getBoundSchema, getReasonerCapabilities, getRules, isTraceOn, loadRules, setDerivationLogging, setParameter, setTraceOn, supportsProperty, tablePredicate
-
Field Details
-
RULE_FILE
The location of the OWL rule definitions on the class path- See Also:
-
-
Constructor Details
-
RDFSForwardRuleReasoner
Constructor
-
-
Method Details
-
loadRules
Return the RDFS rule set, loading it in if necessary -
getGraphCapabilities
Return the Jena Graph Capabilities that the inference graphs generated by this reasoner are expected to conform to.- Specified by:
getGraphCapabilities
in interfaceReasoner
- Overrides:
getGraphCapabilities
in classFBRuleReasoner
-