Uses of Class
org.apache.jena.reasoner.rulesys.Rule
Packages that use 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
Methods in org.apache.jena.assembler that return types with arguments of type RuleMethod parameters in org.apache.jena.assembler with type arguments of type Rule -
Uses of Rule in org.apache.jena.assembler.assemblers
Methods in org.apache.jena.assembler.assemblers that return types with arguments of type RuleModifier and TypeMethodDescriptionMethod parameters in org.apache.jena.assembler.assemblers with type arguments of type Rule -
Uses of Rule in org.apache.jena.reasoner.rulesys
Methods in org.apache.jena.reasoner.rulesys that return RuleModifier 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 namesMethods in org.apache.jena.reasoner.rulesys that return types with arguments of type RuleModifier 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.Methods in org.apache.jena.reasoner.rulesys with parameters of type RuleModifier 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.Method parameters in org.apache.jena.reasoner.rulesys with type arguments of type RuleModifier 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.Constructors in org.apache.jena.reasoner.rulesys with parameters of type RuleModifierConstructorDescriptionConstructorConstructor parameters in org.apache.jena.reasoner.rulesys with type arguments of type RuleModifierConstructorDescriptionBasicForwardRuleInfGraph
(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
Methods in org.apache.jena.reasoner.rulesys.impl that return RuleModifier 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.Methods in org.apache.jena.reasoner.rulesys.impl that return types with arguments of type RuleModifier 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 patternMethods in org.apache.jena.reasoner.rulesys.impl with parameters of type RuleModifier 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.Method parameters in org.apache.jena.reasoner.rulesys.impl with type arguments of type RuleModifier 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.Constructors in org.apache.jena.reasoner.rulesys.impl with parameters of type RuleModifierConstructorDescriptionLPRuleSyntaxException
(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.Constructor parameters in org.apache.jena.reasoner.rulesys.impl with type arguments of type RuleModifierConstructorDescriptionFRuleEngine
(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.