Uses of Class
org.apache.jena.graph.Node
Packages that use 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
Methods in org.apache.jena.enhanced that return NodeModifier and TypeMethodDescriptionEnhNode.asNode()Answer the graph node that this enhanced node wrapsMethods in org.apache.jena.enhanced with parameters of type NodeModifier and TypeMethodDescriptionabstract booleantrue 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 EnhNodeCreate a new EnhNode wrapping a Node in the context of an EnhGraphConstructors in org.apache.jena.enhanced with parameters of type Node -
Uses of Node in org.apache.jena.graph
Subclasses of Node in org.apache.jena.graphModifier and TypeClassDescriptionclassA Node_ANY (there should be only one) is a meta-node that is used to stand for any other node in a query.classRDF blank nodes.classNode_Ext<X>Extension to the RDF Data model.classRDF Graphs as RDF terms.classAn RDF node holding a literal value.classMarker special nodes for datastructures.classRDF triples as RDF terms for RDF-star quoted triples.classRDF nodes with a global identity given by a URI.class"variable" nodes; these are outside the RDF specificationFields in org.apache.jena.graph declared as NodeMethods in org.apache.jena.graph that return NodeModifier and TypeMethodDescriptionFrontsNode.asNode()Answer the Node associated with this object.static NodeNodeFactory.createBlankNode()Make a fresh blank nodestatic NodeNodeFactory.createBlankNode(String string) make a blank node with the specified labelstatic Nodemake an extension node based on a string.static NodeNodeFactory.createGraphNode(Graph graph) Create a graph node.static NodeNodeFactory.createLiteral(String string) Deprecated, for removal: This API element is subject to removal in a future version.static NodeNodeFactory.createLiteral(String string, String lang) Deprecated, for removal: This API element is subject to removal in a future version.static NodeNodeFactory.createLiteral(String lex, String lang, String textDir, RDFDatatype dtype) Build a literal node.static NodeNodeFactory.createLiteral(String lex, String lang, RDFDatatype dtype) Build a literal node.static NodeNodeFactory.createLiteral(String lex, String lang, TextDirection textDir, RDFDatatype dtype) Build a literal node.static NodeNodeFactory.createLiteral(String lex, RDFDatatype dtype) Deprecated.static NodeNodeFactory.createLiteral(LiteralLabel lit) Deprecated.Making nodes directly fromLiteralLabelmay be removed.static NodeNodeFactory.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 NodeNodeFactory.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 NodeNodeFactory.createLiteralDirLang(String string, String lang, String textDir) Make a literal with specified language and language direction.static NodeNodeFactory.createLiteralDirLang(String string, String lang, TextDirection textDir) static NodeNodeFactory.createLiteralDT(String lex, RDFDatatype dtype) Build a typed literal node from its lexical form.static NodeNodeFactory.createLiteralLang(String string, String lang) Make a literal with specified language.static NodeNodeFactory.createLiteralString(String string) static NodeNodeFactory.createTripleNode(Node s, Node p, Node o) Deprecated.static NodeNodeFactory.createTripleNode(Triple triple) Deprecated.static NodeNodeFactory.createTripleTerm(Node s, Node p, Node o) Create a triple node (RDF-star)static NodeNodeFactory.createTripleTerm(Triple triple) Create a triple term (RDF-star)static Nodemake a URI node with the specified URIref stringstatic NodeNodeFactory.createVariable(String name) make a variable node with a given nameabstract NodeTriple.getMatchObject()Return object or null, not Node.ANYTriple.getMatchPredicate()Return predicate or null, not Node.ANYTriple.getMatchSubject()Return subject or null, not Node.ANYfinal NodeTriple.getObject()final NodeTriple.getPredicate()final NodeTriple.getSubject()static NodeMethods in org.apache.jena.graph that return types with arguments of type NodeModifier 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.Methods in org.apache.jena.graph with parameters of type NodeModifier and TypeMethodDescriptiondefault voidAdd the triple comprised of s,p,o to the set belonging to this graphbooleanAnswer true iff the graph contains a triple matching (s, p, o).static booleanGraphUtil.containsNode(Graph graph, Node node) Does the graph use the node anywhere as a subject, predicate or object?static Triplestatic TripleTriple.createMatch(Node s, Node p, Node o) static NodeNodeFactory.createTripleNode(Node s, Node p, Node o) Deprecated.static NodeNodeFactory.createTripleTerm(Node s, Node p, Node o) Create a triple node (RDF-star)default voidDelete 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 intReturn 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.booleanbooleanbooleanAnswer true iff this node accepts the other one as a match.booleanbooleanTriple.objectMatches(Node o) booleanTriple.predicateMatches(Node p) voidRemove all triples that match by find(s, p, o)static GraphEventsstatic voidA safe and cautious remove() function that converts the remove to a number ofGraph.delete(Triple)operations.booleanAnswer true iff this triple has subject s, predicate p, and object o.Returns aStreamof Triples matching a pattern.booleanTriple.subjectMatches(Node s) Constructors in org.apache.jena.graph with parameters of type Node -
Uses of Node in org.apache.jena.graph.impl
Methods in org.apache.jena.graph.impl that return NodeMethods in org.apache.jena.graph.impl that return types with arguments of type NodeModifier 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.Methods in org.apache.jena.graph.impl with parameters of type NodeModifier and TypeMethodDescriptionfinal booleanAnswertrueif this graph contains(s, p, o); this canonical implementation cannot be over-ridden.booleanbooleanfinal ExtendedIterator<Triple>voidRemove all triples that match by find(s, p, o)voidvoidAnswer an ExtendedIterator returning all the triples from this store that match the patternm = (S, P, O). -
Uses of Node in org.apache.jena.mem
Methods in org.apache.jena.mem that return NodeMethods in org.apache.jena.mem that return types with arguments of type NodeModifier and TypeMethodDescriptionGraphTripleStoreBase.listObjects()GraphTripleStoreBase.listPredicates()GraphTripleStoreBase.listSubjects()Methods in org.apache.jena.mem with parameters of type NodeModifier and TypeMethodDescriptionbooleanNodeToTriplesMapBase.containsMatch(Node index, Node n2, Node n3) static FieldFilterFieldFilter.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).Method parameters in org.apache.jena.mem with type arguments of type NodeModifier and TypeMethodDescriptionvoidObjectIterator.forEachRemaining(Consumer<? super Node> action) -
Uses of Node in org.apache.jena.mem2
Methods in org.apache.jena.mem2 with parameters of type Node -
Uses of Node in org.apache.jena.mem2.pattern
Methods in org.apache.jena.mem2.pattern with parameters of type Node -
Uses of Node in org.apache.jena.mem2.store.legacy
Methods in org.apache.jena.mem2.store.legacy with parameters of type NodeModifier and TypeMethodDescriptionbooleanNodeToTriplesMap.containsMatch(Node index, Node n2, Node n3) Answer true iff this map contains a triple that matches the pattern.booleanNodeToTriplesMapMem.containsMatch(Node index, Node n2, Node n3) static FieldFilterFieldFilter.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
Methods in org.apache.jena.ontology with parameters of type NodeModifier and TypeMethodDescription<T> booleanProfile.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
Methods in org.apache.jena.ontology.impl with parameters of type NodeModifier and TypeMethodDescriptionstatic booleanAbstractProfile.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 booleanOWLDLProfile.containsSome(EnhGraph g, Node n, Property p) static booleanOWLLiteProfile.containsSome(EnhGraph g, Node n, Property p) static booleanOWLProfile.containsSome(EnhGraph g, Node n, Property p) static booleanCardinalityQRestrictionImpl.isCardinalityQRestriction(Node node, EnhGraph eg) static booleanMaxCardinalityQRestrictionImpl.isMaxCardinalityQRestriction(Node node, EnhGraph eg) static booleanMinCardinalityQRestrictionImpl.isMinCardinalityQRestriction(Node node, EnhGraph eg) <T> booleanOWLProfile.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> booleanRDFSProfile.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.Constructors in org.apache.jena.ontology.impl with parameters of type NodeModifierConstructorDescriptionAllDifferentImpl(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
Methods in org.apache.jena.rdf.model with parameters of type NodeModifier and TypeMethodDescriptionAnswer an RDF node wrappingnsuitably; URI nodes become Resources with the same URI, blank nodes become Resources with URI null but the same AnonId, and literal nodes become Literals withnas their value carrier.ModelCon.getRDFNode(Node n) ModelGraphInterface.wrapAsResource(Node n) Constructors in org.apache.jena.rdf.model with parameters of type NodeModifierConstructorDescription -
Uses of Node in org.apache.jena.rdf.model.impl
Methods in org.apache.jena.rdf.model.impl that return NodeModifier and TypeMethodDescriptionstatic Nodestatic Nodenote the triple _t_ as reified using _n_ as its representing node.Methods in org.apache.jena.rdf.model.impl that return types with arguments of type NodeModifier 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 graphMethods in org.apache.jena.rdf.model.impl with parameters of type NodeModifier and TypeMethodDescriptionstatic RDFNodeStatementImpl.createObject(Node n, EnhGraph g) ModelCom.getRDFNode(Node n) static TripleAnswer the triple associated with the noden.static booleanUtil.hasDirection(Node n) Test whether this node has an initial text language (rdf:dirLangString)static booleanTest whether this node has a language (rdf:langString or rdf:dirLangString)static booleantrue iff _n_ is associated with some triple rficationstatic booleanUtil.isDirLangString(Node n) A Node is a well-formed directional language string if it has a language tag and it has an base direction.static booleanUtil.isLangString(Node n) A Node is a well-formed language string if it has a language tag and it does not have a base direction.static booleanUtil.isSimpleString(Node n) A Node is a simple string if: (RDF 1.0) No datatype and no language tag.static Nodenote the triple _t_ as reified using _n_ as its representing node.static voidremove any existing binding for _n_; hasNode(n) will return false and getTriple(n) will return null.ModelCom.wrapAsResource(Node n) Method parameters in org.apache.jena.rdf.model.impl with type arguments of type NodeModifier and TypeMethodDescriptionstatic NodeIteratorIteratorFactory.asRDFNodeIterator(Iterator<Node> i, ModelCom m) static ResIteratorIteratorFactory.asResIterator(Iterator<Node> i, ModelCom m) Constructors in org.apache.jena.rdf.model.impl with parameters of type NodeModifierConstructorDescriptionContainerImpl(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.StatementTermImpl(Node n, EnhGraph m) -
Uses of Node in org.apache.jena.reasoner
Methods in org.apache.jena.reasoner that return NodeModifier 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 NodeReasonerRegistry.makeDirect(Node node) Return a property Node which represents the direct version of a transitively closed property.Methods in org.apache.jena.reasoner with parameters of type NodeModifier 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 NodeReasonerRegistry.makeDirect(Node node) Return a property Node which represents the direct version of a transitively closed property.voidstatic StringTriplePattern.simplePrintString(Node n) Simplified printable name for a nodebooleanBaseInfGraph.testGlobalProperty(Node property) A convenience version of getGlobalProperty which can only return a boolean result.booleanInfGraph.testGlobalProperty(Node property) A convenience version of getGlobalProperty which can only return a boolean result.Constructors in org.apache.jena.reasoner with parameters of type NodeModifierConstructorDescriptionTriplePattern(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
Subclasses of Node in org.apache.jena.reasoner.rulesysModifier and TypeClassDescriptionclassA variation on the normal Node_Variable which support for value bindings.Methods in org.apache.jena.reasoner.rulesys that return NodeModifier 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 NodeUtil.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 NodeUtil.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 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.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 NodeUtil.makeDoubleNode(double value) Construct a new double valued nodestatic NodeFunctor.makeFunctorNode(String name, Node[] args) Create a functor and wrap it up as a Literal nodestatic NodeFunctor.makeFunctorNode(Functor f) Wrap a functor as a Literal nodestatic NodeUtil.makeIntNode(int value) Construct a new integer valued nodestatic NodeConstruct an RDF list from the given array of nodes and assert it in the graph returning the head of the list.static NodeUtil.makeLongNode(long value) Construct a new long valued nodeMethods in org.apache.jena.reasoner.rulesys that return types with arguments of type NodeModifier and TypeMethodDescriptionUtil.convertList(Node root, RuleContext context) Convert an (assumed well formed) RDF list to a java list of NodesMethods in org.apache.jena.reasoner.rulesys with parameters of type NodeModifier and TypeMethodDescriptionbooleanBind a variable in the current environment to the given value.booleanBuiltin.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 booleanUtil.comparable(Node n1, Node n2) Test if two literals are comparable by an order operator (both numbers or both times)static intUtil.compareInstants(Node n1, Node n2) Compare two time Instant nodes.static intUtil.compareNumbers(Node n1, Node n2) Compare two numeric nodes.static intUtil.compareTypedLiterals(Node n1, Node n2) General order comparator for typed literal nodes, works for all numbers and for date times.booleanReturn 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 intUtil.getIntValue(Node n) Return the integer value of a literal nodestatic NodeUtil.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 NodeUtil.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 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.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.voidBuiltin.headAction(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule head.voidCalled to flag that a node should be hidden from external queries.static booleantests that a given Node represents a functorstatic booleanCheck whether a Node is an Instant (DateTime) valuestatic booleanCheck whether a Node is a numeric (integer) valuestatic NodeFunctor.makeFunctorNode(String name, Node[] args) Create a functor and wrap it up as a Literal nodestatic NodeConstruct an RDF list from the given array of nodes and assert it in the graph returning the head of the list.static booleanNode_RuleVariable.sameNodeAs(Node n, Node m) Compare two nodes, taking into account variable indices.voidSet a predicate to be tabled/memoized by the LP engine.voidSet a predicate to be tabled/memoized by the LP engine.voidNode_RuleVariable.simpleBind(Node node) Binds a value to the brule version of the variable.voidFBRuleReasoner.tablePredicate(Node predicate) Register an RDF predicate as one whose presence in a goal should force the goal to be tabled.voidLPBackwardRuleReasoner.tablePredicate(Node predicate) Register an RDF predicate as one whose presence in a goal should force the goal to be tabled.Constructors in org.apache.jena.reasoner.rulesys with parameters of type NodeModifierConstructorDescriptionConstructor.ConstructorFunctor(String name, Node[] args, BuiltinRegistry registry) ConstructorConstructor parameters in org.apache.jena.reasoner.rulesys with type arguments of type Node -
Uses of Node in org.apache.jena.reasoner.rulesys.builtins
Methods in org.apache.jena.reasoner.rulesys.builtins that return NodeModifier 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.Methods in org.apache.jena.reasoner.rulesys.builtins with parameters of type NodeModifier 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.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.static booleanCheck if a literal value node is a legal value for the given datatype.voidPrint.print(Node[] args, int length, RuleContext context) Print a node list to stdout -
Uses of Node in org.apache.jena.reasoner.rulesys.impl
Methods in org.apache.jena.reasoner.rulesys.impl that return NodeModifier and TypeMethodDescriptionstatic NodeDereference a node, following any binding trail.static NodeLPInterpreter.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.Methods in org.apache.jena.reasoner.rulesys.impl with parameters of type NodeModifier and TypeMethodDescriptionbooleanBind the ith variable in the current envionment to the given value.booleanBind a variable in the current envionment to the given value.booleanBind the ith variable in the current environment to the given value.booleanBind a variable in the current environment to the given value.booleanBind a variable in the current environment to the given value.voidBind a value to a variable, recording the binding in the trail.voidBindingStack.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.booleanbooleanReturn true if the triple pattern is already in either the graph or the stack.booleanReturn true if the triple pattern is already in either the graph or the stack.static NodeDereference a node, following any binding trail.static NodeLPInterpreter.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.voidEnvironmentFrameWithDerivation.initDerivationRecord(Node[] args) Create an initial derivation record for this frame, based on the given argument registers.static booleanLPInterpreter.isGrounded(Node node) Check if a node values is now groundedbooleanLPRuleStore.isIndexedPredicate(Node predicate) Return true if the given predicate is indexed.booleanReturn 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 booleanFRuleEngine.match(Node pattern, Node node, BindingStack env) Test if a pattern Node matches a Triple Node in the given binding environment.static intFRuleEngine.scoreNodeBoundness(Node n, BindingEnvironment env) Score a Node in terms of groundedness - heuristic.voidMutableTriplePattern.setPattern(Node subject, Node predicate, Node object) Set the subject,predicate, object components of the pattern.voidLPBRuleEngine.tablePredicate(Node predicate) Register an RDF predicate as one whose presence in a goal should force the goal to be tabled.voidLPRuleStore.tablePredicate(Node predicate) Register an RDF predicate as one whose presence in a goal should force the goal to be tabled.booleanUnify two nodes.Method parameters in org.apache.jena.reasoner.rulesys.impl with type arguments of type NodeModifier and TypeMethodDescriptionstatic RETEClauseFilterRETEClauseFilter.compile(TriplePattern clause, int envLength, List<Node> varList) Create a filter node from a rule clause.voidConsumerChoicePointFrame.preserveState(List<Node> trail) Preserve the state of an interpreter into this frame.Constructors in org.apache.jena.reasoner.rulesys.impl with parameters of type NodeModifierConstructorDescriptionBindingVector(Node[] env) Constructor - create a binding environment from a vector of bindingsConstructor -
Uses of Node in org.apache.jena.reasoner.transitiveReasoner
Fields in org.apache.jena.reasoner.transitiveReasoner declared as NodeModifier and TypeFieldDescriptionstatic NodeTransitiveEngine.directSubClassOfThe direct (minimal) version of the subClassOf propertystatic final NodeTransitiveReasoner.directSubClassOfThe direct (minimal) version of the subClassOf propertystatic NodeTransitiveEngine.directSubPropertyOfThe direct (minimal) version of the subPropertyOf propertystatic final NodeTransitiveReasoner.directSubPropertyOfThe direct (minimal) version of the subPropertyOf propertystatic NodeTransitiveEngine.subClassOfThe normal subClassOf propertystatic final NodeTransitiveReasoner.subClassOfThe normal subClassOf propertystatic NodeTransitiveEngine.subPropertyOfThe normal subPropertyOf propertystatic final NodeTransitiveReasoner.subPropertyOfThe normal subPropertyOf propertyMethods in org.apache.jena.reasoner.transitiveReasoner that return NodeModifier and TypeMethodDescriptionTransitiveGraphCache.getClosedPredicate()Returns the closedPredicate.TransitiveGraphCache.getDirectPredicate()Returns the directPredicate.Methods in org.apache.jena.reasoner.transitiveReasoner that return types with arguments of type NodeModifier and TypeMethodDescriptionTransitiveGraphCache.listAllSubjects()Return an iterator over all registered subject nodesMethods in org.apache.jena.reasoner.transitiveReasoner with parameters of type NodeModifier and TypeMethodDescriptionbooleanCache all instances of the given predicate which are present in the given Graph.booleanTransitiveEngine.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.booleanReturn true if the given Node is registered as a subject nodeConstructors in org.apache.jena.reasoner.transitiveReasoner with parameters of type NodeModifierConstructorDescriptionTransitiveGraphCache(Node directPredicate, Node closedPredicate) Constructor - create a new cache to hold the given relation information. -
Uses of Node in org.apache.jena.sys
Methods in org.apache.jena.sys that return types with arguments of type NodeModifier and TypeMethodDescriptionSerializer.getNodeSerializer()Return the current node serializer replacement function.Method parameters in org.apache.jena.sys with type arguments of type NodeModifier and TypeMethodDescriptionstatic voidSerializer.setNodeSerializer(Function<Node, Object> writeReplaceFunction) Set the node serializer replacement function. -
Uses of Node in org.apache.jena.util
Methods in org.apache.jena.util with parameters of type Node -
Uses of Node in org.apache.jena.vocabulary
Fields in org.apache.jena.vocabulary declared as NodeModifier and TypeFieldDescriptionstatic final NodeRDF.Nodes.Altstatic final NodeRDF.Nodes.Bagstatic final NodeRDFS.Nodes.Classstatic final NodeRDFS.Nodes.commentstatic final NodeRDF.Nodes.CompoundLiteralstatic final NodeRDFS.Nodes.Containerstatic final NodeRDFS.Nodes.ContainerMembershipPropertystatic final NodeRDFS.Nodes.Datatypestatic final NodeRDF.Nodes.directionstatic final NodeRDF.Nodes.dirLangStringstatic final NodeRDFS.Nodes.domainstatic final NodeRDF.Nodes.firststatic final NodeRDF.Nodes.HTMLstatic final NodeRDFS.Nodes.isDefinedBystatic final NodeRDF.Nodes.JSONstatic final NodeRDFS.Nodes.labelstatic final NodeRDF.Nodes.langRangestatic final NodeRDF.Nodes.langStringstatic final NodeRDF.Nodes.languagestatic final NodeRDF.Nodes.Liststatic final NodeRDFS.Nodes.Literalstatic final NodeRDFS.Nodes.memberstatic final NodeRDF.Nodes.nilstatic final NodeRDF.Nodes.objectstatic final NodeRDF.Nodes.PlainLiteralstatic final NodeRDF.Nodes.predicatestatic final NodeRDF.Nodes.Propertystatic final NodeRDFS.Nodes.rangestatic final NodeRDF.Nodes.reifiesstatic final NodeRDFS.Nodes.Resourcestatic final NodeRDF.Nodes.reststatic final NodeRDFS.Nodes.seeAlsostatic final NodeRDF.Nodes.Seqstatic final NodeRDF.Nodes.Statementstatic final NodeRDFS.Nodes.subClassOfstatic final NodeRDF.Nodes.subjectstatic final NodeRDFS.Nodes.subPropertyOfstatic final NodeRDF.Nodes.typestatic final NodeRDF.Nodes.valuestatic final NodeRDF.Nodes.xmlLiteralMethods in org.apache.jena.vocabulary that return Node
NodeFactory.createLiteralString(java.lang.String)