Skip to content

Benchmarking sophia and comparing it to other RDF libraries

License

Notifications You must be signed in to change notification settings

KonradHoeffner/rdf_benchmark

 
 

Repository files navigation

RDF Library Benchmark

There are several HDT and non-HDT libraries under parse and query tests on up to 10 million triples. Testing is done on an Intel i9-12900k. The person data files need to be converted to HDT for the HDT test to work.

This is a fork of the Sophia benchmarking suite. The original purpose of the fork was to to compare "normal" Sophia (FastGraph and LightGraph) with the HDT Sophia adapter. However as the original is not updated much you can just use this one as a general RDF library benchmark with more up to date versions.

Original README

This is an environment for benchmarking the sophia library, and comparing it with other RDF libraries.

See the results

The results are available in benchmark_results.ipynb. They should display correctly on github. Otherwise, you need Jupyter to visualize them.

Reproduce the results

The tests have been designed for my machine, running Ubuntu 18.10. To load and build all the necessarily files, type make in the root directory of the project (see benchmark_results.ipynb for dependencies). To re-generate the CSV files, use the run_benchmark command with the appropriate arguments.

Further Requirements

pip install -r requirements.txt

n3js

export NODE_OPTIONS=--max_old_space_size=16000

librdf

One of the following (depending on your distribution):

  • pacman -S redland
  • apt install librdf-dev

Adding libraries to the benchmark

If you want to add another library to the benchmark, have a look at the BENCHMARK_INTERFACE.txt file.

About

Benchmarking sophia and comparing it to other RDF libraries

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Jupyter Notebook 96.4%
  • C 0.7%
  • Python 0.6%
  • Rust 0.6%
  • Java 0.5%
  • JavaScript 0.3%
  • Other 0.9%