Oxigraph is a graph database implementing the SPARQL standard.
Its goal is to provide a compliant, safe and fast graph database.
It currently provides three store implementations providing SPARQL 1.1 query capability:
MemoryStore: a simple in memory implementation.RocksDbStore: a file system implementation based on the RocksDB key-value store. It requires the"rocksdb"feature to be activated. The"rocksdb"requires the clang compiler to be installed.SledStore: another file system implementation based on the Sled key-value store. It requires the"sled"feature to be activated. Sled is much faster to build than RockDB and does not require a C++ compiler. However, Sled is still in developpment, less tested and data load seems much slower than RocksDB.
It also provides a set of utility functions for reading, writing and processing RDF files.
Usage example with the MemoryStore:
use MemoryStore;
use *;
use ;
let store = new;
// insertion
let ex = new?;
let quad = new;
store.insert;
// quad filter
let results: = store.quads_for_pattern.collect;
assert_eq!;
// SPARQL query
if let Solutions = store.query?
# Result::Ok