Uses of Class
org.apache.jena.graph.Triple
Package
Description
This package defines the Graph and Node family of classes, which
form the underlying datatypes of the Jena system.
This package defines simple composite graphs - union, intersection,
difference, and update-tracking.
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.
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.
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.
-
Uses of Triple in org.apache.jena.graph
Modifier and TypeFieldDescriptionstatic final Triple
Triple.ANY
A Triple that hasNode.ANY
in all fields.Modifier and TypeMethodDescriptionFrontsTriple.asTriple()
static Triple
static Triple
Triple.createMatch
(Node s, Node p, Node o) GraphEvents.getTriple()
A fluid triple relevant to the event, or null if not applicable.Node_Triple.getTriple()
Node.getTriple()
Get the triple for a triple term (embedded triple), otherwise die horriblyTripleIterator.nextTriple()
Answer the next() element cast to Triple.Modifier and TypeMethodDescriptionTriple.Field.filterOnConcrete
(Node n) default ExtendedIterator<Triple>
Graph.find()
Returns an iterator over all Triples in the graph.Returns an iterator over Triples matching a pattern.Returns an iterator over all the Triples that match the triple pattern.static ExtendedIterator<Triple>
Answer an iterator covering all the triples in the specified graph.Graph.stream()
Returns aStream
of all triples in the graph.Returns aStream
of Triples matching a pattern.Modifier and TypeMethodDescriptionvoid
Add the triple t (if possible) to the set belonging to this graphstatic void
boolean
Answer true iff the graph contains a triple that t matches; t may be fluid.static Node
NodeFactory.createTripleNode
(Triple triple) Create a triple node (RDF-star)void
Delete the triple t (if possible) from the set belonging to this graphstatic void
Returns an iterator over all the Triples that match the triple pattern.abstract Node
boolean
Does this triple, used as a pattern match, the other triple (usually a ground triple)void
GraphListener.notifyAddArray
(Graph g, Triple[] triples) Method called when an array of triples has been added to the graph.void
GraphListenerBase.notifyAddArray
(Graph g, Triple[] triples) void
GraphListener.notifyAddTriple
(Graph g, Triple t) Method called when a single triple has been added to the graph.void
GraphListenerBase.notifyAddTriple
(Graph g, Triple t) void
GraphListener.notifyDeleteArray
(Graph g, Triple[] triples) Method called when an array of triples has been deleted from the graph.void
GraphListenerBase.notifyDeleteArray
(Graph g, Triple[] triples) void
GraphListener.notifyDeleteTriple
(Graph g, Triple t) Method called when a single triple has been deleted from the graph.void
GraphListenerBase.notifyDeleteTriple
(Graph g, Triple t) NodeVisitor.visitTriple
(Node_Triple it, Triple triple) Modifier and TypeMethodDescriptionstatic void
static void
static void
static void
void
GraphEventManager.notifyAddIterator
(Graph g, List<Triple> triples) Notify all attached listeners that an iterator [of triples] has been added to the graph; its content has been captured in the listtriples
.void
GraphListener.notifyAddIterator
(Graph g, Iterator<Triple> it) Method called when an iterator [of triples] has been added to the graphvoid
GraphListenerBase.notifyAddIterator
(Graph g, Iterator<Triple> it) void
GraphListener.notifyAddList
(Graph g, List<Triple> triples) Method called when a list [of triples] has been added to the graph.void
GraphListenerBase.notifyAddList
(Graph g, List<Triple> triples) void
GraphEventManager.notifyDeleteIterator
(Graph g, List<Triple> triples) Notify all attached listeners that an iterator [of triples] has been removed from the graph; its content has been captured in the listtriples
.void
GraphListener.notifyDeleteIterator
(Graph g, Iterator<Triple> it) Method called when an iterator [of triples] has been deleted from the graph.void
GraphListenerBase.notifyDeleteIterator
(Graph g, Iterator<Triple> it) void
GraphListener.notifyDeleteList
(Graph g, List<Triple> L) Method called when a list [of triples] has been deleted from the graph.void
GraphListenerBase.notifyDeleteList
(Graph g, List<Triple> triples) -
Uses of Triple in org.apache.jena.graph.compose
Modifier and TypeMethodDescriptionDifference._graphBaseFind
(Triple t) MultiUnion.graphBaseFind
(Triple t) Answer an iterator over the triples in the union of the graphs in this composition.Answer aPredicate
that will accept any triple that is an edge of graph g.static ExtendedIterator<Triple>
CompositionBase.rejecting
(ExtendedIterator<Triple> i, Set<Triple> seen) Answer an iterator over the elements of iterator i that are not in the setseen
.static ExtendedIterator<Triple>
CompositionBase.rejecting
(ExtendedIterator<Triple> i, Graph seen) Answer an iterator over the elements ofi
that are not in the graphseen
.Modifier and TypeMethodDescriptionDifference._graphBaseFind
(Triple t) boolean
DisjointUnion.graphBaseContains
(Triple t) boolean
MultiUnion.graphBaseContains
(Triple t) Answer true if at least one of the graphs in this union contain the given triple.boolean
Union.graphBaseContains
(Triple t) MultiUnion.graphBaseFind
(Triple t) Answer an iterator over the triples in the union of the graphs in this composition.void
Delta.performAdd
(Triple t) Add the triple to the graph, ie add it to the additions, remove it from the removals.void
Difference.performAdd
(Triple t) Add a triple to the difference: add it to the left operand, and remove it from the right operand.void
DisjointUnion.performAdd
(Triple t) void
Intersection.performAdd
(Triple t) void
MultiUnion.performAdd
(Triple t) Add the given triple to the union model; the actual component model to be updated will be the designated (or default) updateable graph.void
Union.performAdd
(Triple t) To add a triple to the union, add it to the left operand; this is asymmetric.void
Delta.performDelete
(Triple t) Remove the triple, ie, remove it from the adds, add it to the removals.void
Difference.performDelete
(Triple t) Remove a triple from the difference: remove it from the left operand.void
DisjointUnion.performDelete
(Triple t) void
Intersection.performDelete
(Triple t) void
MultiUnion.performDelete
(Triple t) Delete the given triple from the union model; the actual component model to be updated will be the designated (or default) updateable graph.void
Union.performDelete
(Triple t) To remove a triple, remove it from both operands.Modifier and TypeMethodDescriptionstatic ExtendedIterator<Triple>
CompositionBase.rejecting
(ExtendedIterator<Triple> i, Set<Triple> seen) Answer an iterator over the elements of iterator i that are not in the setseen
.static ExtendedIterator<Triple>
CompositionBase.rejecting
(ExtendedIterator<Triple> i, Set<Triple> seen) Answer an iterator over the elements of iterator i that are not in the setseen
.static ExtendedIterator<Triple>
CompositionBase.rejecting
(ExtendedIterator<Triple> i, Graph seen) Answer an iterator over the elements ofi
that are not in the graphseen
. -
Uses of Triple in org.apache.jena.graph.impl
Modifier and TypeMethodDescriptionfinal ExtendedIterator<Triple>
final ExtendedIterator<Triple>
Answer an ExtendedIterator returning all the triples from this store that match the patternm = (S, P, O)
.GraphBase.forTestingOnly_graphBaseFind
(Triple t) static ExtendedIterator<Triple>
SimpleEventManager.notifyingRemove
(Graph g, Iterator<Triple> i) Answer an iterator which wrapsi
to ensure that if a .remove() is executed on it, the graphg
will be notified.Answer an ExtendedIterator returning all the triples from this store that match the patternm = (S, P, O)
.Modifier and TypeMethodDescriptionvoid
Add a triple, and notify the event manager.void
Add a triple to this triple store.void
final boolean
Answertrue
ifft
is in the graph as revealed byfind(t)
being non-empty.boolean
boolean
Answer true iff this triple store contains the (concrete) triplet
.boolean
boolean
TripleStore.containsMatch
(Triple t) Answer true iff this triple store contains the triple matcht
.final void
Delete a triple, and notify the event manager.void
Remove a triple from this triple store.void
final ExtendedIterator<Triple>
Answer an ExtendedIterator returning all the triples from this store that match the patternm = (S, P, O)
.GraphBase.forTestingOnly_graphBaseFind
(Triple t) void
Tell the event manager that the triplet
has been added to the graph.void
SimpleEventManager.notifyAddArray
(Graph g, Triple[] ts) void
SimpleEventManager.notifyAddTriple
(Graph g, Triple t) void
GraphBase.notifyDelete
(Triple t) Tell the event manager that the triplet
has been deleted from the graph.void
SimpleEventManager.notifyDeleteArray
(Graph g, Triple[] ts) void
SimpleEventManager.notifyDeleteTriple
(Graph g, Triple t) void
CollectionGraph.performAdd
(Triple t) void
GraphBase.performAdd
(Triple t) Add a triple to the triple store.void
GraphWithPerform.performAdd
(Triple t) addt
to this graph, but do not generate any eventvoid
WrappedGraph.performAdd
(Triple t) void
CollectionGraph.performDelete
(Triple t) void
GraphBase.performDelete
(Triple t) Remove a triple from the triple store.void
GraphWithPerform.performDelete
(Triple t) removet
from this graph, but do not generate any eventvoid
WrappedGraph.performDelete
(Triple t) Modifier and TypeMethodDescriptionvoid
SimpleEventManager.notifyAddIterator
(Graph g, Iterator<Triple> it) void
SimpleEventManager.notifyAddIterator
(Graph g, List<Triple> it) void
SimpleEventManager.notifyAddList
(Graph g, List<Triple> L) void
SimpleEventManager.notifyDeleteIterator
(Graph g, Iterator<Triple> it) void
SimpleEventManager.notifyDeleteIterator
(Graph g, List<Triple> L) void
SimpleEventManager.notifyDeleteList
(Graph g, List<Triple> L) static ExtendedIterator<Triple>
SimpleEventManager.notifyingRemove
(Graph g, Iterator<Triple> i) Answer an iterator which wrapsi
to ensure that if a .remove() is executed on it, the graphg
will be notified.ModifierConstructorDescriptionCollectionGraph
(Collection<Triple> triples) Construct a graph from a collection. -
Uses of Triple in org.apache.jena.mem
Modifier and TypeMethodDescriptionTrackingTripleIterator.next()
Answer the next object, remembering it incurrent
.Modifier and TypeMethodDescriptionAnswer an ExtendedIterator returning all the triples from this store that match the patternm = (S, P, O)
.FieldFilter.getFilter()
GraphMem.graphBaseFind
(Triple m) Deprecated.Answer an ExtendedIterator over all the triples in this graph that match the triple-patternm
.NodeToTriplesMapBase.iterateAll()
Answer an iterator over all the triples in this NTM.NodeToTriplesMapMem.iterateAll
(Triple pattern) ArrayBunch.iterator()
ArrayBunch.iterator
(HashCommon.NotifyEmpty container) HashedTripleBunch.iterator()
HashedTripleBunch.iterator
(HashCommon.NotifyEmpty container) abstract ExtendedIterator<Triple>
NodeToTriplesMapBase.iterator
(Object o, HashCommon.NotifyEmpty container) abstract ExtendedIterator<Triple>
NodeToTriplesMapMem.iterator
(Object o, HashCommon.NotifyEmpty container) Answer an iterator over all the triples in this NTM which have index nodeo
.Answer an iterator over all the triples in this NTM which matchpattern
.TripleBunch.iterator()
Answer an iterator over all the triples in this bunch.TripleBunch.iterator
(HashCommon.NotifyEmpty container) Answer an iterator over all the triples in this bunch.abstract ExtendedIterator<Triple>
NodeToTriplesMapBase.iteratorForIndexed
(Object y) Answer an iterator over all the triples that are indexed by the itemy
.NodeToTriplesMapMem.iteratorForIndexed
(Object y) Answer an iterator over all the triples that are indexed by the itemy
.ArrayBunch.spliterator()
HashedTripleBunch.spliterator()
TripleBunch.spliterator()
Answer a spliterator over all the triples in this bunch.Deprecated.Answer a Stream returning all the triples from this store that match the patternm = (S, P, O)
.NodeToTriplesMapBase.streamAll()
Modifier and TypeMethodDescriptionvoid
void
Add a triple to this triple store.void
abstract boolean
Addt
to this NTM; the nodeo
must be the index node of the triple.boolean
Addt
to this NTM; the nodeo
must be the index node of the triple.void
Addt
to the triples in this bunch.boolean
boolean
Answer true iff this triple store contains the (concrete) triplet
.boolean
abstract boolean
Answer true iff this NTM contains the concrete triplet
.boolean
Answer true iff this NTM contains the concrete triplet
.boolean
Answer true iff this TripleBunch contains a triple .equals tot
.boolean
ArrayBunch.containsBySameValueAs
(Triple t) boolean
HashedTripleBunch.containsBySameValueAs
(Triple t) abstract boolean
NodeToTriplesMapBase.containsBySameValueAs
(Triple t) boolean
NodeToTriplesMapMem.containsBySameValueAs
(Triple t) boolean
TripleBunch.containsBySameValueAs
(Triple t) Answer true iff this TripleBunch contains a triple with .sameValueAs subject, predicate, and object.boolean
GraphTripleStoreBase.containsMatch
(Triple t) void
Remove a triple from this triple store.Answer an ExtendedIterator returning all the triples from this store that match the patternm = (S, P, O)
.boolean
GraphMem.graphBaseContains
(Triple t) Deprecated.Answer true iff this graph containst
.GraphMem.graphBaseFind
(Triple m) Deprecated.Answer an ExtendedIterator over all the triples in this graph that match the triple-patternm
.NodeToTriplesMapMem.iterateAll
(Triple pattern) void
GraphMem.performAdd
(Triple t) Deprecated.void
GraphMem.performDelete
(Triple t) Deprecated.void
void
abstract boolean
Removet
from this NTM.boolean
Removet
from this NTM.void
Removet
from the triples in this bunch.Modifier and TypeMethodDescriptionvoid
TrackingTripleIterator.forEachRemaining
(Consumer<? super Triple> action) ModifierConstructorDescriptionStoreTripleIterator
(Graph toNotify, Iterator<Triple> it, NodeToTriplesMapBase X, NodeToTriplesMapBase A, NodeToTriplesMapBase B) -
Uses of Triple in org.apache.jena.mem2
Modifier and TypeMethodDescriptionGraphMem2.graphBaseFind
(Triple tripleMatch) Returns anExtendedIterator
of all triples in the graph matching the given triple match.GraphMem2.stream()
Returns aStream
of all triples in the graph.Returns aStream
of Triples matching a pattern.Modifier and TypeMethodDescriptionboolean
GraphMem2.graphBaseContains
(Triple tripleMatch) Answer true if the graph contains any triple matchingt
.GraphMem2.graphBaseFind
(Triple tripleMatch) Returns anExtendedIterator
of all triples in the graph matching the given triple match.void
GraphMem2.performAdd
(Triple t) Add a triple to the graph without notifying.void
GraphMem2.performDelete
(Triple t) Remove a triple from the triple store. -
Uses of Triple in org.apache.jena.mem2.pattern
-
Uses of Triple in org.apache.jena.mem2.store
Modifier and TypeMethodDescriptionReturns anExtendedIterator
of all triples in the graph matching the given triple match.TripleStore.stream()
Returns aStream
of all triples in the graph.Returns aStream
of Triples matching the given pattern.Modifier and TypeMethodDescriptionvoid
Add a triple to the map.boolean
Answer true if the graph contains any triple matchingt
.Returns anExtendedIterator
of all triples in the graph matching the given triple match.void
Remove a triple from the map.Returns aStream
of Triples matching the given pattern. -
Uses of Triple in org.apache.jena.mem2.store.fast
Modifier and TypeMethodDescriptionFastArrayBunch.keyIterator()
FastArrayBunch.keySpliterator()
FastTripleStore.stream()
Modifier and TypeMethodDescriptionvoid
void
FastArrayBunch.addUnchecked
(Triple t) void
FastArrayBunch.addUnchecked
(Triple key, int hashCode) abstract boolean
boolean
boolean
FastArrayBunch.containsKey
(Triple t) void
void
FastArrayBunch.removeUnchecked
(Triple t) void
FastArrayBunch.removeUnchecked
(Triple key, int hashCode) boolean
boolean
boolean
boolean
Modifier and TypeMethodDescriptionboolean
boolean
FastArrayBunch.anyMatchRandomOrder
(Predicate<Triple> predicate) boolean
FastTripleBunch.anyMatchRandomOrder
(Predicate<Triple> predicate) This method is used to optimize _PO match operations.ModifierConstructorDescriptionCreate a new triple bunch from the given set of triples. -
Uses of Triple in org.apache.jena.mem2.store.legacy
Modifier and TypeMethodDescriptionFieldFilter.getFilter()
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) ArrayBunch.keyIterator()
NodeToTriplesMapMem.keyIterator()
ArrayBunch.keySpliterator()
NodeToTriplesMapMem.keySpliterator()
NodeToTriplesMapMem.keyStream()
LegacyTripleStore.stream()
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) Modifier and TypeMethodDescriptionvoid
void
ArrayBunch.addUnchecked
(Triple t) void
NodeToTriplesMapMem.addUnchecked
(Triple t) boolean
boolean
ArrayBunch.containsKey
(Triple t) boolean
NodeToTriplesMapMem.containsKey
(Triple triple) void
void
ArrayBunch.removeUnchecked
(Triple t) void
NodeToTriplesMapMem.removeUnchecked
(Triple t) boolean
boolean
boolean
boolean
-
Uses of Triple in org.apache.jena.mem2.store.roaring
Modifier and TypeMethodDescriptionvoid
boolean
void
Modifier and TypeMethodDescriptionvoid
RoaringBitmapTripleIterator.forEachRemaining
(Consumer<? super Triple> action) ModifierConstructorDescriptionRoaringBitmapTripleIterator
(org.roaringbitmap.ImmutableBitmapDataProvider bitmap, FastHashSet<Triple> triples) -
Uses of Triple in org.apache.jena.rdf.model
Modifier and TypeMethodDescriptionModelGraphInterface.asStatement
(Triple t) Answer a Statement in this Model who's SPO is that of the triplet
. -
Uses of Triple in org.apache.jena.rdf.model.impl
Modifier and TypeMethodDescriptionStatementImpl.asTriple()
static Triple[]
returns an array of triples corresponding to the array of statements; ie the i'th element of the result is the i'th element of the input as a triple.static Triple
Answer the triple associated with the noden
.Modifier and TypeMethodDescriptionstatic ExtendedIterator<Triple>
ReifierStd.findEither
(Graph graph, Triple match, boolean showHidden) Answer an iterator over the reification triples of the graph, or an empty iterator.static ExtendedIterator<Triple>
ReifierStd.findExposed
(Graph graph, Triple match) Answer an iterator over all the reification triples that match.Modifier and TypeMethodDescriptionstatic ExtendedIterator<Node>
return an iterator over all the nodes that are reifiying t in the graphModelCom.asStatement
(Triple t) Answer a Statement in this Model which encodes the given Triple.ModelCom.asStatements
(Triple[] triples) static ExtendedIterator<Triple>
ReifierStd.findEither
(Graph graph, Triple match, boolean showHidden) Answer an iterator over the reification triples of the graph, or an empty iterator.static ExtendedIterator<Triple>
ReifierStd.findExposed
(Graph graph, Triple match) Answer an iterator over all the reification triples that match.static boolean
void
ModelListenerAdapter.notifyAddArray
(Graph graph, Triple[] triples) void
ModelListenerAdapter.notifyAddTriple
(Graph g, Triple t) void
ModelListenerAdapter.notifyDeleteArray
(Graph g, Triple[] triples) void
ModelListenerAdapter.notifyDeleteTriple
(Graph g, Triple t) 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.static void
remove all refications which map to this triple.static Statement
StatementImpl.toStatement
(Triple t, ModelCom eg) create a Statement from the triple _t_ in the enhanced graph _eg_.Modifier and TypeMethodDescriptionModelCom.asStatements
(Iterator<Triple> it) ModelCom.asStatements
(List<Triple> triples) static StmtIterator
IteratorFactory.asStmtIterator
(Iterator<Triple> i, ModelCom m) void
ModelListenerAdapter.notifyAddIterator
(Graph g, Iterator<Triple> it) void
ModelListenerAdapter.notifyAddIterator
(Graph g, List<Triple> triples) void
ModelListenerAdapter.notifyAddList
(Graph g, List<Triple> triples) void
ModelListenerAdapter.notifyDeleteIterator
(Graph g, Iterator<Triple> it) void
ModelListenerAdapter.notifyDeleteList
(Graph g, List<Triple> triples) -
Uses of Triple in org.apache.jena.reasoner
Modifier and TypeMethodDescriptionTriplePattern.asTriple()
Return the triple pattern as a tripleTriplePattern.asTripleMatch()
Return the triple pattern as a triple match (concrete terms + Node.ANY)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.BaseInfGraph.find
(TriplePattern pattern) Basic pattern lookup interface.FGraph.find
(TriplePattern pattern) Basic pattern lookup interface.Finder.find
(TriplePattern pattern) Basic pattern lookup interface.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.abstract ExtendedIterator<Triple>
BaseInfGraph.findWithContinuation
(TriplePattern pattern, Finder continuation) Extended find interface used in situations where the implementator may or may not be able to answer the complete query.FGraph.findWithContinuation
(TriplePattern pattern, Finder continuation) Extended find interface used in situations where the implementator may or may not be able to answer the complete query.Finder.findWithContinuation
(TriplePattern pattern, Finder continuation) Extended find interface used in situations where the implementator may or may not be able to answer the complete query.Modifier and TypeMethodDescriptionBaseInfGraph.getDerivation
(Triple triple) Return the derivation of the given triple (which is the result of some previous find operation).InfGraph.getDerivation
(Triple triple) Return the derivation of the given triple (which is the result of some previous find operation).void
BaseInfGraph.performAdd
(Triple t) Add one triple to the data graph, run any rules triggered by the new data item, recursively adding any generated triples.void
BaseInfGraph.performDelete
(Triple t) Removes the triple t (if possible) from the set belonging to this graph.static String
TriplePattern.simplePrintString
(Triple t) Simplified printable name for a tripleModifierConstructorDescriptionTriplePattern
(Triple match) Constructor - builds a degenerate pattern from a simple triple. -
Uses of Triple in org.apache.jena.reasoner.rulesys
Modifier and TypeFieldDescriptionFunctor.acceptFilter
A static Predicate instance that detects triples with Functor objectsModifier and TypeMethodDescriptionRuleDerivation.getConclusion()
BindingEnvironment.instantiate
(TriplePattern pattern) Instantiate a triple pattern against the current environment.Modifier and TypeMethodDescriptionBasicForwardRuleInfGraph.find
(TriplePattern pattern) Basic pattern lookup interface.FBRuleInfGraph.find
(TriplePattern pattern) Basic pattern lookup interface.LPBackwardRuleInfGraph.find
(TriplePattern pattern) Basic pattern lookup interface.In some formulations the context includes deductions that are not yet visible to the underlying graph but need to be checked for.BackwardRuleInfGraphI.findDataMatches
(TriplePattern pattern) Match a pattern just against the stored data (raw data, schema, axioms) but no backchaining derivation.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.FBRuleInfGraph.findDataMatches
(TriplePattern pattern) 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.LPBackwardRuleInfGraph.findDataMatches
(TriplePattern pattern) Match a pattern just against the stored data (raw data, schema, axioms) but no derivation.FBRuleInfGraph.findFull
(TriplePattern pattern) Internal variant of find which omits the filters which block illegal RDF data.BasicForwardRuleInfGraph.findWithContinuation
(TriplePattern pattern, Finder continuation) Extended find interface used in situations where the implementator may or may not be able to answer the complete query.FBRuleInfGraph.findWithContinuation
(TriplePattern pattern, Finder continuation) Extended find interface used in situations where the implementator may or may not be able to answer the complete query.LPBackwardRuleInfGraph.findWithContinuation
(TriplePattern pattern, Finder continuation) Extended find interface used in situations where the implementator may or may not be able to answer the complete query.RuleDerivation.getMatches()
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.Modifier and TypeMethodDescriptionvoid
Assert a new triple in the deduction graph, triggering any consequent processing as appropriate.void
BasicForwardRuleInfGraph.addDeduction
(Triple t) Add a new deduction to the deductions graph.void
FBRuleInfGraph.addDeduction
(Triple t) Add a new deduction to the deductions graph.void
ForwardRuleInfGraphI.addDeduction
(Triple t) Add a new deduction to the deductions graph.FBRuleInfGraph.checkLiteral
(Node prop, Triple triple) Check a given literal value for a property against the set of known range constraints for it.boolean
Return true if the triple is already in either the graph or the stack.BasicForwardRuleInfGraph.getDerivation
(Triple t) Return the derivation of at triple.LPBackwardRuleInfGraph.getDerivation
(Triple t) Return the derivation of at triple.void
BackwardRuleInfGraphI.logDerivation
(Triple t, Derivation derivation) Logger a derivation record against the given triple.void
BasicForwardRuleInfGraph.logDerivation
(Triple t, Derivation derivation) Log a dervivation record against the given triple.void
ForwardRuleInfGraphI.logDerivation
(Triple t, Derivation derivation) Logger a derivation record against the given triple.void
LPBackwardRuleInfGraph.logDerivation
(Triple t, Derivation derivation) Log a derivation record against the given triple.boolean
RulePreprocessHook.needsRerun
(FBRuleInfGraph infGraph, Triple t) Validate a triple add to see if it should reinvoke the hook.void
BasicForwardRuleInfGraph.performAdd
(Triple t) Add one triple to the data graph, run any rules triggered by the new data item, recursively adding any generated triples.void
FBRuleInfGraph.performAdd
(Triple t) Add one triple to the data graph, run any rules triggered by the new data item, recursively adding any generated triples.void
LPBackwardRuleInfGraph.performAdd
(Triple t) Add one triple to the data graph, run any rules triggered by the new data item, recursively adding any generated triples.void
RETERuleInfGraph.performAdd
(Triple t) Add one triple to the data graph, run any rules triggered by the new data item, recursively adding any generated triples.void
BasicForwardRuleInfGraph.performDelete
(Triple t) Removes the triple t (if possible) from the set belonging to this graph.void
FBRuleInfGraph.performDelete
(Triple t) Removes the triple t (if possible) from the set belonging to this graph.void
LPBackwardRuleInfGraph.performDelete
(Triple t) Removes the triple t (if possible) from the set belonging to this graph.void
RETERuleInfGraph.performDelete
(Triple t) Removes the triple t (if possible) from the set belonging to this graph.void
Remove a triple from the deduction graph (and the original graph if relevant).void
Assert a new triple in the deduction graph, bypassing any processing machinery.void
Assert a new triple in the deduction graph, bypassing any processing machinery.void
Assert a new triple in the deduction graph, bypassing any processing machinery.void
Assert a new triple in the deduction graph, bypassing any processing machinery.ModifierConstructorDescriptionConstructor -
Uses of Triple in org.apache.jena.reasoner.rulesys.impl
Modifier and TypeMethodDescriptionstatic Triple
LPInterpreter.deref
(TriplePattern t) Return a dereferenced copy of a triple.BFRuleContext.getNextTriple()
Return the next triple to be added to the graph, removing it from the stack.EnvironmentFrameWithDerivation.getResult()
Return the final instantiated goal given the current binding state.BindingStack.instantiate
(TriplePattern pattern) Instantiate a triple pattern against the current environment.BindingVector.instantiate
(TriplePattern pattern) Instantiate a triple pattern against the current environment.LPBindingEnvironment.instantiate
(TriplePattern pattern) Instantiate a triple pattern against the current environment.LPTopGoalIterator.next()
SafeTripleIterator.next()
Modifier and TypeMethodDescriptionIn some formulations the context includes deductions that are not yet visible to the underlying graph but need to be checked for.LPBRuleEngine.find
(TriplePattern goal) Start a new interpreter running to answer a query.In some formulations the context includes deductions that are not yet visible to the underlying graph but need to be checked for.EnvironmentFrameWithDerivation.getMatchList()
Return a safe copy of the list of matched subgoals in this subderivation.Modifier and TypeMethodDescriptionvoid
Assert a new triple in the deduction graph, triggering any consequent processing as appropriate.void
Add a triple to a temporary "pending" store, ready to be added to added to the deductions graph and the processing stack later.void
Add one triple to the data graph, run any rules triggered by the new data item, recursively adding any generated triples.void
Add one triple to the data graph, run any rules triggered by the new data item, recursively adding any generated triples.void
Add one triple to the data graph, run any rules triggered by the new data item, recursively adding any generated triples.void
Assert a new triple in the deduction graph, triggering any consequent processing as appropriate.void
Add a triple to the stack of triples to waiting to be processed by the rule engine.void
Add a new triple to the network.boolean
GenericTripleMatchFrame.bindResult
(Triple triple, LPInterpreter interpreter) Bind the goal variables to the given result triple.boolean
boolean
Return true if the triple is already in either the graph or the stack.boolean
Return true if the triple is already in either the graph or the stack.boolean
Remove one triple to the data graph.boolean
Remove one triple to the data graph.boolean
Remove one triple to the data graph.void
RETEEngine.deleteTriple
(Triple triple, boolean deduction) Remove a new triple from the network.void
Insert or remove a triple into the network.boolean
GenericTripleMatchFrame.functorMatch
(Triple t, LPInterpreter interpreter) Check that the object of a triple match corresponds to the given functor pattern.static boolean
FRuleEngine.match
(TriplePattern pattern, Triple triple, BindingStack env) Test if a TriplePattern matches a Triple in the given binding environment.boolean
OWLExptRuleTranslationHook.needsRerun
(FBRuleInfGraph infGraph, Triple t) Validate a triple add to see if it should reinvoke the hook.boolean
OWLRuleTranslationHook.needsRerun
(FBRuleInfGraph infGraph, Triple t) Validate a triple add to see if it should reinvoke the hook.boolean
RDFSCMPPreprocessHook.needsRerun
(FBRuleInfGraph infGraph, Triple t) Validate a triple add to see if it should reinvoke the hook.void
Remove a triple from the deduction graph (and the original graph if relevant).void
Remove a triple from the deduction graph (and the original graph if relevant).void
Remove a triple from the deduction graph (and the original graph if relevant).void
Assert a new triple in the deduction graph, bypassing any processing machinery.void
Assert a new triple in the deduction graph, bypassing any processing machinery.void
Assert a new triple in the deduction graph, bypassing any processing machinery.void
RETEEngine.testTripleInsert
(Triple t) This fires a triple into the current RETE network. -
Uses of Triple in org.apache.jena.reasoner.transitiveReasoner
Modifier and TypeMethodDescriptionTransitiveGraphCache.find
(TriplePattern pattern) Basic pattern lookup interface.TransitiveInfGraph.find
(TriplePattern pattern) Basic pattern lookup interface.TransitiveGraphCache.findWithContinuation
(TriplePattern pattern, Finder continuation) Extended find interface used in situations where the implementator may or may not be able to answer the complete query.TransitiveInfGraph.findWithContinuation
(TriplePattern pattern, Finder continuation) Extended find interface used in situations where the implementator may or may not be able to answer the complete query.TransitiveInfGraph.graphBaseFind
(Node subject, Node property, Node object) Returns an iterator over Triples.Modifier and TypeMethodDescriptionboolean
Add one triple to caches if it is relevant.void
TransitiveGraphCache.addRelation
(Triple t) Register a new relation instance in the cacheboolean
Removes the triple t (if relevant) from the caches.void
TransitiveInfGraph.performAdd
(Triple t) Add one triple to the data graph, run any rules triggered by the new data item, recursively adding any generated triples.void
TransitiveInfGraph.performDelete
(Triple t) Removes the triple t (if possible) from the set belonging to this graph.void
TransitiveGraphCache.removeRelation
(Triple t) Remove an instance of a relation from the cache. -
Uses of Triple in org.apache.jena.sys
Modifier and TypeMethodDescriptionSerializer.getTripleSerializer()
Return the current triple serializer replacement function.Modifier and TypeMethodDescriptionstatic void
Serializer.setTripleSerializer
(Function<Triple, Object> writeReplaceFunction) Set the triple serializer replacement function. -
Uses of Triple in org.apache.jena.util