PoDiGG / graph-coherence

Calculates the coherence of RDF datasets based on the algorithm provided by Duan et al.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Calculates the coherence of RDF datasets based on the algorithm provided by Duan et al.

License:MIT License


Languages

Language:JavaScript 100.0%