SPARQL graph database
Oxigraph is both a graph database and a RDF and SPARQL toolkit.
Its goal is to provide a compliant, safe, and fast graph database based on the RocksDB key-value store. It also provides a set of utilities for RDF basic manipulation (parsing, serialization, canonicalization) and building SPARQL implementations (SPARQL results parsers/serializers, SPARQL parser...).
Oxigraph is in heavy development and SPARQL query evaluation has not been optimized yet. Oxigraph internal design is described on the wiki.
Oxigraph implements the following specifications:
Most implementations are nearly fully conformant with the latest recommendations (1.1 for RDF, SPARQL and JSON-LD) with preliminary support for 1.2 RDF and SPARQL drafts.
It is split into multiple parts:
lib directory.
pyoxigraph that exposes Oxigraph to the Python world. Its source code is in the python directory. js directory.cli directory.
Note that it was previously named Oxigraph server.
Also, some parts of Oxigraph are available as standalone Rust crates to be reused in other Rust projects:oxrdf, datastructures encoding RDF basic concepts (the oxigraph::model module).oxrdfio, a unified parser and serializer API for RDF formats (the oxigraph::io module). It itself relies on:
spareval, a SPARQL evaluator.spargebra, a SPARQL parser.sparesults, parsers and serializers for SPARQL result formats.sparopt, a SPARQL optimizer.oxsdatatypes, an implementation of some XML Schema datatypes.spargeo, a partial implementation of GeoSPARQL.The library layers in Oxigraph. The elements above depend on the elements below:
A preliminary benchmark is provided. There is also a document describing Oxigraph technical architecture.
Feel free to use GitHub discussions or the Gitter chat to ask questions or talk about Oxigraph. Bug reports are also very welcome.
If you need advanced support or are willing to pay to get some extra features, feel free to reach out to Tpt.
This project is licensed under either of
at your option.
When cloning this codebase, clone the submodules using
git clone --recursive https://github.com/oxigraph/oxigraph.git to clone the repository including submodules or
git submodule update --init to add the submodules to the already cloned repository.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Oxigraph by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
And others. Many thanks to them!
No open issues yet, or sync has not completed.