Package org.apache.jena.reasoner.rulesys.builtins


package org.apache.jena.reasoner.rulesys.builtins

Implementations of the Builtin class which provides primitive operations to the rule engines. The current set is small - just enought to implement OWL and demonstrate the principle of Builtin's - not comprehensive.

  • Classes
    Class
    Description
    Bind the second argument to 1+ the first argument.
    Assert the n^2 differtFrom pairs from a distinctMembers list
    Dummy implementation of the Builtin interface that specific implementations can inherit from.
    Predicate used to check if a variable has been bound.
    CountLiteralValues(X, P, C) sets C to be the number of semantically distinct values for P on resource X.
    Bind the third argument to the arithmetic difference between the first and second arguments.
    A variant of the "remove" builtin that will delete matched triples from the graph but will not trigger further rule processing for the removed triples.
    Check that the two args are semantically equal.
    Tests if the first argument is greater than or equal to the second.
    Tests if the first argument is greater than the second.
    Register a node as to be hidden from query result iterators.
    Tests the single argument to make sure it is blank node.
    Tests whether the first argument is an instance of the datatype defined by the resource in the second argument.
    Tests the single argument to make sure it is not a Functor.
    Tests the single argument to make sure it is a literal.
    Tests if the first argument is less than or equal to the second.
    Tests if the first argument is less than the second.
    Returns true if the first argument is a list which contains the second argument.
    listEntry(?list, ?index, ?val) will bind ?val to the ?index'th entry in the RDF list ?list.
    Test if the two argument lists contain the same semantic elements.
    Bind the second arg to the length of the first arg treated as a list.
    For each element in the RDF list (third argument) it asserts triples with that as the object and subject and predicate given by arguments one and two.
    For each element in the RDF list (first argument) it asserts triples with that as the subject and predicate and object given by arguments two and three.
    Returns false if the first argument is a list which contains the second argument.
    Test if the two argument lists differ.
    Create or lookup an anonymous instance of a property value.
    Bind a blank node to the first argument.
    Create a new anonymous node and bind it to the each argument
    Bind the third arg to the max of the first two args.
    Bind the third arg to the min of the first two args.
    Tests the single argument to make sure it is not a blank node.
    Tests whether the first argument is not an instance of the datatype defined by the resource in the second argument.
    Check that the two args are different.
    Tests the single argument to make sure it is not a Functor.
    Tests the single argument to make sure it is a literal.
    Can be used in two arg form (X, P) or three arg form (X, P, V).
    Bind the first arg to the current date time in the current locale and timezone.
    Print its argument list as a side effect
    Bind the third arg to the product of the first two args.
    Bind the third arg to the ratio of the first two args.
     
    Remove the body clause given by index arguments from the database.
    Builtin which concatenates a set of strings.
    Bind the third arg to the sum of the first two args.
    Arrange that the given predicate is tabled by the backchaining engine.
    Arrange that all backchaining goals should be tabled (aka memoized) by the LP engine.
    Predicate used to check if a variable has not been bound.
    Builtin which concatenates a set of strings to generate a new URI.