Uses of Class
org.apache.jena.graph.Triple
Packages that use 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
Fields in org.apache.jena.graph declared as TripleModifier and TypeFieldDescriptionstatic final TripleTriple.ANYA Triple that hasNode.ANYin all fields.Methods in org.apache.jena.graph that return TripleModifier and TypeMethodDescriptionFrontsTriple.asTriple()static Triplestatic TripleTriple.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.Methods in org.apache.jena.graph that return types with arguments of type TripleModifier 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 aStreamof all triples in the graph.Returns aStreamof Triples matching a pattern.Methods in org.apache.jena.graph with parameters of type TripleModifier and TypeMethodDescriptionvoidAdd the triple t (if possible) to the set belonging to this graphstatic voidbooleanAnswer true iff the graph contains a triple that t matches; t may be fluid.static NodeNodeFactory.createTripleNode(Triple triple) Deprecated.static NodeNodeFactory.createTripleTerm(Triple triple) Create a triple term (RDF-star)voidDelete the triple t (if possible) from the set belonging to this graphstatic voidReturns an iterator over all the Triples that match the triple pattern.abstract NodebooleanDoes this triple, used as a pattern match, the other triple (usually a ground triple)voidGraphListener.notifyAddArray(Graph g, Triple[] triples) Method called when an array of triples has been added to the graph.voidGraphListenerBase.notifyAddArray(Graph g, Triple[] triples) voidGraphListener.notifyAddTriple(Graph g, Triple t) Method called when a single triple has been added to the graph.voidGraphListenerBase.notifyAddTriple(Graph g, Triple t) voidGraphListener.notifyDeleteArray(Graph g, Triple[] triples) Method called when an array of triples has been deleted from the graph.voidGraphListenerBase.notifyDeleteArray(Graph g, Triple[] triples) voidGraphListener.notifyDeleteTriple(Graph g, Triple t) Method called when a single triple has been deleted from the graph.voidGraphListenerBase.notifyDeleteTriple(Graph g, Triple t) NodeVisitor.visitTriple(Node_Triple it, Triple triple) Method parameters in org.apache.jena.graph with type arguments of type TripleModifier and TypeMethodDescriptionstatic voidstatic voidstatic voidstatic voidvoidGraphEventManager.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.voidGraphListener.notifyAddIterator(Graph g, Iterator<Triple> it) Method called when an iterator [of triples] has been added to the graphvoidGraphListenerBase.notifyAddIterator(Graph g, Iterator<Triple> it) voidGraphListener.notifyAddList(Graph g, List<Triple> triples) Method called when a list [of triples] has been added to the graph.voidGraphListenerBase.notifyAddList(Graph g, List<Triple> triples) voidGraphEventManager.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.voidGraphListener.notifyDeleteIterator(Graph g, Iterator<Triple> it) Method called when an iterator [of triples] has been deleted from the graph.voidGraphListenerBase.notifyDeleteIterator(Graph g, Iterator<Triple> it) voidGraphListener.notifyDeleteList(Graph g, List<Triple> L) Method called when a list [of triples] has been deleted from the graph.voidGraphListenerBase.notifyDeleteList(Graph g, List<Triple> triples) -
Uses of Triple in org.apache.jena.graph.compose
Methods in org.apache.jena.graph.compose that return types with arguments of type TripleModifier 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 aPredicatethat 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 ofithat are not in the graphseen.Methods in org.apache.jena.graph.compose with parameters of type TripleModifier and TypeMethodDescriptionDifference._graphBaseFind(Triple t) booleanDisjointUnion.graphBaseContains(Triple t) booleanMultiUnion.graphBaseContains(Triple t) Answer true if at least one of the graphs in this union contain the given triple.booleanUnion.graphBaseContains(Triple t) MultiUnion.graphBaseFind(Triple t) Answer an iterator over the triples in the union of the graphs in this composition.voidDelta.performAdd(Triple t) Add the triple to the graph, ie add it to the additions, remove it from the removals.voidDifference.performAdd(Triple t) Add a triple to the difference: add it to the left operand, and remove it from the right operand.voidDisjointUnion.performAdd(Triple t) voidIntersection.performAdd(Triple t) voidMultiUnion.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.voidUnion.performAdd(Triple t) To add a triple to the union, add it to the left operand; this is asymmetric.voidDelta.performDelete(Triple t) Remove the triple, ie, remove it from the adds, add it to the removals.voidDifference.performDelete(Triple t) Remove a triple from the difference: remove it from the left operand.voidDisjointUnion.performDelete(Triple t) voidIntersection.performDelete(Triple t) voidMultiUnion.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.voidUnion.performDelete(Triple t) To remove a triple, remove it from both operands.Method parameters in org.apache.jena.graph.compose with type arguments of type TripleModifier 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 ofithat are not in the graphseen. -
Uses of Triple in org.apache.jena.graph.impl
Methods in org.apache.jena.graph.impl that return types with arguments of type TripleModifier 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 wrapsito ensure that if a .remove() is executed on it, the graphgwill be notified.Answer an ExtendedIterator returning all the triples from this store that match the patternm = (S, P, O).Methods in org.apache.jena.graph.impl with parameters of type TripleModifier and TypeMethodDescriptionvoidAdd a triple, and notify the event manager.voidAdd a triple to this triple store.voidfinal booleanAnswertrueifftis in the graph as revealed byfind(t)being non-empty.booleanbooleanAnswer true iff this triple store contains the (concrete) triplet.booleanbooleanTripleStore.containsMatch(Triple t) Answer true iff this triple store contains the triple matcht.final voidDelete a triple, and notify the event manager.voidRemove a triple from this triple store.voidfinal ExtendedIterator<Triple>Answer an ExtendedIterator returning all the triples from this store that match the patternm = (S, P, O).GraphBase.forTestingOnly_graphBaseFind(Triple t) voidTell the event manager that the triplethas been added to the graph.voidSimpleEventManager.notifyAddArray(Graph g, Triple[] ts) voidSimpleEventManager.notifyAddTriple(Graph g, Triple t) voidGraphBase.notifyDelete(Triple t) Tell the event manager that the triplethas been deleted from the graph.voidSimpleEventManager.notifyDeleteArray(Graph g, Triple[] ts) voidSimpleEventManager.notifyDeleteTriple(Graph g, Triple t) voidCollectionGraph.performAdd(Triple t) Deprecated, for removal: This API element is subject to removal in a future version.voidGraphBase.performAdd(Triple t) Add a triple to the triple store.voidGraphWithPerform.performAdd(Triple t) addtto this graph, but do not generate any eventvoidWrappedGraph.performAdd(Triple t) voidCollectionGraph.performDelete(Triple t) Deprecated, for removal: This API element is subject to removal in a future version.voidGraphBase.performDelete(Triple t) Remove a triple from the triple store.voidGraphWithPerform.performDelete(Triple t) removetfrom this graph, but do not generate any eventvoidWrappedGraph.performDelete(Triple t) Method parameters in org.apache.jena.graph.impl with type arguments of type TripleModifier and TypeMethodDescriptionvoidSimpleEventManager.notifyAddIterator(Graph g, Iterator<Triple> it) voidSimpleEventManager.notifyAddIterator(Graph g, List<Triple> it) voidSimpleEventManager.notifyAddList(Graph g, List<Triple> L) voidSimpleEventManager.notifyDeleteIterator(Graph g, Iterator<Triple> it) voidSimpleEventManager.notifyDeleteIterator(Graph g, List<Triple> L) voidSimpleEventManager.notifyDeleteList(Graph g, List<Triple> L) static ExtendedIterator<Triple>SimpleEventManager.notifyingRemove(Graph g, Iterator<Triple> i) Answer an iterator which wrapsito ensure that if a .remove() is executed on it, the graphgwill be notified.Constructor parameters in org.apache.jena.graph.impl with type arguments of type TripleModifierConstructorDescriptionCollectionGraph(Collection<Triple> triples) Deprecated, for removal: This API element is subject to removal in a future version.Construct a graph from a collection. -
Uses of Triple in org.apache.jena.mem
Methods in org.apache.jena.mem that return TripleModifier and TypeMethodDescriptionTrackingTripleIterator.next()Answer the next object, remembering it incurrent.Methods in org.apache.jena.mem that return types with arguments of type TripleModifier 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()Methods in org.apache.jena.mem with parameters of type TripleModifier and TypeMethodDescriptionvoidvoidAdd a triple to this triple store.voidabstract booleanAddtto this NTM; the nodeomust be the index node of the triple.booleanAddtto this NTM; the nodeomust be the index node of the triple.voidAddtto the triples in this bunch.booleanbooleanAnswer true iff this triple store contains the (concrete) triplet.booleanabstract booleanAnswer true iff this NTM contains the concrete triplet.booleanAnswer true iff this NTM contains the concrete triplet.booleanAnswer true iff this TripleBunch contains a triple .equals tot.booleanArrayBunch.containsBySameValueAs(Triple t) booleanHashedTripleBunch.containsBySameValueAs(Triple t) abstract booleanNodeToTriplesMapBase.containsBySameValueAs(Triple t) booleanNodeToTriplesMapMem.containsBySameValueAs(Triple t) booleanTripleBunch.containsBySameValueAs(Triple t) Answer true iff this TripleBunch contains a triple with .sameValueAs subject, predicate, and object.booleanGraphTripleStoreBase.containsMatch(Triple t) voidRemove a triple from this triple store.Answer an ExtendedIterator returning all the triples from this store that match the patternm = (S, P, O).booleanGraphMem.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) voidGraphMem.performAdd(Triple t) Deprecated.voidGraphMem.performDelete(Triple t) Deprecated.voidvoidabstract booleanRemovetfrom this NTM.booleanRemovetfrom this NTM.voidRemovetfrom the triples in this bunch.Method parameters in org.apache.jena.mem with type arguments of type TripleModifier and TypeMethodDescriptionvoidTrackingTripleIterator.forEachRemaining(Consumer<? super Triple> action) Constructor parameters in org.apache.jena.mem with type arguments of type TripleModifierConstructorDescriptionStoreTripleIterator(Graph toNotify, Iterator<Triple> it, NodeToTriplesMapBase X, NodeToTriplesMapBase A, NodeToTriplesMapBase B) -
Uses of Triple in org.apache.jena.mem2
Methods in org.apache.jena.mem2 that return types with arguments of type TripleModifier and TypeMethodDescriptionGraphMem2.graphBaseFind(Triple tripleMatch) Returns anExtendedIteratorof all triples in the graph matching the given triple match.GraphMem2.stream()Returns aStreamof all triples in the graph.Returns aStreamof Triples matching a pattern.Methods in org.apache.jena.mem2 with parameters of type TripleModifier and TypeMethodDescriptionbooleanGraphMem2.graphBaseContains(Triple tripleMatch) Answer true if the graph contains any triple matchingt.GraphMem2.graphBaseFind(Triple tripleMatch) Returns anExtendedIteratorof all triples in the graph matching the given triple match.voidGraphMem2.performAdd(Triple t) Add a triple to the graph without notifying.voidGraphMem2.performDelete(Triple t) Remove a triple from the triple store. -
Uses of Triple in org.apache.jena.mem2.pattern
Methods in org.apache.jena.mem2.pattern with parameters of type Triple -
Uses of Triple in org.apache.jena.mem2.store
Methods in org.apache.jena.mem2.store that return types with arguments of type TripleModifier and TypeMethodDescriptionReturns anExtendedIteratorof all triples in the graph matching the given triple match.TripleStore.stream()Returns aStreamof all triples in the graph.Returns aStreamof Triples matching the given pattern.Methods in org.apache.jena.mem2.store with parameters of type TripleModifier and TypeMethodDescriptionvoidAdd a triple to the map.booleanAnswer true if the graph contains any triple matchingt.Returns anExtendedIteratorof all triples in the graph matching the given triple match.voidRemove a triple from the map.Returns aStreamof Triples matching the given pattern. -
Uses of Triple in org.apache.jena.mem2.store.fast
Methods in org.apache.jena.mem2.store.fast that return types with arguments of type TripleModifier and TypeMethodDescriptionFastArrayBunch.keyIterator()FastArrayBunch.keySpliterator()FastTripleStore.stream()Methods in org.apache.jena.mem2.store.fast with parameters of type TripleModifier and TypeMethodDescriptionvoidvoidFastArrayBunch.addUnchecked(Triple t) voidFastArrayBunch.addUnchecked(Triple key, int hashCode) abstract booleanbooleanbooleanFastArrayBunch.containsKey(Triple t) voidvoidFastArrayBunch.removeUnchecked(Triple t) voidFastArrayBunch.removeUnchecked(Triple key, int hashCode) booleanbooleanbooleanbooleanMethod parameters in org.apache.jena.mem2.store.fast with type arguments of type TripleModifier and TypeMethodDescriptionbooleanbooleanFastArrayBunch.anyMatchRandomOrder(Predicate<Triple> predicate) booleanFastTripleBunch.anyMatchRandomOrder(Predicate<Triple> predicate) This method is used to optimize _PO match operations.Constructor parameters in org.apache.jena.mem2.store.fast with type arguments of type TripleModifierConstructorDescriptionCreate a new triple bunch from the given set of triples. -
Uses of Triple in org.apache.jena.mem2.store.legacy
Methods in org.apache.jena.mem2.store.legacy that return types with arguments of type TripleModifier 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) Methods in org.apache.jena.mem2.store.legacy with parameters of type TripleModifier and TypeMethodDescriptionvoidvoidArrayBunch.addUnchecked(Triple t) voidNodeToTriplesMapMem.addUnchecked(Triple t) booleanbooleanArrayBunch.containsKey(Triple t) booleanNodeToTriplesMapMem.containsKey(Triple triple) voidvoidArrayBunch.removeUnchecked(Triple t) voidNodeToTriplesMapMem.removeUnchecked(Triple t) booleanbooleanbooleanbooleanMethod parameters in org.apache.jena.mem2.store.legacy with type arguments of type Triple -
Uses of Triple in org.apache.jena.mem2.store.roaring
Methods in org.apache.jena.mem2.store.roaring that return TripleMethods in org.apache.jena.mem2.store.roaring that return types with arguments of type TripleMethods in org.apache.jena.mem2.store.roaring with parameters of type TripleModifier and TypeMethodDescriptionvoidbooleanvoidMethod parameters in org.apache.jena.mem2.store.roaring with type arguments of type TripleModifier and TypeMethodDescriptionvoidRoaringBitmapTripleIterator.forEachRemaining(Consumer<? super Triple> action) Constructor parameters in org.apache.jena.mem2.store.roaring with type arguments of type TripleModifierConstructorDescriptionRoaringBitmapTripleIterator(org.roaringbitmap.ImmutableBitmapDataProvider bitmap, FastHashSet<Triple> triples) -
Uses of Triple in org.apache.jena.mem2.store.roaring.strategies
Methods in org.apache.jena.mem2.store.roaring.strategies that return types with arguments of type TripleModifier and TypeMethodDescriptionEagerStoreStrategy.findMatch(Triple tripleMatch, MatchPattern pattern) LazyStoreStrategy.findMatch(Triple tripleMatch, MatchPattern pattern) ManualStoreStrategy.findMatch(Triple tripleMatch, MatchPattern pattern) MinimalStoreStrategy.findMatch(Triple tripleMatch, MatchPattern pattern) StoreStrategy.findMatch(Triple tripleMatch, MatchPattern pattern) Find the triples that match the given triple and pattern.EagerStoreStrategy.streamMatch(Triple tripleMatch, MatchPattern pattern) LazyStoreStrategy.streamMatch(Triple tripleMatch, MatchPattern pattern) ManualStoreStrategy.streamMatch(Triple tripleMatch, MatchPattern pattern) MinimalStoreStrategy.streamMatch(Triple tripleMatch, MatchPattern pattern) StoreStrategy.streamMatch(Triple tripleMatch, MatchPattern pattern) Stream the triples that match the given triple and pattern.Methods in org.apache.jena.mem2.store.roaring.strategies with parameters of type TripleModifier and TypeMethodDescriptionvoidEagerStoreStrategy.addToIndex(Triple triple, int index) voidLazyStoreStrategy.addToIndex(Triple triple, int index) voidManualStoreStrategy.addToIndex(Triple triple, int index) voidMinimalStoreStrategy.addToIndex(Triple triple, int index) voidStoreStrategy.addToIndex(Triple triple, int index) Add a triple to the index if the cuurent strategy supports indexing.booleanEagerStoreStrategy.containsMatch(Triple tripleMatch, MatchPattern pattern) booleanLazyStoreStrategy.containsMatch(Triple tripleMatch, MatchPattern pattern) booleanManualStoreStrategy.containsMatch(Triple tripleMatch, MatchPattern pattern) booleanMinimalStoreStrategy.containsMatch(Triple tripleMatch, MatchPattern pattern) booleanStoreStrategy.containsMatch(Triple tripleMatch, MatchPattern pattern) Check if the index contains a match for the given triple and pattern.EagerStoreStrategy.findMatch(Triple tripleMatch, MatchPattern pattern) LazyStoreStrategy.findMatch(Triple tripleMatch, MatchPattern pattern) ManualStoreStrategy.findMatch(Triple tripleMatch, MatchPattern pattern) MinimalStoreStrategy.findMatch(Triple tripleMatch, MatchPattern pattern) StoreStrategy.findMatch(Triple tripleMatch, MatchPattern pattern) Find the triples that match the given triple and pattern.voidEagerStoreStrategy.removeFromIndex(Triple triple, int index) voidLazyStoreStrategy.removeFromIndex(Triple triple, int index) voidManualStoreStrategy.removeFromIndex(Triple triple, int index) voidMinimalStoreStrategy.removeFromIndex(Triple triple, int index) voidStoreStrategy.removeFromIndex(Triple triple, int index) Remove a triple from the index if the current strategy supports indexing.EagerStoreStrategy.streamMatch(Triple tripleMatch, MatchPattern pattern) LazyStoreStrategy.streamMatch(Triple tripleMatch, MatchPattern pattern) ManualStoreStrategy.streamMatch(Triple tripleMatch, MatchPattern pattern) MinimalStoreStrategy.streamMatch(Triple tripleMatch, MatchPattern pattern) StoreStrategy.streamMatch(Triple tripleMatch, MatchPattern pattern) Stream the triples that match the given triple and pattern. -
Uses of Triple in org.apache.jena.rdf.model
Methods in org.apache.jena.rdf.model with parameters of type TripleModifier 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
Methods in org.apache.jena.rdf.model.impl that return TripleModifier 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 TripleAnswer the triple associated with the noden.Methods in org.apache.jena.rdf.model.impl that return types with arguments of type TripleModifier 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.Methods in org.apache.jena.rdf.model.impl with parameters of type TripleModifier 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 booleanvoidModelListenerAdapter.notifyAddArray(Graph graph, Triple[] triples) voidModelListenerAdapter.notifyAddTriple(Graph g, Triple t) voidModelListenerAdapter.notifyDeleteArray(Graph g, Triple[] triples) voidModelListenerAdapter.notifyDeleteTriple(Graph g, Triple t) 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.static voidremove all refications which map to this triple.static StatementStatementImpl.toStatement(Triple t, ModelCom eg) create a Statement from the triple _t_ in the enhanced graph _eg_.Method parameters in org.apache.jena.rdf.model.impl with type arguments of type TripleModifier and TypeMethodDescriptionModelCom.asStatements(Iterator<Triple> it) ModelCom.asStatements(List<Triple> triples) static StmtIteratorIteratorFactory.asStmtIterator(Iterator<Triple> i, ModelCom m) voidModelListenerAdapter.notifyAddIterator(Graph g, Iterator<Triple> it) voidModelListenerAdapter.notifyAddIterator(Graph g, List<Triple> triples) voidModelListenerAdapter.notifyAddList(Graph g, List<Triple> triples) voidModelListenerAdapter.notifyDeleteIterator(Graph g, Iterator<Triple> it) voidModelListenerAdapter.notifyDeleteList(Graph g, List<Triple> triples) -
Uses of Triple in org.apache.jena.reasoner
Methods in org.apache.jena.reasoner that return TripleModifier and TypeMethodDescriptionTriplePattern.asTriple()Return the triple pattern as a tripleTriplePattern.asTripleMatch()Return the triple pattern as a triple match (concrete terms + Node.ANY)Methods in org.apache.jena.reasoner that return types with arguments of type TripleModifier 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.Methods in org.apache.jena.reasoner with parameters of type TripleModifier 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).voidBaseInfGraph.performAdd(Triple t) Add one triple to the data graph, run any rules triggered by the new data item, recursively adding any generated triples.voidBaseInfGraph.performDelete(Triple t) Removes the triple t (if possible) from the set belonging to this graph.static StringTriplePattern.simplePrintString(Triple t) Simplified printable name for a tripleConstructors in org.apache.jena.reasoner with parameters of type TripleModifierConstructorDescriptionTriplePattern(Triple match) Constructor - builds a degenerate pattern from a simple triple. -
Uses of Triple in org.apache.jena.reasoner.rulesys
Fields in org.apache.jena.reasoner.rulesys with type parameters of type TripleModifier and TypeFieldDescriptionFunctor.acceptFilterA static Predicate instance that detects triples with Functor objectsMethods in org.apache.jena.reasoner.rulesys that return TripleModifier and TypeMethodDescriptionRuleDerivation.getConclusion()BindingEnvironment.instantiate(TriplePattern pattern) Instantiate a triple pattern against the current environment.Methods in org.apache.jena.reasoner.rulesys that return types with arguments of type TripleModifier 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.Methods in org.apache.jena.reasoner.rulesys with parameters of type TripleModifier and TypeMethodDescriptionvoidAssert a new triple in the deduction graph, triggering any consequent processing as appropriate.voidBasicForwardRuleInfGraph.addDeduction(Triple t) Add a new deduction to the deductions graph.voidFBRuleInfGraph.addDeduction(Triple t) Add a new deduction to the deductions graph.voidForwardRuleInfGraphI.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.booleanReturn 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.voidBackwardRuleInfGraphI.logDerivation(Triple t, Derivation derivation) Logger a derivation record against the given triple.voidBasicForwardRuleInfGraph.logDerivation(Triple t, Derivation derivation) Log a dervivation record against the given triple.voidForwardRuleInfGraphI.logDerivation(Triple t, Derivation derivation) Logger a derivation record against the given triple.voidLPBackwardRuleInfGraph.logDerivation(Triple t, Derivation derivation) Log a derivation record against the given triple.booleanRulePreprocessHook.needsRerun(FBRuleInfGraph infGraph, Triple t) Validate a triple add to see if it should reinvoke the hook.voidBasicForwardRuleInfGraph.performAdd(Triple t) Add one triple to the data graph, run any rules triggered by the new data item, recursively adding any generated triples.voidFBRuleInfGraph.performAdd(Triple t) Add one triple to the data graph, run any rules triggered by the new data item, recursively adding any generated triples.voidLPBackwardRuleInfGraph.performAdd(Triple t) Add one triple to the data graph, run any rules triggered by the new data item, recursively adding any generated triples.voidRETERuleInfGraph.performAdd(Triple t) Add one triple to the data graph, run any rules triggered by the new data item, recursively adding any generated triples.voidBasicForwardRuleInfGraph.performDelete(Triple t) Removes the triple t (if possible) from the set belonging to this graph.voidFBRuleInfGraph.performDelete(Triple t) Removes the triple t (if possible) from the set belonging to this graph.voidLPBackwardRuleInfGraph.performDelete(Triple t) Removes the triple t (if possible) from the set belonging to this graph.voidRETERuleInfGraph.performDelete(Triple t) Removes the triple t (if possible) from the set belonging to this graph.voidRemove a triple from the deduction graph (and the original graph if relevant).voidAssert a new triple in the deduction graph, bypassing any processing machinery.voidAssert a new triple in the deduction graph, bypassing any processing machinery.voidAssert a new triple in the deduction graph, bypassing any processing machinery.voidAssert a new triple in the deduction graph, bypassing any processing machinery.Constructors in org.apache.jena.reasoner.rulesys with parameters of type TripleModifierConstructorDescriptionConstructorConstructor parameters in org.apache.jena.reasoner.rulesys with type arguments of type Triple -
Uses of Triple in org.apache.jena.reasoner.rulesys.impl
Methods in org.apache.jena.reasoner.rulesys.impl that return TripleModifier and TypeMethodDescriptionstatic TripleLPInterpreter.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()Methods in org.apache.jena.reasoner.rulesys.impl that return types with arguments of type TripleModifier 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.Methods in org.apache.jena.reasoner.rulesys.impl with parameters of type TripleModifier and TypeMethodDescriptionvoidAssert a new triple in the deduction graph, triggering any consequent processing as appropriate.voidAdd a triple to a temporary "pending" store, ready to be added to added to the deductions graph and the processing stack later.voidAdd one triple to the data graph, run any rules triggered by the new data item, recursively adding any generated triples.voidAdd one triple to the data graph, run any rules triggered by the new data item, recursively adding any generated triples.voidAdd one triple to the data graph, run any rules triggered by the new data item, recursively adding any generated triples.voidAssert a new triple in the deduction graph, triggering any consequent processing as appropriate.voidAdd a triple to the stack of triples to waiting to be processed by the rule engine.voidAdd a new triple to the network.booleanGenericTripleMatchFrame.bindResult(Triple triple, LPInterpreter interpreter) Bind the goal variables to the given result triple.booleanbooleanReturn true if the triple is already in either the graph or the stack.booleanReturn true if the triple is already in either the graph or the stack.booleanRemove one triple to the data graph.booleanRemove one triple to the data graph.booleanRemove one triple to the data graph.voidRETEEngine.deleteTriple(Triple triple, boolean deduction) Remove a new triple from the network.voidInsert or remove a triple into the network.booleanGenericTripleMatchFrame.functorMatch(Triple t, LPInterpreter interpreter) Check that the object of a triple match corresponds to the given functor pattern.static booleanFRuleEngine.match(TriplePattern pattern, Triple triple, BindingStack env) Test if a TriplePattern matches a Triple in the given binding environment.booleanOWLExptRuleTranslationHook.needsRerun(FBRuleInfGraph infGraph, Triple t) Validate a triple add to see if it should reinvoke the hook.booleanOWLRuleTranslationHook.needsRerun(FBRuleInfGraph infGraph, Triple t) Validate a triple add to see if it should reinvoke the hook.booleanRDFSCMPPreprocessHook.needsRerun(FBRuleInfGraph infGraph, Triple t) Validate a triple add to see if it should reinvoke the hook.voidRemove a triple from the deduction graph (and the original graph if relevant).voidRemove a triple from the deduction graph (and the original graph if relevant).voidRemove a triple from the deduction graph (and the original graph if relevant).voidAssert a new triple in the deduction graph, bypassing any processing machinery.voidAssert a new triple in the deduction graph, bypassing any processing machinery.voidAssert a new triple in the deduction graph, bypassing any processing machinery.voidRETEEngine.testTripleInsert(Triple t) This fires a triple into the current RETE network. -
Uses of Triple in org.apache.jena.reasoner.transitiveReasoner
Methods in org.apache.jena.reasoner.transitiveReasoner that return types with arguments of type TripleModifier 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.Methods in org.apache.jena.reasoner.transitiveReasoner with parameters of type TripleModifier and TypeMethodDescriptionbooleanAdd one triple to caches if it is relevant.voidTransitiveGraphCache.addRelation(Triple t) Register a new relation instance in the cachebooleanRemoves the triple t (if relevant) from the caches.voidTransitiveInfGraph.performAdd(Triple t) Add one triple to the data graph, run any rules triggered by the new data item, recursively adding any generated triples.voidTransitiveInfGraph.performDelete(Triple t) Removes the triple t (if possible) from the set belonging to this graph.voidTransitiveGraphCache.removeRelation(Triple t) Remove an instance of a relation from the cache. -
Uses of Triple in org.apache.jena.sys
Methods in org.apache.jena.sys that return types with arguments of type TripleModifier and TypeMethodDescriptionSerializer.getTripleSerializer()Return the current triple serializer replacement function.Method parameters in org.apache.jena.sys with type arguments of type TripleModifier and TypeMethodDescriptionstatic voidSerializer.setTripleSerializer(Function<Triple, Object> writeReplaceFunction) Set the triple serializer replacement function. -
Uses of Triple in org.apache.jena.util
Methods in org.apache.jena.util with parameters of type TripleMethod parameters in org.apache.jena.util with type arguments of type Triple
NodeFactory.createTripleTerm(Triple)