Uses of Interface
org.apache.jena.reasoner.rulesys.RuleContext
Package
Description
Provides a selection of simple rule engines for Jena inference models.
Implementations of the Builtin class which provides primitive operations to the rule
engines.
Internal implementation objects used by the rule system interpreters
and compilers.
-
Uses of RuleContext in org.apache.jena.reasoner.rulesys
Modifier and TypeMethodDescriptionboolean
Builtin.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.Util.convertList
(Node root, RuleContext context) Convert an (assumed well formed) RDF list to a java list of Nodesboolean
Functor.evalAsBodyClause
(RuleContext context) Execute the given built in as a body clause.static Node
Util.getPropValue
(Node root, Node prop, RuleContext context) Helper - returns the (singleton) value for the given property on the given root node in the data graph.void
Builtin.headAction
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule head.boolean
Functor.safeEvalAsBodyClause
(RuleContext context) Execute the given built in as a body clause, only if it is side-effect-free.ModifierConstructorDescriptionBuiltinException
(Builtin builtin, RuleContext context, String message) Constructor. -
Uses of RuleContext in org.apache.jena.reasoner.rulesys.builtins
Modifier and TypeMethodDescriptionboolean
AddOne.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
BaseBuiltin.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
Bound.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
CountLiteralValues.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
Difference.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
Equal.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
GE.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
GreaterThan.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
Hide.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
IsBNode.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
IsDType.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
IsFunctor.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
IsLiteral.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
LE.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
LessThan.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
ListContains.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
ListEntry.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
ListEqual.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
ListLength.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
ListNotContains.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
ListNotEqual.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
MakeInstance.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
MakeSkolem.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
MakeTemp.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
Max.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
Min.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
NotBNode.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
NotDType.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
NotEqual.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
NotFunctor.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
NotLiteral.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
NoValue.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
Now.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
Print.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
Product.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
Quotient.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
Regex.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
StrConcat.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
Sum.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
Unbound.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.boolean
UriConcat.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.void
BaseBuiltin.checkArgs
(int length, RuleContext context) Check the argument length.BaseBuiltin.getArg
(int n, Node[] args, RuleContext context) Return the n'th argument node after dereferencing by what ever type of rule engine binding environment is appropriate.void
AssertDisjointPairs.headAction
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule head.void
BaseBuiltin.headAction
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule head.void
Drop.headAction
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule head.void
Hide.headAction
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule head.void
ListMapAsObject.headAction
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule head.void
ListMapAsSubject.headAction
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule head.void
MakeTemp.headAction
(Node[] args, RuleContext context) This method is invoked when the builtin is called in a rule head.void
Print.headAction
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule head.void
Remove.headAction
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule head.void
Table.headAction
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.void
TableAll.headAction
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.void
Print.print
(Node[] args, int length, RuleContext context) Print a node list to stdout -
Uses of RuleContext in org.apache.jena.reasoner.rulesys.impl
Modifier and TypeClassDescriptionclass
Implementation of RuleContext for use in the backward chaining interpreter.class
An implementation of the generic RuleContext interface used by the basic forward (BF) rule engine.class
An implementation of the generic RuleContext for use in the RETE implementation.