Fork of for the purpose of NextGraph project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Niko PLP c7f873f904 adding serde to the data model: triple 1 week ago
.clusterfuzzlite Fuzz image: do not install C++ compiler and make sure submodules are cloned 2 months ago
.github Upgrades GitHub actions 2 months ago
bench Renames oxigraph-server to oxigraph(-cli) 9 months ago
docs Architecture diagram 5 months ago
fuzz Adds an enum for CanonicalizationAlgorithm 3 months ago
js Upgrades dependencies 2 months ago
lib adding serde to the data model: triple 1 week ago
lints Removes dependency on escargot 2 months ago
oxrocksdb-sys use nextgraph's version of rocksdb 2 months ago
testsuite Upgrades dependencies 2 months ago
.dockerignore Fixes a style problem in pyoxigraph Cargo.toml 4 years ago
.gitignore Auto generates pyoxigraph type stubs 2 years ago
.gitmodules use nextgraph's version of rocksdb 2 months ago
.mailmap Make all Thomases into one 1 year ago
.readthedocs.yaml ReadTheDocs: updates Rust version 8 months ago Fixes some typos 2 months ago
CITATION.cff Adds DOI to CITATION.cff 1 year ago
Cargo.lock adding serde to the data model 1 week ago
Cargo.toml adding serde to the data model 1 week ago
LICENSE-APACHE Initial commit 6 years ago
LICENSE-MIT Update LICENSE-MIT 5 years ago Fixes some typos 2 months ago
clippy.toml XSD type structs: use by-value instead of by-ref in methods 12 months ago
deny.toml Fix MSRV test and upgrades dependencies 3 months ago
logo.svg Adds Oxigraph logo 4 years ago
rustfmt.toml do not order trait methods 4 months ago
typos.toml Fixes some typos 2 months ago


Latest Version Released API docs PyPI npm tests status artifacts status dependency status Gitter Twitter URL

Oxigraph is a graph database implementing the SPARQL standard.

Its goal is to provide a compliant, safe, and fast graph database based on the RocksDB key-value store. It is written in Rust. It also provides a set of utility functions for reading, writing, and processing RDF files.

Oxigraph is in heavy development and SPARQL query evaluation has not been optimized yet. The development roadmap is using GitHub milestones. Oxigraph internal design is described on the wiki.

Oxigraph implements the following specifications:

It is split into multiple parts:

Also, some parts of Oxigraph are available as standalone Rust crates:

  • 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:
    • oxttl, N-Triple, N-Quad, Turtle, TriG and N3 parsing and serialization.
    • oxrdfxml, RDF/XML parsing and serialization.
  • spargebra, a SPARQL parser.
  • sparesults, parsers and serializers for SPARQL result formats.
  • sparopt, a SPARQL optimizer.
  • oxsdatatypes, an implementation of some XML Schema datatypes.

The library layers in Oxigraph. The elements above depend on the elements below: Oxigraph libraries architecture diagram

A preliminary benchmark is provided. There is also a document describing Oxigraph technical architecture.

When cloning this codebase, don't forget to clone the submodules using git clone --recursive to clone the repository including submodules or git submodule update --init to add the submodules to the already cloned repository.


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.


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!