Uses of Class
org.apache.jena.reasoner.rulesys.Rule
Package
Description
Provides a selection of simple rule engines for Jena inference models.
Internal implementation objects used by the rule system interpreters
and compilers.
-
Uses of Rule in org.apache.jena.assembler
-
Uses of Rule in org.apache.jena.assembler.assemblers
Modifier and TypeMethodDescription -
Uses of Rule in org.apache.jena.reasoner.rulesys
Modifier and TypeMethodDescriptionRule.cloneRule()
Clone a rule, cloning any embedded variables.RuleContext.getRule()
Returns the rule.RuleDerivation.getRule()
Rule.instantiate
(BindingEnvironment env) Instantiate a rule given a variable binding environment.Rule.Parser.parseRule()
Parse a rule, terminated by a "]" or "." character.static Rule
Parse a string as a rule, using the default BuiltinRegistry to resolve functor namesstatic Rule
Rule.parseRule
(String source, BuiltinRegistry registry) Parse a string as a rule using a specified BuiltinRegistry to resolve functor namesModifier and TypeMethodDescriptionFBRuleInfGraph.getBRules()
Return an ordered list of all registered backward rules.BasicForwardRuleReasoner.getRules()
Return the this of Rules used by this reasonerFBRuleInfGraph.getRules()
Return the originally supplied set of rules, may be a mix of forward and backward rules.FBRuleReasoner.getRules()
Return the list of Rules used by this reasonerLPBackwardRuleReasoner.getRules()
Return the this of Rules used by this reasonerRuleReasoner.getRules()
Answer the rules used by this Reasoner.Rule.Parser.getRulesPreload()
Return the complete set of preloaded rules;Answer the list of rules loaded from the given filename.OWLFBRuleReasoner.loadRules()
Return the rule set, loading it in if necessaryOWLMicroReasoner.loadRules()
Return the rule set, loading it in if necessaryOWLMiniReasoner.loadRules()
Return the rule set, loading it in if necessaryRDFSFBRuleReasoner.loadRules()
Return the RDFS rule set, loading it in if necessaryRDFSForwardRuleReasoner.loadRules()
Return the RDFS rule set, loading it in if necessaryRDFSRuleReasoner.loadRulesLevel
(String level) Return the RDFS rule set, loading it in if necessary.Rule.parseRules
(String source) Parse a string as a list a rules.Rule.parseRules
(String source, BuiltinRegistry registry) Parse a string as a list a rules.Rule.parseRules
(Rule.Parser parser) Run a pre-bound rule parser to extract it's rulesRule.rulesFromURL
(String uri) Answer the list of rules parsed from the given URL.Rule.rulesFromURL
(String uri, BuiltinRegistry registry) Answer the list of rules parsed from the given URL.Modifier and TypeMethodDescriptionvoid
Adds a new Backward rule as a rules of a forward rule process.void
Adds a new Backward rule as a result of a forward rule process.void
Adds a new Backward rule as a rules of a forward rule process.void
FBRuleInfGraph.addRuleDuringPrepare
(Rule rule) Add a new rule to the rule set.void
BasicForwardRuleInfGraph.deleteBRule
(Rule brule) Deletes a new Backward rule as a rules of a forward rule process.void
FBRuleInfGraph.deleteBRule
(Rule brule) Deletes a new Backward rule as a rules of a forward rule process.void
ForwardRuleInfGraphI.deleteBRule
(Rule brule) Deletes a new Backward rule as a rules of a forward rule process.boolean
BackwardRuleInfGraphI.processBuiltin
(ClauseEntry clause, Rule rule, BindingEnvironment env) Process a call to a builtin predicateboolean
FBRuleInfGraph.processBuiltin
(ClauseEntry clause, Rule rule, BindingEnvironment env) Process a call to a builtin predicateboolean
LPBackwardRuleInfGraph.processBuiltin
(ClauseEntry clause, Rule rule, BindingEnvironment env) Process a call to a builtin predicatevoid
Sets the rule.Modifier and TypeMethodDescriptionvoid
Adds a set of new Backward rulesAdd the given rules to the current set and answer this Reasoner.void
Set (or change) the rule set that this reasoner should execute.void
Set (or change) the rule set that this reasoner should execute.void
Set the rules used by this reasoner.ModifierConstructorDescriptionConstructorModifierConstructorDescriptionBasicForwardRuleInfGraph
(Reasoner reasoner, List<Rule> rules, Graph schema) Constructor.Constructor.BasicForwardRuleReasoner
(List<Rule> rules) Constructor.BasicForwardRuleReasoner
(List<Rule> rules, ReasonerFactory factory) ConstructorFBRuleInfGraph
(Reasoner reasoner, List<Rule> rules, Graph schema) Constructor.Constructor.FBRuleReasoner
(List<Rule> rules) Constructor.FBRuleReasoner
(List<Rule> rules, ReasonerFactory factory) ConstructorGenericRuleReasoner
(List<Rule> rules) Constructor.GenericRuleReasoner
(List<Rule> rules, ReasonerFactory factory) ConstructorLPBackwardRuleReasoner
(List<Rule> rules) Constructor.LPBackwardRuleReasoner
(List<Rule> rules, ReasonerFactory factory) ConstructorRDFSRuleInfGraph
(Reasoner reasoner, List<Rule> rules, Graph schema) Constructor.Constructor.RETERuleInfGraph
(Reasoner reasoner, List<Rule> rules, Graph schema) Constructor.Constructor.Constructor. -
Uses of Rule in org.apache.jena.reasoner.rulesys.impl
Modifier and TypeMethodDescriptionBBRuleContext.getRule()
BFRuleContext.getRule()
Returns the rule.EnvironmentFrame.getRule()
Return the rule associated with this environment, null if no such rule.RETERuleContext.getRule()
Returns the rule.RuleClauseCode.getRule()
Return the rule from which this code block was compiled.Modifier and TypeMethodDescriptionLPBRuleEngine.getAllRules()
Return an ordered list of all registered rules.RuleStore.getAllRules()
Return an ordered list of all registered rules.RuleStore.rulesFor
(TriplePattern goal) Return a list of rules that match the given goal patternModifier and TypeMethodDescriptionvoid
RETEConflictSet.add
(Rule rule, BindingEnvironment env, boolean isAdd) Record a request for a rule firing.void
Add a single rule to the store.void
Add a single rule to the store.void
LPBRuleEngine.deleteRule
(Rule rule) Remove a single rule from the store.void
RuleStore.deleteRule
(Rule rule) Remove a single rule from the storevoid
RETEEngine.requestRuleFiring
(Rule rule, BindingEnvironment env, boolean isAdd) Add a rule firing request to the conflict set.void
void
Sets the rule.void
Sets the rule.Modifier and TypeMethodDescriptionvoid
Compile a list of rules into the internal rule store representation.void
Compile a list of rules into the internal rule store representation.FRuleEngineIFactory.createFRuleEngineI
(ForwardRuleInfGraphI parent, List<Rule> rules, boolean useRETE) Creates aForwardRuleInfGraphI
instance.ModifierConstructorDescriptionLPRuleSyntaxException
(String msg, Rule rule) Constructor.LPRuleSyntaxException
(String msg, Rule rule, Throwable cause) Constructor.RETETerminal
(Rule rule, RETEEngine engine, ForwardRuleInfGraphI graph) Constructor.RuleClauseCode
(Rule rule) Constructor.ModifierConstructorDescriptionFRuleEngine
(ForwardRuleInfGraphI parent, List<Rule> rules) Constructor.LPRuleStore
(List<Rule> rules) Construct a rule store containing the given rules.RETEEngine
(ForwardRuleInfGraphI parent, List<Rule> rules) Constructor.Constructor.