Uses of Interface
org.apache.jena.graph.Graph
Packages that use Graph
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 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.
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.
A parser for RDF/XML.
A parser for RDF/XML.
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 Graph in org.apache.jena.enhanced
Methods in org.apache.jena.enhanced that return GraphModifier and TypeMethodDescriptionEnhGraph.asGraph()
Answer the normal graph that this enhanced graph is wrapping.Constructors in org.apache.jena.enhanced with parameters of type GraphModifierConstructorDescriptionEnhGraph
(Graph g, Personality<RDFNode> p) Construct an enhanced graph from the given underlying graph, and a factory for generating enhanced nodes. -
Uses of Graph in org.apache.jena.graph
Fields in org.apache.jena.graph declared as GraphMethods in org.apache.jena.graph that return GraphModifier and TypeMethodDescriptionstatic Graph
GraphMemFactory.createDefaultGraph()
Answer a memory-based graph.static Graph
GraphMemFactory.createDefaultGraphSameTerm()
Answer a memory-based graph with "same term" semantics This method will continue to provide the preferred general purpose "same term" graph.static Graph
GraphMemFactory.createDefaultGraphSameValue()
Answer a memory-based graph with "same value" semantics used in Jena2, Jena3 and Jena4 for in-memory graphs.static Graph
GraphMemFactory.createGraphMem()
This function will track the preferred general purpose graph for the Model API.static Graph
GraphMemFactory.createGraphMem2()
A graph that stores triples in memory.static Graph
GraphMemFactory.createGraphMem2Basic()
A graph that stores triples in memory.static Graph
GraphMemFactory.createGraphMem2Roaring()
A graph that stores triples in memory.static Graph
GraphMemFactory.empty()
Immutable graph with no triplesNode_Graph.getGraph()
Node.getGraph()
Get the graph for a graph term (N3 formula), otherwise die horriblyMethods in org.apache.jena.graph with parameters of type GraphModifier and TypeMethodDescriptionstatic void
static void
static void
static void
Add triples into the destination (arg 1) from the source (arg 2)static boolean
GraphUtil.containsNode
(Graph graph, Node node) Does the graph use the node anywhere as a subject, predicate or object?static Node
NodeFactory.createGraphNode
(Graph graph) Create a graph node.static void
static void
static void
static void
GraphUtil.deleteFrom
(Graph dstGraph, Graph srcGraph) Delete triples in the destination (arg 1) as given in the source (arg 2).static void
GraphUtil.deleteLoopDst
(Graph dstGraph, Graph srcGraph) Delete the triple insrcGraph
fromdstGraph
by checking the contents ofdsgGraph
against thesrcGraph
.static void
GraphUtil.deleteLoopSrc
(Graph dstGraph, Graph srcGraph) Delete triples insrcGraph
fromdstGraph
by looping onsrcGraph
.boolean
true if this graph's content depends on the other graph.static ExtendedIterator<Triple>
Answer an iterator covering all the triples in the specified graph.boolean
Graph.isIsomorphicWith
(Graph g) Compare this graph with another using the method described in http://www.w3.org/TR/rdf-concepts#section-Graph-syntax Note: this implementation does not handle correctly blank nodes in quoted triples (RDF-star).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.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.notifyAddGraph
(Graph g, Graph added) Method called when another graphg
has been used to specify the triples added to our attached graph.void
GraphListenerBase.notifyAddGraph
(Graph g, Graph added) 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
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.notifyDeleteGraph
(Graph g, Graph removed) Method to call when another graph has been used to specify the triples deleted from our attached graph.void
GraphListenerBase.notifyDeleteGraph
(Graph g, Graph removed) 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) 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) void
GraphListener.notifyEvent
(Graph source, Object value) method to call for a general event.void
GraphListenerBase.notifyEvent
(Graph source, Object value) static void
A safe and cautious remove() function that converts the remove to a number ofdelete(Triple)
operations.NodeVisitor.visitGraph
(Node_Graph it, Graph graph) Constructors in org.apache.jena.graph with parameters of type Graph -
Uses of Graph in org.apache.jena.graph.compose
Classes in org.apache.jena.graph.compose that implement GraphModifier and TypeClassDescriptionclass
Base class for graphs that are composed of multiple sub-graphs.class
Graph operation for wrapping a base graph and leaving it unchanged while recording all the attempted updates for later access.class
Class representing the dynamic set difference L - R of two graphs.class
DisjointUnion - a version of Union that assumes the graphs are disjoint, and hence thatfind
need not do duplicate-removal.class
Base class for the two-operand composition operations; has two graphs L and Rclass
The dynamic intersection of two graphs L and R.class
A graph implementation that presents the union of zero or more subgraphs, one of which is distinguished as the updateable graph.class
A base class for composition graphs that are composed from zero or more sub-graphs (thus providing a basis for polyadic composition operators).class
A class representing the dynamic union of two graphs.Methods in org.apache.jena.graph.compose that return GraphModifier and TypeMethodDescriptionDelta.getAdditions()
Answer the graph of all triples added.Polyadic.getBaseGraph()
Answer the distinguished graph for the composition, which will be the graph that receives triple adds and deletes.Delta.getDeletions()
Answer the graph of all triples removed.Dyadic.getL()
Answer the left (first) operand of this Dyadic.Dyadic.getR()
Answer the right (second) operand of this Dyadic.Polyadic.getRequiredBaseGraph()
Answer the distinguished graph for the composition, which will be the graph that receives triple adds and deletes.Methods in org.apache.jena.graph.compose that return types with arguments of type GraphModifier and TypeMethodDescriptionPolyadic.getSubGraphs()
Answer a list of the graphs other than the updateable (base) graphMethods in org.apache.jena.graph.compose with parameters of type GraphModifier and TypeMethodDescriptionvoid
Add the given graph to this union.void
Add the given graph to this composition.boolean
Generic dependsOn, true iff it depends on either of the subgraphs.boolean
Answer true if this graph contains the given graph as a sub-component.Answer aPredicate
that will accept any triple that is an edge of graph g.static ExtendedIterator<Triple>
CompositionBase.rejecting
(ExtendedIterator<Triple> i, Graph seen) Answer an iterator over the elements ofi
that are not in the graphseen
.void
Polyadic.removeGraph
(Graph graph) Remove the given graph from this composition.void
Polyadic.setBaseGraph
(Graph graph) Set the designated updateable graph for this composition.Constructors in org.apache.jena.graph.compose with parameters of type GraphModifierConstructorDescriptionDifference
(Graph L, Graph R) Initialise a graph representing the difference L - R.DisjointUnion
(Graph L, Graph R) When the graph is constructed, copy the prefix mappings of both components into this prefix mapping.Intersection
(Graph L, Graph R) MultiUnion
(Graph[] graphs) Construct a union of all of the given graphsConstruct a composition of all of the given graphsConstructor parameters in org.apache.jena.graph.compose with type arguments of type Graph -
Uses of Graph in org.apache.jena.graph.impl
Subinterfaces of Graph in org.apache.jena.graph.implModifier and TypeInterfaceDescriptioninterface
GraphWithPerform is an implementation interface that extends Graph with the performAdd and performDelete methods used by GraphBase to invoke non-notifying versions of add and delete.Classes in org.apache.jena.graph.impl that implement GraphModifier and TypeClassDescriptionclass
A simple graph implementation that wraps a collection of triples.class
GraphBase is an implementation of Graph that provides some convenient base functionality for Graph implementations.class
A version of Graph that enforces term equality even if the base graph uses value-indexing.class
A wrapper class which simply defers all operations to its base.Methods in org.apache.jena.graph.impl that return GraphModifier and TypeMethodDescriptionWrappedGraph.getWrapped()
static Graph
GraphPlain.plain()
Return a graph that only has term-equality.static Graph
Return a graph that only has term-equality and storage in thebase
graph.Methods in org.apache.jena.graph.impl with parameters of type GraphModifier and TypeMethodDescriptionboolean
Default implementation answerstrue
iff this graph is the same graph as the argument graph.boolean
static boolean
Are the two models isomorphic?static int
boolean
GraphBase.isIsomorphicWith
(Graph g) Answer true iff this graph is isomorphic tog
according to the algorithm (indeed, method) inGraphMatcher
.boolean
WrappedGraph.isIsomorphicWith
(Graph g) static Node[][]
Return an isomorphism between the two models.void
SimpleEventManager.notifyAddArray
(Graph g, Triple[] ts) void
SimpleEventManager.notifyAddGraph
(Graph g, Graph added) void
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.notifyAddTriple
(Graph g, Triple t) void
SimpleEventManager.notifyDeleteArray
(Graph g, Triple[] ts) void
SimpleEventManager.notifyDeleteGraph
(Graph g, Graph removed) void
SimpleEventManager.notifyDeleteIterator
(Graph g, Iterator<Triple> it) void
SimpleEventManager.notifyDeleteIterator
(Graph g, List<Triple> L) void
SimpleEventManager.notifyDeleteList
(Graph g, List<Triple> L) void
SimpleEventManager.notifyDeleteTriple
(Graph g, Triple t) void
SimpleEventManager.notifyEvent
(Graph source, Object event) 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.static Graph
Return a graph that only has term-equality and storage in thebase
graph.static String
Answer a human-consumable representation ofthat
.Constructors in org.apache.jena.graph.impl with parameters of type Graph -
Uses of Graph in org.apache.jena.mem
Classes in org.apache.jena.mem that implement GraphModifier and TypeClassDescriptionclass
Deprecated.This implementation of GraphMem will be replaced by a new implementation.class
GraphMemBase - a common base class for GraphMem and SmallGraphMem.Constructors in org.apache.jena.mem with parameters of type GraphModifierConstructorDescriptionGraphTripleStoreMem
(Graph parent) StoreTripleIterator
(Graph toNotify, Iterator<Triple> it, NodeToTriplesMapBase X, NodeToTriplesMapBase A, NodeToTriplesMapBase B) -
Uses of Graph in org.apache.jena.mem2
Classes in org.apache.jena.mem2 that implement GraphModifier and TypeClassDescriptionclass
A graph that stores triples in memory.class
A graph that stores triples in memory.class
A graph that stores triples in memory.class
A graph that stores triples in memory. -
Uses of Graph in org.apache.jena.ontology
Methods in org.apache.jena.ontology that return types with arguments of type GraphModifier and TypeMethodDescriptionOntModel.getSubGraphs()
i.next() Answer the sub-graphs of this model. -
Uses of Graph in org.apache.jena.ontology.impl
Methods in org.apache.jena.ontology.impl that return GraphModifier and TypeMethodDescriptionOntModelImpl.getBaseGraph()
Answer the base-graph of this model.Methods in org.apache.jena.ontology.impl that return types with arguments of type GraphModifier and TypeMethodDescriptionOntModelImpl.getSubGraphs()
Answer the sub-graphs of this model. -
Uses of Graph in org.apache.jena.ontology.models
Methods in org.apache.jena.ontology.models that return GraphModifier and TypeMethodDescriptionSimpleGraphMaker.create()
BaseGraphMaker.createGraph()
Make a fresh anonymous graph.BaseGraphMaker.createGraph
(String name) A non-strict create.GraphMaker.createGraph()
Answer a graph who's name isn't interesting.GraphMaker.createGraph
(String name) Create a graph that does not already exist - equivalent tocreateGraph( name, false )
.GraphMaker.createGraph
(String name, boolean strict) Create a new graph associated with the given name.SimpleGraphMaker.createGraph
(String name, boolean strict) Create a graph and record it with the given name in the local map.BaseGraphMaker.getGraph()
Answer the default graph for this maker.GraphMaker.getGraph()
Answer the default graph of this GraphMaker.BaseGraphMaker.openGraph()
A non-strict open.GraphMaker.openGraph()
Answer the default graph of this GraphMaker, if it has one.Equivalent toopenGraph( name, false )
Find an existing graph that this factory knows about under the given name.SimpleGraphMaker.openGraph()
Open (aka find) a graph with the given name in the local map. -
Uses of Graph in org.apache.jena.rdf.model
Methods in org.apache.jena.rdf.model that return GraphModifier and TypeMethodDescriptionModelGraphInterface.getGraph()
Answer the Graph which this Model is presenting.Methods in org.apache.jena.rdf.model with parameters of type GraphModifier and TypeMethodDescriptionstatic Model
ModelFactory.createModelForGraph
(Graph g) Answer a model that encapsulates the given graph. -
Uses of Graph in org.apache.jena.rdf.model.impl
Methods in org.apache.jena.rdf.model.impl that return GraphMethods in org.apache.jena.rdf.model.impl with parameters of type GraphModifier 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 graphstatic 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 Triple
Answer the triple associated with the noden
.static boolean
true iff _n_ is associated with some triple rficationstatic boolean
void
ModelListenerAdapter.notifyAddArray
(Graph graph, Triple[] triples) void
ModelListenerAdapter.notifyAddGraph
(Graph g, Graph added) 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.notifyAddTriple
(Graph g, Triple t) void
ModelListenerAdapter.notifyDeleteArray
(Graph g, Triple[] triples) void
ModelListenerAdapter.notifyDeleteGraph
(Graph g, Graph removed) void
ModelListenerAdapter.notifyDeleteIterator
(Graph g, Iterator<Triple> it) void
ModelListenerAdapter.notifyDeleteList
(Graph g, List<Triple> triples) void
ModelListenerAdapter.notifyDeleteTriple
(Graph g, Triple t) void
ModelListenerAdapter.notifyEvent
(Graph g, Object event) 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.Constructors in org.apache.jena.rdf.model.impl with parameters of type Graph -
Uses of Graph in org.apache.jena.rdfxml.xmlinput0
Methods in org.apache.jena.rdfxml.xmlinput0 with parameters of type GraphModifier and TypeMethodDescriptionvoid
RDFXMLReader0.read
(Graph g, InputStream in, String xmlBase) Reads from inputStream, using base URI xmlbase, adding triples to graph.void
Reads from reader, using base URI xmlbase, adding triples to graph. -
Uses of Graph in org.apache.jena.rdfxml.xmlinput1
Methods in org.apache.jena.rdfxml.xmlinput1 with parameters of type GraphModifier and TypeMethodDescriptionvoid
RDFXMLReader.read
(Graph g, InputStream in, String xmlBase) Reads from inputStream, using base URI xmlBase, adding triples to graph.void
Reads from reader, using base URI xmlbase, adding triples to graph. -
Uses of Graph in org.apache.jena.reasoner
Subinterfaces of Graph in org.apache.jena.reasonerModifier and TypeInterfaceDescriptioninterface
Extends the Graph interface to give additional means to query an inferred graph.Classes in org.apache.jena.reasoner that implement GraphModifier and TypeClassDescriptionclass
A base level implementation of the InfGraph interface.Methods in org.apache.jena.reasoner that return GraphModifier and TypeMethodDescriptionBaseInfGraph.getDeductionsGraph()
Returns a derivations graph.InfGraph.getDeductionsGraph()
Returns a derivations graph.FGraph.getGraph()
Returns the graph.BaseInfGraph.getRawGraph()
Return the raw RDF data Graph being processed (i.e. the argument to the Reasonder.bind call that created this InfGraph).InfGraph.getRawGraph()
Return the raw RDF data Graph being processed (i.e. the argument to the Reasonder.bind call that created this InfGraph).abstract Graph
BaseInfGraph.getSchemaGraph()
Return the schema graph, if any, bound into this inference graph.Methods in org.apache.jena.reasoner with parameters of type GraphModifier and TypeMethodDescriptionAttach the reasoner to a set of RDF data to process.Reasoner.bindSchema
(Graph tbox) This is most commonly used to attach an ontology (a set of tbox axioms in description logics jargon) to a reasoner.BaseInfGraph.cloneWithPremises
(Graph premises) Return a new inference graph which is a clone of the current graph together with an additional set of data premises.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.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.void
Replace the underlying data graph for this inference graph and start any inferences over again.void
Replace the underlying data graph for this inference graph and start any inferences over again.Constructors in org.apache.jena.reasoner with parameters of type GraphModifierConstructorDescriptionBaseInfGraph
(Graph data, Reasoner reasoner) ConstructorConstructor -
Uses of Graph in org.apache.jena.reasoner.rulesys
Subinterfaces of Graph in org.apache.jena.reasoner.rulesysModifier and TypeInterfaceDescriptioninterface
This interface collects together those operations that the backchaining engine needs to invoke in the parent InfGraph.interface
This interface collects together the operations on the InfGraph which are needed to support the forward rule engine.Classes in org.apache.jena.reasoner.rulesys that implement GraphModifier and TypeClassDescriptionclass
An inference graph interface that runs a set of forward chaining rules to conclusion on each added triple and stores the entire result set.class
An inference graph that uses a mixture of forward and backward chaining rules.class
Inference graph for accessing the LP version of the backward chaining rule engine.class
Customization of the generic rule inference graph for RDFS inference.class
RETE implementation of the forward rule inference graph.Methods in org.apache.jena.reasoner.rulesys that return GraphModifier and TypeMethodDescriptionFBRuleReasoner.getBoundSchema()
Answer the schema graph bound into this reasoner, or null if there isn't one.BasicForwardRuleInfGraph.getCurrentDeductionsGraph()
Return the Graph containing all the static deductions available so far.ForwardRuleInfGraphI.getCurrentDeductionsGraph()
Return the Graph containing all the static deductions available so far.BasicForwardRuleInfGraph.getDeductionsGraph()
Return the Graph containing all the static deductions available so far.ForwardRuleInfGraphI.getDeductionsGraph()
Return the Graph containing all the static deductions available so far.BasicForwardRuleInfGraph.getSchemaGraph()
Return the schema graph, if any, bound into this inference graph.LPBackwardRuleInfGraph.getSchemaGraph()
Return the schema graph, if any, bound into this inference graph.Methods in org.apache.jena.reasoner.rulesys with parameters of type GraphModifier and TypeMethodDescriptionAttach the reasoner to a set of RDF data to process.Attach the reasoner to a set of RDF data to process.Attach the reasoner to a set of RDF data to process.Attach the reasoner to a set of RDF data to process.Attach the reasoner to a set of RDF data to process.Attach the reasoner to a set of RDF data to process.Attach the reasoner to a set of RDF data to process.Attach the reasoner to a set of RDF data to process.BasicForwardRuleReasoner.bindSchema
(Graph tbox) Precompute the implications of a schema graph.FBRuleReasoner.bindSchema
(Graph tbox) Precompute the implications of a schema graph.GenericRuleReasoner.bindSchema
(Graph tbox) Precompute the implications of a schema graph.LPBackwardRuleReasoner.bindSchema
(Graph tbox) Precompute the implications of a schema graph.OWLFBRuleReasoner.bindSchema
(Graph tbox) Precompute the implications of a schema graph.RDFSRuleReasoner.bindSchema
(Graph tbox) Precompute the implications of a schema graph.static Node
Util.getPropValue
(Node root, Node prop, Graph context) Helper - returns the (singleton) value for the given property on the given root node in the data graph.static Node
Construct an RDF list from the given array of nodes and assert it in the graph returning the head of the list.void
Replace the underlying data graph for this inference graph and start any inferences over again.void
Replace the underlying data graph for this inference graph and start any inferences over again.void
RulePreprocessHook.run
(FBRuleInfGraph infGraph, Finder dataFind, Graph inserts) Invoke the preprocessing hook.Constructors in org.apache.jena.reasoner.rulesys with parameters of type GraphModifierConstructorDescriptionBasicForwardRuleInfGraph
(Reasoner reasoner, List<Rule> rules, Graph schema) Constructor.Constructor.BasicForwardRuleInfGraph
(Reasoner reasoner, Graph schema) Constructor.FBRuleInfGraph
(Reasoner reasoner, List<Rule> rules, Graph schema) Constructor.Constructor.FBRuleInfGraph
(Reasoner reasoner, Graph schema) Constructor.LPBackwardRuleInfGraph
(Reasoner reasoner, LPRuleStore ruleStore, Graph data, Graph schema) Constructor.RDFSRuleInfGraph
(Reasoner reasoner, List<Rule> rules, Graph schema) Constructor.Constructor.RETERuleInfGraph
(Reasoner reasoner, List<Rule> rules, Graph schema) Constructor.Constructor.RETERuleInfGraph
(Reasoner reasoner, Graph schema) Constructor. -
Uses of Graph in org.apache.jena.reasoner.rulesys.impl
Classes in org.apache.jena.reasoner.rulesys.impl that implement GraphModifier and TypeClassDescriptionclass
A SafeGraph wraps a graph which might contain generalized RDF triples and hides them from API queries so that consumers of it are safe (but can use getRawGraph() to get back the unsafe graph.Methods in org.apache.jena.reasoner.rulesys.impl that return GraphModifier and TypeMethodDescriptionSafeGraph.getRawGraph()
Return the unfiltered version of the graphMethods in org.apache.jena.reasoner.rulesys.impl with parameters of type GraphModifier and TypeMethodDescriptionvoid
OWLExptRuleTranslationHook.run
(FBRuleInfGraph infGraph, Finder dataFind, Graph inserts) Invoke the preprocessing hook.void
OWLRuleTranslationHook.run
(FBRuleInfGraph infGraph, Finder dataFind, Graph inserts) Invoke the preprocessing hook.void
RDFSCMPPreprocessHook.run
(FBRuleInfGraph infGraph, Finder dataFind, Graph inserts) Invoke the preprocessing hook.Constructors in org.apache.jena.reasoner.rulesys.impl with parameters of type Graph -
Uses of Graph in org.apache.jena.reasoner.transitiveReasoner
Classes in org.apache.jena.reasoner.transitiveReasoner that implement GraphModifier and TypeClassDescriptionclass
Implementation of InfGraph used by the TransitiveReasoner.Methods in org.apache.jena.reasoner.transitiveReasoner that return GraphModifier and TypeMethodDescriptionTransitiveInfGraph.getSchemaGraph()
Return the schema graph, if any, bound into this inference graph.Methods in org.apache.jena.reasoner.transitiveReasoner with parameters of type GraphModifier and TypeMethodDescriptionAttach the reasoner to a set of RDF ddata to process.TransitiveReasoner.bindSchema
(Graph tbox) Extracts all of the subClass and subProperty declarations from the given schema/tbox and caches the resultant graphs.boolean
TransitiveEngine.checkOccurance
(Node prop, Graph graph) Test if there are any usages of prop within the given graph.Constructors in org.apache.jena.reasoner.transitiveReasoner with parameters of type GraphModifierConstructorDescriptionTransitiveInfGraph
(Graph data, TransitiveReasoner reasoner) Constructor. -
Uses of Graph in org.apache.jena.util
Classes in org.apache.jena.util that implement GraphModifier and TypeClassDescriptionclass
Graph wrapper which provides normal access to an underlying graph but also maintains a snapshot of the triples it was last known to contain.Methods in org.apache.jena.util that return GraphModifier and TypeMethodDescriptionstatic Graph
PrefixMappingUtils.graphInUsePrefixMapping
(Graph graph) Return a read-only graph that has the same data (RDF triples) as the one given, but has a prefix mapping that only includes "in use" prefixes as calculated byPrefixMappingUtils.calcInUsePrefixMapping(Graph, PrefixMapping)
.Methods in org.apache.jena.util with parameters of type GraphModifier and TypeMethodDescriptionstatic PrefixMapping
PrefixMappingUtils.calcInUsePrefixMapping
(Graph graph) Analyse the graph to see which prefixes of the graph are in use.static PrefixMapping
PrefixMappingUtils.calcInUsePrefixMapping
(Graph graph, PrefixMapping prefixMapping) Analyse the graph to see which prefixes of the givenPrefixMapping
are in use.static PrefixMapping
PrefixMappingUtils.calcInUsePrefixMappingTTL
(Graph graph) Analyse the graph to see which prefixes of the graph are in use.static PrefixMapping
PrefixMappingUtils.calcInUsePrefixMappingTTL
(Graph graph, PrefixMapping prefixMapping) Analyse the graph to see which prefixes of the givenPrefixMapping
are used by the graph triples.static Graph
PrefixMappingUtils.graphInUsePrefixMapping
(Graph graph) Return a read-only graph that has the same data (RDF triples) as the one given, but has a prefix mapping that only includes "in use" prefixes as calculated byPrefixMappingUtils.calcInUsePrefixMapping(Graph, PrefixMapping)
.Constructors in org.apache.jena.util with parameters of type GraphModifierConstructorDescriptionConstructor, wrap the given graph with a state monitor