Rust implementation of NextGraph, a Decentralized and local-first web 3.0 ecosystem https://nextgraph.org
 
 
 
 
 
 
nextgraph-rs/ng-oxigraph/src/oxrdf
Niko PLP 077ba6265e skolemization of blank nodes and BASE in SPARQl query and update 11 months ago
..
README.md remove all dependecies to oxigraph crates, and add dep to ng-rocksdb 1 year ago
blank_node.rs remove all dependecies to oxigraph crates, and add dep to ng-rocksdb 1 year ago
dataset.rs remove all dependecies to oxigraph crates, and add dep to ng-rocksdb 1 year ago
graph.rs remove all dependecies to oxigraph crates, and add dep to ng-rocksdb 1 year ago
interning.rs remove all dependecies to oxigraph crates, and add dep to ng-rocksdb 1 year ago
literal.rs remove all dependecies to oxigraph crates, and add dep to ng-rocksdb 1 year ago
mod.rs remove all dependecies to oxigraph crates, and add dep to ng-rocksdb 1 year ago
named_node.rs default graph coming from Nuri target 1 year ago
parser.rs skolemization of blank nodes and BASE in SPARQl query and update 11 months ago
triple.rs remove all dependecies to oxigraph crates, and add dep to ng-rocksdb 1 year ago
variable.rs remove all dependecies to oxigraph crates, and add dep to ng-rocksdb 1 year ago
vocab.rs remove all dependecies to oxigraph crates, and add dep to ng-rocksdb 1 year ago

README.md

OxRDF

Latest Version Released API docs Crates.io downloads actions status Gitter

OxRDF is a simple library providing datastructures encoding RDF 1.1 concepts.

This crate is intended to be a basic building block of other crates like Oxigraph or Spargebra.

Support for RDF-star is available behind the rdf-star feature.

OxRDF is inspired by RDF/JS and Apache Commons RDF.

Use oxrdfio if you need to read or write RDF files.

Usage example:

use oxrdf::*;

let mut graph = Graph::default();

// insertion
let ex = NamedNodeRef::new("http://example.com").unwrap();
let triple = TripleRef::new(ex, ex, ex);
graph.insert(triple);

// simple filter
let results: Vec<_> = graph.triples_for_subject(ex).collect();
assert_eq!(vec![triple], results);

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

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.