Compares two RDF graphs for equality (same statements).
Note: This does NOT handle bnodes, which much be treated as variables for
RDF semantics.
Note: Comparison is performed in terms of the externalized RDF
Statements rather than
SPOs since different graphs use
different lexicons.
Note: If the graphs differ in which entailments they are storing in their
data and which entailments are backchained then you MUST make them
consistent in this regard. You can do this by exporting one or both using
#bulkExport(AbstractTripleStore), which will cause all
entailments to be materialized in the returned
TempTripleStore.