Package org.jrdf.graph.operation

This package defines a set of APIs for performing set based operations upon an RDF graph.

See:
          Description

Interface Summary
Comparison Provides the ability to compare two graph with one another.
Difference The set difference between two graphs - all the elements that belong in the first graph that do not belong in the second.
Intersection The set of all object which appear in both graphs.
SetOperation The interface the indicates a set operation.
Union The set union of two graphs - all of the items in the first graph are added to the second graph (no duplicates).
 

Package org.jrdf.graph.operation Description

This package defines a set of APIs for performing set based operations upon an RDF graph. Two graphs are always used in these operations as defined by the SetOperation interface.

Comparison allows the comparison of grounded (graphs containing no blank nodes) or non-grounded nodes.

Difference creates a new graph that contains all of the nodes that are in the first graph that do not appear in the second graph.

Intersection creates a new graph that contains only the nodes that appear in both the first and second graphs.

Union creates a new graph that contains all the nodes that appear in either the first and second graphs. Being a set there are no duplicates.