Package org.apache.jena.graph
Class GraphExtract
java.lang.Object
org.apache.jena.graph.GraphExtract
GraphExtract offers a very simple recursive extraction of a subgraph with a
specified root in some supergraph. The recursion is terminated by triples
that satisfy some supplied boundary condition.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAnswer a new graph which is the reachable subgraph fromnode
ingraph
with the terminating condition given by the TripleBoundary passed to the constructor.extractInto
(Graph toUpdate, Node root, Graph extractFrom) Answer the graphtoUpdate
augmented with the sub-graph ofextractFrom
reachable fromroot
bounded by this instance's TripleBoundary.
-
Constructor Details
-
GraphExtract
-
-
Method Details
-
extract
Answer a new graph which is the reachable subgraph fromnode
ingraph
with the terminating condition given by the TripleBoundary passed to the constructor. -
extractInto
Answer the graphtoUpdate
augmented with the sub-graph ofextractFrom
reachable fromroot
bounded by this instance's TripleBoundary.
-