Calculates the coherence of RDF datasets based on the algorithm provided by Duan et al. In essence, this calculates the structuredness of a dataset. This can be used to check the realism of synthetic datasets, which should have a similar coherence as its counterpart.
Any dataset that is supported by the N3 module can be loaded, which currently consists of Turtle, TriG, N-Triples or N-Quads.
npm install graph-coherence
graph-coherence [path to my RDF dataset]
This will return a number from 0 to 1 on stdout, with 1 being the maximum coherence.
The PoDiGG generator is written by Ruben Taelman.