triplemodel.io.compare
Graph and model comparison helpers for tests and migrations.
- class triplemodel.io.compare.GraphDiff(only_in_first, only_in_second)[source]
Bases:
objectStructural difference between two RDF graphs.
- Parameters:
- triplemodel.io.compare.graph_diff(graph_a, graph_b, *, normalize_bnodes=True)[source]
Compare two graphs by normalized triple sets (after optional skolemization).
- triplemodel.io.compare.graphs_equal(graph_a, graph_b, *, normalize_bnodes=True)[source]
Return whether
graph_aandgraph_bare isomorphic RDF graphs.