Package | Description |
---|---|
org.apache.jena.reasoner.rulesys |
Provides a selection of simple rule engines for Jena inference models.
|
org.apache.jena.reasoner.rulesys.builtins |
Implementations of the Builtin class which provides primitive operations to the rule
engines.
|
Modifier and Type | Method and Description |
---|---|
abstract Builtin |
BuiltinRegistry.getImplementation(String functor)
Find the implementation of the given builtin functor.
|
Builtin |
OverrideBuiltinRegistry.getImplementation(String functor) |
Builtin |
MapBuiltinRegistry.getImplementation(String functor) |
abstract Builtin |
BuiltinRegistry.getImplementationByURI(String uri)
Find the implementation of the given builtin functor.
|
Builtin |
OverrideBuiltinRegistry.getImplementationByURI(String uri) |
Builtin |
MapBuiltinRegistry.getImplementationByURI(String uri) |
Builtin |
Functor.getImplementor()
Return the Builtin that implements this functor
|
Modifier and Type | Method and Description |
---|---|
abstract void |
BuiltinRegistry.register(Builtin impl)
Register an implementation for a given builtin using its default name.
|
void |
OverrideBuiltinRegistry.register(Builtin impl) |
void |
MapBuiltinRegistry.register(Builtin impl) |
abstract void |
BuiltinRegistry.register(String functor,
Builtin impl)
Register an implementation for a given builtin functor.
|
void |
OverrideBuiltinRegistry.register(String functor,
Builtin impl) |
void |
MapBuiltinRegistry.register(String functor,
Builtin impl) |
void |
Functor.setImplementor(Builtin implementor)
Set the Builtin that implements this functor.
|
Constructor and Description |
---|
BuiltinException(Builtin builtin,
RuleContext context,
String message)
Constructor.
|
Functor(String name,
List<Node> args,
Builtin impl)
Constructor
|
Functor(String name,
Node[] args,
Builtin impl)
Constructor
|
Modifier and Type | Class and Description |
---|---|
class |
AddOne
Bind the second argument to 1+ the first argument.
|
class |
AssertDisjointPairs
Assert the n^2 differtFrom pairs from a distinctMembers list
|
class |
BaseBuiltin
Dummy implementation of the Builtin interface that specific
implementations can inherit from.
|
class |
Bound
Predicate used to check if a variable has been bound.
|
class |
CountLiteralValues
CountLiteralValues(X, P, C) sets C to be the number of semantically
distinct values for P on resource X.
|
class |
Difference
Bind the third argument to the arithmetic difference between the
first and second arguments.
|
class |
Drop
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.
|
class |
Equal
Check that the two args are semantically equal.
|
class |
GE
Tests if the first argument is greater than or equal to the second.
|
class |
GreaterThan
Tests if the first argument is greater than the second.
|
class |
Hide
Register a node as to be hidden from query
result iterators.
|
class |
IsBNode
Tests the single argument to make sure it is blank node.
|
class |
IsDType
Tests whether the first argument is an instance of the datatype defined
by the resource in the second argument.
|
class |
IsFunctor
Tests the single argument to make sure it is not a Functor.
|
class |
IsLiteral
Tests the single argument to make sure it is a literal.
|
class |
LE
Tests if the first argument is less than or equal to the second.
|
class |
LessThan
Tests if the first argument is less than the second.
|
class |
ListContains
Returns true if the first argument is a list which contains the second argument.
|
class |
ListEntry
listEntry(?list, ?index, ?val) will bind ?val to the ?index'th entry
in the RDF list ?list.
|
class |
ListEqual
Test if the two argument lists contain the same semantic elements.
|
class |
ListLength
Bind the second arg to the length of the first arg treated as a list.
|
class |
ListMapAsObject
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.
|
class |
ListMapAsSubject
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.
|
class |
ListNotContains
Returns false if the first argument is a list which contains the second argument.
|
class |
ListNotEqual
Test if the two argument lists differ.
|
class |
MakeInstance
Create or lookup an anonymous instance of a property value.
|
class |
MakeSkolem
Bind a blank node to the first argument.
|
class |
MakeTemp
Create a new anonymous node and bind it to the each argument
|
class |
Max
Bind the third arg to the max of the first two args.
|
class |
Min
Bind the third arg to the min of the first two args.
|
class |
NotBNode
Tests the single argument to make sure it is not a blank node.
|
class |
NotDType
Tests whether the first argument is not an instance of the datatype defined
by the resource in the second argument.
|
class |
NotEqual
Check that the two args are different.
|
class |
NotFunctor
Tests the single argument to make sure it is not a Functor.
|
class |
NotLiteral
Tests the single argument to make sure it is a literal.
|
class |
NoValue
Can be used in two arg form (X, P) or three arg form (X, P, V).
|
class |
Now
Bind the first arg to the current date time in the current locale and timezone.
|
class |
Print
Print its argument list as a side effect
|
class |
Product
Bind the third arg to the product of the first two args.
|
class |
Quotient
Bind the third arg to the ratio of the first two args.
|
class |
Regex |
class |
Remove
Remove the body clause given by index arguments from the database.
|
class |
StrConcat
Builtin which concatenates a set of strings.
|
class |
Sum
Bind the third arg to the sum of the first two args.
|
class |
Table
Arrange that the given predicate is tabled by the backchaining engine.
|
class |
TableAll
Arrange that all backchaining goals should be tabled (aka memoized)
by the LP engine.
|
class |
Unbound
Predicate used to check if a variable has not been bound.
|
class |
UriConcat
Builtin which concatenates a set of strings to generate a new URI.
|
Licenced under the Apache License, Version 2.0