Uses of Interface
org.apache.jena.reasoner.rulesys.RuleContext
Packages that use 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
Methods in org.apache.jena.reasoner.rulesys with parameters of type RuleContextModifier and TypeMethodDescriptionbooleanBuiltin.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 NodesbooleanFunctor.evalAsBodyClause(RuleContext context) Execute the given built in as a body clause.static NodeUtil.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.voidBuiltin.headAction(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule head.booleanFunctor.safeEvalAsBodyClause(RuleContext context) Execute the given built in as a body clause, only if it is side-effect-free.Constructors in org.apache.jena.reasoner.rulesys with parameters of type RuleContextModifierConstructorDescriptionBuiltinException(Builtin builtin, RuleContext context, String message) Constructor. -
Uses of RuleContext in org.apache.jena.reasoner.rulesys.builtins
Methods in org.apache.jena.reasoner.rulesys.builtins with parameters of type RuleContextModifier and TypeMethodDescriptionbooleanAddOne.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanBaseBuiltin.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanBound.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanCountLiteralValues.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanDifference.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanEqual.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanGE.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanGreaterThan.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanHide.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanIsBNode.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanIsDType.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanIsFunctor.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanIsLiteral.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanLE.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanLessThan.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanListContains.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanListEntry.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanListEqual.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanListLength.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanListNotContains.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanListNotEqual.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanMakeInstance.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanMakeSkolem.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanMakeTemp.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanMax.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanMin.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanNotBNode.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanNotDType.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanNotEqual.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanNotFunctor.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanNotLiteral.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanNoValue.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanNow.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanPrint.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanProduct.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanQuotient.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanRegex.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanStrConcat.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanSum.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanUnbound.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.booleanUriConcat.bodyCall(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.voidBaseBuiltin.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.voidAssertDisjointPairs.headAction(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule head.voidBaseBuiltin.headAction(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule head.voidDrop.headAction(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule head.voidHide.headAction(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule head.voidListMapAsObject.headAction(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule head.voidListMapAsSubject.headAction(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule head.voidMakeTemp.headAction(Node[] args, RuleContext context) This method is invoked when the builtin is called in a rule head.voidPrint.headAction(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule head.voidRemove.headAction(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule head.voidTable.headAction(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.voidTableAll.headAction(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.voidPrint.print(Node[] args, int length, RuleContext context) Print a node list to stdout -
Uses of RuleContext in org.apache.jena.reasoner.rulesys.impl
Classes in org.apache.jena.reasoner.rulesys.impl that implement RuleContextModifier and TypeClassDescriptionclassImplementation of RuleContext for use in the backward chaining interpreter.classAn implementation of the generic RuleContext interface used by the basic forward (BF) rule engine.classAn implementation of the generic RuleContext for use in the RETE implementation.