Uses of Class
org.apache.jena.graph.Node
Package
Description
This package defines the enhanced node and graph classes; an enhanced
node is one embedded in a particular enhanced graph.
This package defines the Graph and Node family of classes, which
form the underlying datatypes of the Jena system.
This package provides basic implementations of Graph interfaces
such as EventManager and Capabilities.
Various memory-based implementations of interfaces,
specifically GraphMem for memory-based Graphs.
Provides a set of abstractions and convenience classes for accessing and manipluating ontologies
represented in RDF.
Provides default implementations for the abstractions defined in the
org.apache.jena.ontology
package.A package for creating and manipulating RDF graphs.
This package contains implementations of the interfaces defined
in the .model package, eg ModelCom for Model, ResourceImpl
for Resource, and so on.
The Jena2 reasoner subsystem is designed to allow a range of inference
engines to be plugged into Jena.
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.
This package contains a reasoner which supports transitive-reflexive closure
of subPropertyOf and subClassOf relations.
This package defines some classes common to the Jena API
and SPI levels, in particular the JenaException class from which
all Jena-specific exceptions hang, and the interface PrefixMapping
for translation to and from QNames.
Miscellaneous collection of utility classes.
A package containing constant classes with predefined constant objects
for classes and properties defined in well known vocabularies.
-
Uses of Node in org.apache.jena.enhanced
Modifier and TypeMethodDescriptionEnhNode.asNode()
Answer the graph node that this enhanced node wrapsModifier and TypeMethodDescriptionabstract boolean
true iff wrapping (node, eg) would succeed.<X extends RDFNode>
XAnswer an enhanced node that wraps the given node and conforms to the given interface type.<X extends T>
XPersonality.newInstance
(Class<X> interf, Node n, EnhGraph that) make a new instance of a type _interf_ based on the node _n_ and the polymorphic _that_; use the implementation wrapper for _interf_ in _types_.abstract EnhNode
Create a new EnhNode wrapping a Node in the context of an EnhGraph -
Uses of Node in org.apache.jena.graph
Modifier and TypeClassDescriptionclass
A Node_ANY (there should be only one) is a meta-node that is used to stand for any other node in a query.class
RDF blank nodes.class
Node_Ext<X>
Extension to the RDF Data model.class
RDF Graphs as RDF terms.class
An RDF node holding a literal value.class
Marker special nodes for datastructures.class
RDF triples as RDF terms for RDF-star quoted triples.class
RDF nodes with a global identity given by a URI.class
"variable" nodes; these are outside the RDF specificationModifier and TypeMethodDescriptionFrontsNode.asNode()
Answer the Node associated with this object.static Node
NodeFactory.createBlankNode()
Make a fresh blank nodestatic Node
NodeFactory.createBlankNode
(String string) make a blank node with the specified labelstatic Node
make an extension node based on a string.static Node
NodeFactory.createGraphNode
(Graph graph) Create a graph node.static Node
NodeFactory.createLiteral
(String string) Deprecated.static Node
NodeFactory.createLiteral
(String string, String lang) Deprecated.static Node
NodeFactory.createLiteral
(String lex, String lang, String textDir, RDFDatatype dtype) Build a literal node.static Node
NodeFactory.createLiteral
(String lex, String lang, RDFDatatype dtype) Build a literal node.static Node
NodeFactory.createLiteral
(String lex, String lang, TextDirection textDir, RDFDatatype dtype) Build a literal node.static Node
NodeFactory.createLiteral
(String lex, RDFDatatype dtype) Build a typed literal node from its lexical form.static Node
NodeFactory.createLiteral
(LiteralLabel lit) Deprecated.Making nodes directly fromLiteralLabel
may be removed.static Node
NodeFactory.createLiteralByValue
(Object value) Create a Node based on the value If the value is a string we assume this is intended to be a lexical form after all.static Node
NodeFactory.createLiteralByValue
(Object value, RDFDatatype dtype) Create a Node based on the value If the value is a string we assume this is intended to be a lexical form after all.static Node
NodeFactory.createLiteralDirLang
(String string, String lang, String textDir) Make a literal with specified language and language direction.static Node
NodeFactory.createLiteralDirLang
(String string, String lang, TextDirection textDir) static Node
NodeFactory.createLiteralLang
(String string, String lang) Make a literal with specified language.static Node
NodeFactory.createLiteralString
(String string) static Node
NodeFactory.createTripleNode
(Node s, Node p, Node o) Create a triple node (RDF-star)static Node
NodeFactory.createTripleNode
(Triple triple) Create a triple node (RDF-star)static Node
make a URI node with the specified URIref stringstatic Node
NodeFactory.createVariable
(String name) make a variable node with a given nameabstract Node
Triple.getMatchObject()
Return object or null, not Node.ANYTriple.getMatchPredicate()
Return predicate or null, not Node.ANYTriple.getMatchSubject()
Return subject or null, not Node.ANYfinal Node
Triple.getObject()
final Node
Triple.getPredicate()
final Node
Triple.getSubject()
static Node
Modifier and TypeMethodDescriptionstatic ExtendedIterator<Node>
GraphUtil.listObjects
(Graph g, Node s, Node p) Return an iterator over the unique objects with a given subject and object.static ExtendedIterator<Node>
GraphUtil.listPredicates
(Graph g, Node s, Node o) Return an iterator over the unique predicate between s and o.static ExtendedIterator<Node>
GraphUtil.listSubjects
(Graph g, Node p, Node o) Return an iterator over the unique subjects with predicate p and object o.Modifier and TypeMethodDescriptiondefault void
Add the triple comprised of s,p,o to the set belonging to this graphboolean
Answer true iff the graph contains a triple matching (s, p, o).static boolean
GraphUtil.containsNode
(Graph graph, Node node) Does the graph use the node anywhere as a subject, predicate or object?static Triple
static Triple
Triple.createMatch
(Node s, Node p, Node o) static Node
NodeFactory.createTripleNode
(Node s, Node p, Node o) Create a triple node (RDF-star)default void
Delete the triple comprised of s,p,o from the set belonging to this graphTriple.Field.filterOnConcrete
(Node n) Returns an iterator over Triples matching a pattern.static int
Return the munged hashCodes of the specified nodes, an exclusive-or of the slightly-shifted component hashcodes; this means (almost) all of the bits count, and the order matters, so (S P O) has a different hash from (O P S), etc.static ExtendedIterator<Node>
GraphUtil.listObjects
(Graph g, Node s, Node p) Return an iterator over the unique objects with a given subject and object.static ExtendedIterator<Node>
GraphUtil.listPredicates
(Graph g, Node s, Node o) Return an iterator over the unique predicate between s and o.static ExtendedIterator<Node>
GraphUtil.listSubjects
(Graph g, Node p, Node o) Return an iterator over the unique subjects with predicate p and object o.boolean
boolean
boolean
Answer true iff this node accepts the other one as a match.boolean
boolean
Triple.objectMatches
(Node o) boolean
Triple.predicateMatches
(Node p) void
Remove all triples that match by find(s, p, o)static GraphEvents
static void
A safe and cautious remove() function that converts the remove to a number ofGraph.delete(Triple)
operations.boolean
Answer true iff this triple has subject s, predicate p, and object o.Returns aStream
of Triples matching a pattern.boolean
Triple.subjectMatches
(Node s) -
Uses of Node in org.apache.jena.graph.impl
Modifier and TypeMethodDescriptionTripleStore.listObjects()
Answer an setwise iterator over all the objects of triples in this store.TripleStore.listPredicates()
Answer an iterator over all the predicates of triples in this store.TripleStore.listSubjects()
Answer an setwise iterator over all the subjects of triples in this store.Modifier and TypeMethodDescriptionfinal boolean
Answertrue
if this graph contains(s, p, o)
; this canonical implementation cannot be over-ridden.boolean
boolean
final ExtendedIterator<Triple>
void
Remove all triples that match by find(s, p, o)void
void
Answer an ExtendedIterator returning all the triples from this store that match the patternm = (S, P, O)
. -
Uses of Node in org.apache.jena.mem
Modifier and TypeMethodDescriptionGraphTripleStoreBase.listObjects()
GraphTripleStoreBase.listPredicates()
GraphTripleStoreBase.listSubjects()
Modifier and TypeMethodDescriptionboolean
NodeToTriplesMapBase.containsMatch
(Node index, Node n2, Node n3) static FieldFilter
FieldFilter.filterOn
(Triple.Field f1, Node n1, Triple.Field f2, Node n2) abstract ExtendedIterator<Triple>
Answer an iterator over all the triples in this NTM which matchpattern
.Deprecated.Answer a Stream returning all the triples from this store that match the patternm = (S, P, O)
.Modifier and TypeMethodDescriptionvoid
ObjectIterator.forEachRemaining
(Consumer<? super Node> action) -
Uses of Node in org.apache.jena.mem2
-
Uses of Node in org.apache.jena.mem2.pattern
-
Uses of Node in org.apache.jena.mem2.store.legacy
Modifier and TypeMethodDescriptionboolean
NodeToTriplesMap.containsMatch
(Node index, Node n2, Node n3) Answer true iff this map contains a triple that matches the pattern.boolean
NodeToTriplesMapMem.containsMatch
(Node index, Node n2, Node n3) static FieldFilter
FieldFilter.filterOn
(Triple.Field f1, Node n1, Triple.Field f2, Node n2) NodeToTriplesMap.iteratorForMatches
(Node index, Node n2, Node n3) Answer an iterator over all the triples in this map that match the pattern.NodeToTriplesMapMem.iteratorForMatches
(Node index, Node n2, Node n3) NodeToTriplesMap.streamForMatches
(Node index, Node n2, Node n3) Answer a stream over all the triples in this map that match the pattern.NodeToTriplesMapMem.streamForMatches
(Node index, Node n2, Node n3) -
Uses of Node in org.apache.jena.ontology
Modifier and TypeMethodDescription<T> boolean
Profile.isSupported
(Node n, EnhGraph g, Class<T> type) Answer true if the given graph supports a view of this node as the given language element, according to the semantic constraints of the profile. -
Uses of Node in org.apache.jena.ontology.impl
Modifier and TypeMethodDescriptionstatic boolean
AbstractProfile.containsSome
(EnhGraph g, Node n, Property p) Utility method: answer true iff the enhanced graph contains some triple which has n as subject, p.asNode() as predicate, and any object.static boolean
OWLDLProfile.containsSome
(EnhGraph g, Node n, Property p) static boolean
OWLLiteProfile.containsSome
(EnhGraph g, Node n, Property p) static boolean
OWLProfile.containsSome
(EnhGraph g, Node n, Property p) static boolean
CardinalityQRestrictionImpl.isCardinalityQRestriction
(Node node, EnhGraph eg) static boolean
MaxCardinalityQRestrictionImpl.isMaxCardinalityQRestriction
(Node node, EnhGraph eg) static boolean
MinCardinalityQRestrictionImpl.isMinCardinalityQRestriction
(Node node, EnhGraph eg) <T> boolean
OWLProfile.isSupported
(Node n, EnhGraph g, Class<T> type) Answer true if the given graph supports a view of this node as the given language element, according to the semantic constraints of the profile.<T> boolean
RDFSProfile.isSupported
(Node n, EnhGraph g, Class<T> type) Answer true if the given graph supports a view of this node as the given language element, according to the semantic constraints of the profile.ModifierConstructorDescriptionAllDifferentImpl
(Node n, EnhGraph g) Construct an all different axiom represented by the given node in the given graph.Construct a hasValue restriction node represented by the given node in the given graph.Construct an ontology resource represented by the given node in the given graph.Construct an boolean class description represented by the given node in the given graph.Construct a qualified restriction node represented by the given node in the given graph.Construct a cardinality restriction node represented by the given node in the given graph.ComplementClassImpl
(Node n, EnhGraph g) Construct a complement class node represented by the given node in the given graph.DataRangeImpl
(Node n, EnhGraph g) Construct a data range node represented by the given node in the given graph.DatatypePropertyImpl
(Node n, EnhGraph g) Construct a datatype property node represented by the given node in the given graph.EnumeratedClassImpl
(Node n, EnhGraph g) Construct an enumerated class node represented by the given node in the given graph.Construct a functional property node represented by the given node in the given graph.Construct a hasValue restriction node represented by the given node in the given graph.IndividualImpl
(Node n, EnhGraph g) Construct an individual represented by the given node in the given graph.Construct an intersection class node represented by the given node in the given graph.Construct an inverse functional property node represented by the given node in the given graph.Construct a qualified restriction node represented by the given node in the given graph.Construct a max cardinality restriction node represented by the given node in the given graph.Construct a qualified restriction node represented by the given node in the given graph.Construct a min cardinality restriction node represented by the given node in the given graph.ObjectPropertyImpl
(Node n, EnhGraph g) Construct a functional property node represented by the given node in the given graph.OntClassImpl
(Node n, EnhGraph g) Construct an ontology class node represented by the given node in the given graph.OntologyImpl
(Node n, EnhGraph g) Construct an ontology metadata node represented by the given node in the given graph.OntPropertyImpl
(Node n, EnhGraph g) Construct an ontology property represented by the given node in the given graph.OntResourceImpl
(Node n, EnhGraph g) Construct an ontology resource represented by the given node in the given graph.Construct a qualified restriction node represented by the given node in the given graph.RestrictionImpl
(Node n, EnhGraph g) Construct a restriction node represented by the given node in the given graph.Construct a hasValue restriction node represented by the given node in the given graph.Construct a symmetric property node represented by the given node in the given graph.Construct a transitive property node represented by the given node in the given graph.UnionClassImpl
(Node n, EnhGraph g) Construct a union class node represented by the given node in the given graph. -
Uses of Node in org.apache.jena.rdf.model
Modifier and TypeMethodDescriptionAnswer an RDF node wrappingn
suitably; URI nodes become Resources with the same URI, blank nodes become Resources with URI null but the same AnonId, and literal nodes become Literals withn
as their value carrier.ModelCon.getRDFNode
(Node n) ModelGraphInterface.wrapAsResource
(Node n) ModifierConstructorDescription -
Uses of Node in org.apache.jena.rdf.model.impl
Modifier and TypeMethodDescriptionstatic Node
static Node
note the triple _t_ as reified using _n_ as its representing node.Modifier and TypeMethodDescriptionstatic ExtendedIterator<Node>
return an iterator over all the nodes that are reifiying something in the graphstatic ExtendedIterator<Node>
return an iterator over all the nodes that are reifiying t in the graphModifier and TypeMethodDescriptionstatic RDFNode
StatementImpl.createObject
(Node n, EnhGraph g) create an RDF node which might be a literal, or not.ModelCom.getRDFNode
(Node n) static Triple
Answer the triple associated with the noden
.static boolean
Util.hasDirection
(Node n) Test whether this node has an initial text language (rdf:dirLangString)static boolean
Test whether this node has a language (rdf:langString or rdf:dirLangString)static boolean
true iff _n_ is associated with some triple rficationstatic boolean
Util.isDirLangString
(Node n) A Node is a well-formed directional language string if it has a language tag and it has an initial text direction.static boolean
Util.isLangString
(Node n) A Node is a well-formed language string if it has a language tag and it does not have an initial text direction.static boolean
Util.isSimpleString
(Node n) A Node is a simple string if: (RDF 1.0) No datatype and no language tag.static Node
note the triple _t_ as reified using _n_ as its representing node.static void
remove any existing binding for _n_; hasNode(n) will return false and getTriple(n) will return null.ModelCom.wrapAsResource
(Node n) Modifier and TypeMethodDescriptionstatic NodeIterator
IteratorFactory.asRDFNodeIterator
(Iterator<Node> i, ModelCom m) static ResIterator
IteratorFactory.asResIterator
(Iterator<Node> i, ModelCom m) ModifierConstructorDescriptionContainerImpl
(Node n, EnhGraph g) LiteralImpl
(Node n, EnhGraph m) LiteralImpl
(Node n, ModelCom m) PropertyImpl
(Node n, EnhGraph m) RDFListImpl
(Node n, EnhGraph g) Construct an implementation of RDFList in the given graph, where the given node is the head of the list.ResourceImpl
(Node n, EnhGraph m) ResourceImpl
(Node n, ModelCom m) the main constructor: make a new Resource in the given model, rooted in the given node. -
Uses of Node in org.apache.jena.reasoner
Modifier and TypeMethodDescriptionBaseInfGraph.getGlobalProperty
(Node property) Test a global boolean property of the graph.InfGraph.getGlobalProperty
(Node property) Test a global boolean property of the graph.TriplePattern.getObject()
Returns the object.TriplePattern.getPredicate()
Returns the predicate.TriplePattern.getSubject()
Returns the subject.static Node
ReasonerRegistry.makeDirect
(Node node) Return a property Node which represents the direct version of a transitively closed property.Modifier and TypeMethodDescriptionAn extension of the Graph.find interface which allows the caller to encode complex expressions in RDF and then refer to those expressions within the query triple.An extension of the Graph.find interface which allows the caller to encode complex expressions in RDF and then refer to those expressions within the query triple.BaseInfGraph.getGlobalProperty
(Node property) Test a global boolean property of the graph.InfGraph.getGlobalProperty
(Node property) Test a global boolean property of the graph.static Node
ReasonerRegistry.makeDirect
(Node node) Return a property Node which represents the direct version of a transitively closed property.void
static String
TriplePattern.simplePrintString
(Node n) Simplified printable name for a nodeboolean
BaseInfGraph.testGlobalProperty
(Node property) A convenience version of getGlobalProperty which can only return a boolean result.boolean
InfGraph.testGlobalProperty
(Node property) A convenience version of getGlobalProperty which can only return a boolean result.ModifierConstructorDescriptionTriplePattern
(Node subject, Node predicate, Node object) Constructor - builds a pattern from three nodes, use Node_RuleVariables as variables, use a variable with an empty name as a wildcard, can also use null as a wildcard. -
Uses of Node in org.apache.jena.reasoner.rulesys
Modifier and TypeClassDescriptionclass
A variation on the normal Node_Variable which support for value bindings.Modifier and TypeMethodDescriptionNode_RuleVariable.deref()
Dereference a variable by following the reference chain.Node[]
Functor.getArgs()
Return the functor arguments as an array of nodesNode[]
Functor.getBoundArgs
(BindingEnvironment env) Return a new Node array containing the bound versions of this Functor's argumentsBindingEnvironment.getGroundVersion
(Node node) Return the most ground version of the node.static Node
Util.getPropValue
(Node root, Node prop, Graph context) Helper - returns the (singleton) value for the given property on the given root node in the data graph.static Node
Util.getPropValue
(Node root, Node prop, Finder context) Helper - returns the (singleton) value for the given property on the given root node in the data graph.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.Node_RuleVariable.getRawBoundValue()
Return the raw value to which this variable is bound (via LP binding) with no dereferencing.Retrieve or create a bNode representing an inferred property value.Retrieve or create a bNode representing an inferred property value.Retrieve or create a bNode representing an inferred property value.static Node
Util.makeDoubleNode
(double value) Construct a new double valued nodestatic Node
Functor.makeFunctorNode
(String name, Node[] args) Create a functor and wrap it up as a Literal nodestatic Node
Functor.makeFunctorNode
(Functor f) Wrap a functor as a Literal nodestatic Node
Util.makeIntNode
(int value) Construct a new integer valued nodestatic Node
Construct an RDF list from the given array of nodes and assert it in the graph returning the head of the list.static Node
Util.makeLongNode
(long value) Construct a new long valued nodeModifier and TypeMethodDescriptionUtil.convertList
(Node root, RuleContext context) Convert an (assumed well formed) RDF list to a java list of NodesModifier and TypeMethodDescriptionboolean
Bind a variable in the current environment to the given value.boolean
Builtin.bodyCall
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule body.FBRuleInfGraph.checkLiteral
(Node prop, Triple triple) Check a given literal value for a property against the set of known range constraints for it.static boolean
Util.comparable
(Node n1, Node n2) Test if two literals are comparable by an order operator (both numbers or both times)static int
Util.compareInstants
(Node n1, Node n2) Compare two time Instant nodes.static int
Util.compareNumbers
(Node n1, Node n2) Compare two numeric nodes.static int
Util.compareTypedLiterals
(Node n1, Node n2) General order comparator for typed literal nodes, works for all numbers and for date times.boolean
Return true if the triple pattern is already in either the graph or the stack.Util.convertList
(Node root, RuleContext context) Convert an (assumed well formed) RDF list to a java list of NodesIn some formulations the context includes deductions that are not yet visible to the underlying graph but need to be checked for.BasicForwardRuleInfGraph.findDataMatches
(Node subject, Node predicate, Node object) Search the combination of data and deductions graphs for the given triple pattern.FBRuleInfGraph.findDataMatches
(Node subject, Node predicate, Node object) Search the combination of data and deductions graphs for the given triple pattern.ForwardRuleInfGraphI.findDataMatches
(Node subject, Node predicate, Node object) Search the combination of data and deductions graphs for the given triple pattern.BindingEnvironment.getGroundVersion
(Node node) Return the most ground version of the node.static int
Util.getIntValue
(Node n) Return the integer value of a literal nodestatic Node
Util.getPropValue
(Node root, Node prop, Graph context) Helper - returns the (singleton) value for the given property on the given root node in the data graph.static Node
Util.getPropValue
(Node root, Node prop, Finder context) Helper - returns the (singleton) value for the given property on the given root node in the data graph.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.Retrieve or create a bNode representing an inferred property value.Retrieve or create a bNode representing an inferred property value.Retrieve or create a bNode representing an inferred property value.FBRuleInfGraph.graphBaseFind
(Node subject, Node property, Node object) Returns an iterator over Triples.LPBackwardRuleInfGraph.graphBaseFind
(Node subject, Node property, Node object) Returns an iterator over Triples.void
Builtin.headAction
(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule head.void
Called to flag that a node should be hidden from external queries.static boolean
tests that a given Node represents a functorstatic boolean
Check whether a Node is an Instant (DateTime) valuestatic boolean
Check whether a Node is a numeric (integer) valuestatic Node
Functor.makeFunctorNode
(String name, Node[] args) Create a functor and wrap it up as a Literal nodestatic Node
Construct an RDF list from the given array of nodes and assert it in the graph returning the head of the list.static boolean
Node_RuleVariable.sameNodeAs
(Node n, Node m) Compare two nodes, taking into account variable indices.void
Set a predicate to be tabled/memoized by the LP engine.void
Set a predicate to be tabled/memoized by the LP engine.void
Node_RuleVariable.simpleBind
(Node node) Binds a value to the brule version of the variable.void
FBRuleReasoner.tablePredicate
(Node predicate) Register an RDF predicate as one whose presence in a goal should force the goal to be tabled.void
LPBackwardRuleReasoner.tablePredicate
(Node predicate) Register an RDF predicate as one whose presence in a goal should force the goal to be tabled.ModifierConstructorDescriptionConstructor.ConstructorFunctor
(String name, Node[] args, BuiltinRegistry registry) Constructor -
Uses of Node in org.apache.jena.reasoner.rulesys.builtins
Modifier and TypeMethodDescriptionBaseBuiltin.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.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.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.static boolean
Check if a literal value node is a legal value for the given datatype.void
Print.print
(Node[] args, int length, RuleContext context) Print a node list to stdout -
Uses of Node in org.apache.jena.reasoner.rulesys.impl
Modifier and TypeMethodDescriptionstatic Node
Dereference a node, following any binding trail.static Node
LPInterpreter.derefPossFunctor
(Node node) Dereference a node which may be a functor nodeBindingStack.getBinding
(Node node) If the node is a variable then return the current binding (null if not bound) otherwise return the node itself.BindingVector.getBinding
(Node node) If the node is a variable then return the current binding (null if not bound) otherwise return the node itself.Node[]
BindingStack.getEnvironment()
Return the current array of bindingsNode[]
BindingVector.getEnvironment()
Return the current array of bindings.TempNodeCache.NodePair.getFirst()
Return the first node in the pair.BindingStack.getGroundVersion
(Node node) Return the most ground version of the node.BindingVector.getGroundVersion
(Node node) Return the most ground version of the node.LPBindingEnvironment.getGroundVersion
(Node node) Return the most ground version of the node.TempNodeCache.NodePair.getSecond()
Return the second node in the pair.Retrieve or create a bNode representing an inferred property value.Retrieve or create a bNode representing an inferred property value.Modifier and TypeMethodDescriptionboolean
Bind the ith variable in the current envionment to the given value.boolean
Bind a variable in the current envionment to the given value.boolean
Bind the ith variable in the current environment to the given value.boolean
Bind a variable in the current environment to the given value.boolean
Bind a variable in the current environment to the given value.void
Bind a value to a variable, recording the binding in the trail.void
BindingStack.bindNoCheck
(Node_RuleVariable var, Node value) Bind a variable in the current envionment to the given value.Return an ordered list of RuleClauseCode objects to implement the given predicate.boolean
boolean
Return true if the triple pattern is already in either the graph or the stack.boolean
Return true if the triple pattern is already in either the graph or the stack.static Node
Dereference a node, following any binding trail.static Node
LPInterpreter.derefPossFunctor
(Node node) Dereference a node which may be a functor nodeIn some formulations the context includes deductions that are not yet visible to the underlying graph but need to be checked for.In some formulations the context includes deductions that are not yet visible to the underlying graph but need to be checked for.BindingStack.getBinding
(Node node) If the node is a variable then return the current binding (null if not bound) otherwise return the node itself.BindingVector.getBinding
(Node node) If the node is a variable then return the current binding (null if not bound) otherwise return the node itself.BindingStack.getGroundVersion
(Node node) Return the most ground version of the node.BindingVector.getGroundVersion
(Node node) Return the most ground version of the node.LPBindingEnvironment.getGroundVersion
(Node node) Return the most ground version of the node.Retrieve or create a bNode representing an inferred property value.Retrieve or create a bNode representing an inferred property value.void
EnvironmentFrameWithDerivation.initDerivationRecord
(Node[] args) Create an initial derivation record for this frame, based on the given argument registers.static boolean
LPInterpreter.isGrounded
(Node node) Check if a node values is now groundedboolean
LPRuleStore.isIndexedPredicate
(Node predicate) Return true if the given predicate is indexed.boolean
Return true if the given predicated is tabled, currently this is true if the predicate is a tabled predicate or the predicate is a wildcard and some tabled predicates exist.static boolean
FRuleEngine.match
(Node pattern, Node node, BindingStack env) Test if a pattern Node matches a Triple Node in the given binding environment.static int
FRuleEngine.scoreNodeBoundness
(Node n, BindingEnvironment env) Score a Node in terms of groundedness - heuristic.void
MutableTriplePattern.setPattern
(Node subject, Node predicate, Node object) Set the subject,predicate, object components of the pattern.void
LPBRuleEngine.tablePredicate
(Node predicate) Register an RDF predicate as one whose presence in a goal should force the goal to be tabled.void
LPRuleStore.tablePredicate
(Node predicate) Register an RDF predicate as one whose presence in a goal should force the goal to be tabled.boolean
Unify two nodes.Modifier and TypeMethodDescriptionstatic RETEClauseFilter
RETEClauseFilter.compile
(TriplePattern clause, int envLength, List<Node> varList) Create a filter node from a rule clause.void
ConsumerChoicePointFrame.preserveState
(List<Node> trail) Preserve the state of an interpreter into this frame.ModifierConstructorDescriptionBindingVector
(Node[] env) Constructor - create a binding environment from a vector of bindingsConstructor -
Uses of Node in org.apache.jena.reasoner.transitiveReasoner
Modifier and TypeFieldDescriptionstatic Node
TransitiveEngine.directSubClassOf
The direct (minimal) version of the subClassOf propertystatic final Node
TransitiveReasoner.directSubClassOf
The direct (minimal) version of the subClassOf propertystatic Node
TransitiveEngine.directSubPropertyOf
The direct (minimal) version of the subPropertyOf propertystatic final Node
TransitiveReasoner.directSubPropertyOf
The direct (minimal) version of the subPropertyOf propertystatic Node
TransitiveEngine.subClassOf
The normal subClassOf propertystatic final Node
TransitiveReasoner.subClassOf
The normal subClassOf propertystatic Node
TransitiveEngine.subPropertyOf
The normal subPropertyOf propertystatic final Node
TransitiveReasoner.subPropertyOf
The normal subPropertyOf propertyModifier and TypeMethodDescriptionTransitiveGraphCache.getClosedPredicate()
Returns the closedPredicate.TransitiveGraphCache.getDirectPredicate()
Returns the directPredicate.Modifier and TypeMethodDescriptionTransitiveGraphCache.listAllSubjects()
Return an iterator over all registered subject nodesModifier and TypeMethodDescriptionboolean
Cache all instances of the given predicate which are present in the given Graph.boolean
TransitiveEngine.checkOccurance
(Node prop, Graph graph) Test if there are any usages of prop within the given graph.TransitiveInfGraph.graphBaseFind
(Node subject, Node property, Node object) Returns an iterator over Triples.boolean
Return true if the given Node is registered as a subject nodeModifierConstructorDescriptionTransitiveGraphCache
(Node directPredicate, Node closedPredicate) Constructor - create a new cache to hold the given relation information. -
Uses of Node in org.apache.jena.sys
Modifier and TypeMethodDescriptionSerializer.getNodeSerializer()
Return the current node serializer replacement function.Modifier and TypeMethodDescriptionstatic void
Serializer.setNodeSerializer
(Function<Node, Object> writeReplaceFunction) Set the node serializer replacement function. -
Uses of Node in org.apache.jena.util
-
Uses of Node in org.apache.jena.vocabulary
Modifier and TypeFieldDescriptionstatic final Node
RDF.Nodes.Alt
static final Node
RDF.Nodes.Bag
static final Node
RDFS.Nodes.Class
static final Node
RDFS.Nodes.comment
static final Node
RDF.Nodes.CompoundLiteral
static final Node
RDFS.Nodes.Container
static final Node
RDFS.Nodes.ContainerMembershipProperty
static final Node
RDFS.Nodes.Datatype
static final Node
RDF.Nodes.direction
static final Node
RDF.Nodes.dirLangString
static final Node
RDFS.Nodes.domain
static final Node
RDF.Nodes.first
static final Node
RDF.Nodes.HTML
static final Node
RDFS.Nodes.isDefinedBy
static final Node
RDF.Nodes.JSON
static final Node
RDFS.Nodes.label
static final Node
RDF.Nodes.langString
static final Node
RDF.Nodes.language
static final Node
RDF.Nodes.List
static final Node
RDFS.Nodes.Literal
static final Node
RDFS.Nodes.member
static final Node
RDF.Nodes.nil
static final Node
RDF.Nodes.object
static final Node
RDF.Nodes.predicate
static final Node
RDF.Nodes.Property
static final Node
RDFS.Nodes.range
static final Node
RDFS.Nodes.Resource
static final Node
RDF.Nodes.rest
static final Node
RDFS.Nodes.seeAlso
static final Node
RDF.Nodes.Seq
static final Node
RDF.Nodes.Statement
static final Node
RDFS.Nodes.subClassOf
static final Node
RDF.Nodes.subject
static final Node
RDFS.Nodes.subPropertyOf
static final Node
RDF.Nodes.type
static final Node
RDF.Nodes.value
static final Node
RDF.Nodes.xmlLiteral
NodeFactory.createLiteralString(java.lang.String)