graph-coherence

1.0.0 • Public • Published

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.

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i graph-coherence

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • rubensworks