Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.04 KB

README.md

File metadata and controls

30 lines (20 loc) · 1.04 KB

Graph Coherence

npm version

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.