graph-coherence
v1.0.0
Published
Calculate the coherence of a triple dataset
Downloads
1
Maintainers
Readme
Graph Coherence
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.
Install
npm install graph-coherence
Usage
graph-coherence [path to my RDF dataset]
This will return a number from 0 to 1 on stdout, with 1 being the maximum coherence.
License
The PoDiGG generator is written by Ruben Taelman.
This code is copyrighted by Ghent University – imec and released under the MIT license.