Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
O

oxigraph

> 数据库
Open source

SPARQL graph database

1.8K stars0 likes1 views
WebsiteGitHub

About

SPARQL graph database

Oxigraph

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:

  • SPARQL Query, SPARQL Update, and SPARQL Federated Query.
  • Turtle, TriG, N-Triples, N-Quads, RDF/XML and JSON-LD RDF serialization formats for both data ingestion and retrieval.
  • SPARQL Query Results XML Format, SPARQL Query Results JSON Format and SPARQL Query Results CSV and TSV Formats.
  • RDF Dataset Canonicalization.

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:

  • The database written as a Rust library. Its source code is in the lib directory.
  • pyoxigraph that exposes Oxigraph to the Python world. Its source code is in the python directory.
  • JavaScript bindings for Oxigraph. WebAssembly is used to package Oxigraph into a NodeJS compatible NPM package. Its source code is in the js directory.
  • Oxigraph binary that provides a standalone command-line tool allowing to manipulate RDF data and spawn a web server implementing the SPARQL 1.1 Protocol and the SPARQL 1.1 Graph Store Protocol. Its source code and instructions (including Docker) are in the 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:
    • oxttl, N-Triple, N-Quad, Turtle, TriG and N3 parsing and serialization.
    • oxrdfxml, RDF/XML parsing and serialization.
    • oxjsonld, JSON-LD RDF serialization/deserialization algorithms.
  • 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.

Help

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.

License

This project is licensed under either of

  • Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
  • MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

at your option.

Contribution

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.

Sponsors

  • Zazuko, a knowledge graph consulting company.
  • RelationLabs that is building Relation-Graph, a SPARQL database module for the Substrate blockchain platform based on Oxigraph.
  • Field 33 that was building an ontology management platform.
  • Magnus Bakken who is building Data Treehouse, a time-series + RDF datalake platform, and chrontext, a SPARQL query endpoint on top of joint RDF and time series databases.
  • DeciSym.AI a cybersecurity consulting company providing RDF-based software.
  • ACE IoT Solutions, a building IOT platform.
  • Albin Larsson who is building GovDirectory, a directory of public agencies based on Wikidata.

And others. Many thanks to them!

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustgraph-databaserdf-storesparql

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库