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 fromnodeingraphwith the terminating condition given by the TripleBoundary passed to the constructor.extractInto(Graph toUpdate, Node root, Graph extractFrom) Answer the graphtoUpdateaugmented with the sub-graph ofextractFromreachable fromrootbounded by this instance's TripleBoundary.
-
Constructor Details
-
GraphExtract
-
-
Method Details
-
extract
Answer a new graph which is the reachable subgraph fromnodeingraphwith the terminating condition given by the TripleBoundary passed to the constructor. -
extractInto
Answer the graphtoUpdateaugmented with the sub-graph ofextractFromreachable fromrootbounded by this instance's TripleBoundary.
-