| java.lang.Object com.hp.hpl.jena.graph.GraphExtract
GraphExtract | public class GraphExtract (Code) | | 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.
author: hedgehog |
Inner Class :protected static class Extraction | |
Method Summary | |
public Graph | extract(Node node, Graph graph) Answer a new graph which is the reachable subgraph from node
in graph with the terminating condition given by the
TripleBoundary passed to the constructor. | public Graph | extractInto(Graph toUpdate, Node root, Graph extractFrom) Answer the graph toUpdate augmented with the sub-graph of
extractFrom reachable from root bounded
by this instance's TripleBoundary. |
extract | public Graph extract(Node node, Graph graph)(Code) | | Answer a new graph which is the reachable subgraph from node
in graph with the terminating condition given by the
TripleBoundary passed to the constructor.
|
extractInto | public Graph extractInto(Graph toUpdate, Node root, Graph extractFrom)(Code) | | Answer the graph toUpdate augmented with the sub-graph of
extractFrom reachable from root bounded
by this instance's TripleBoundary.
|
|
|