graphisomorphism
A commandline tool for testing if RDF graphs are isomorpic, i.e. equal if BNode labels are ignored.
Classes:
-
IsomorphicTestableGraph–Ported from:
Functions:
-
main–
IsomorphicTestableGraph
Bases: Graph
Ported from: http://www.w3.org/2001/sw/DataAccess/proto-tests/tools/rdfdiff.py (Sean B Palmer’s RDF Graph Isomorphism Tester)
Methods:
-
__eq__–Graph isomorphism testing.
-
__ne__–Negative graph isomorphism testing.
-
hashtriples– -
internal_hash–This is defined instead of hash to avoid a circular recursion
-
vhash– -
vhashtriple– -
vhashtriples–
Attributes:
-
hash–
Source code in rdflib/tools/graphisomorphism.py
__eq__
Graph isomorphism testing.
Source code in rdflib/tools/graphisomorphism.py
__ne__
hashtriples
internal_hash
This is defined instead of hash to avoid a circular recursion scenario with the Memory store for rdflib which requires a hash lookup in order to return a generator of triples