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 RuleContext
    Modifier and Type
    Method
    Description
    boolean
    Builtin.bodyCall(Node[] args, int length, RuleContext context)
    This method is invoked when the builtin is called in a rule body.
    static List<Node>
    Util.convertList(Node root, RuleContext context)
    Convert an (assumed well formed) RDF list to a java list of Nodes
    boolean
    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
    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 RuleContext
    Modifier
    Constructor
    Description
     
    BuiltinException(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 RuleContext
    Modifier and Type
    Method
    Description
    boolean
    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 Type
    Class
    Description
    class 
    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.