Module org.apache.jena.core
Class OWLExptRuleTranslationHook
java.lang.Object
org.apache.jena.reasoner.rulesys.impl.OWLExptRuleTranslationHook
- All Implemented Interfaces:
RulePreprocessHook
Experimental change to OWL translation hook that doesn't handle translation
of restrictions to functors.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
needsRerun
(FBRuleInfGraph infGraph, Triple t) Validate a triple add to see if it should reinvoke the hook.void
run
(FBRuleInfGraph infGraph, Finder dataFind, Graph inserts) Invoke the preprocessing hook.
-
Constructor Details
-
OWLExptRuleTranslationHook
public OWLExptRuleTranslationHook()
-
-
Method Details
-
run
Invoke the preprocessing hook. This will be called during the preparation time of the hybrid reasoner.- Specified by:
run
in interfaceRulePreprocessHook
- Parameters:
infGraph
- the inference graph which is being prepared, the hook code can use this to addDeductions or add additional rules (using addRuleDuringPrepare).dataFind
- the finder which packages up the raw data (both schema and data bind) and any cached transitive closures.inserts
- a temporary graph into which the hook should insert all new deductions that should be seen by the rules.
-
needsRerun
Validate a triple add to see if it should reinvoke the hook. If so then the inference will be restarted at next prepare time. Incremental re-processing is not yet supported.- Specified by:
needsRerun
in interfaceRulePreprocessHook
-