|new 0.1.5||Mar 19, 2023|
|0.1.4||Feb 23, 2023|
|0.1.2||Jan 18, 2023|
|0.1.1||Dec 7, 2022|
|0.1.0-beta.2||Jan 29, 2022|
#172 in Data structures
781 downloads per month
Used in 7 crates (3 directly)
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
OxRDF is inspired by RDF/JS and Apache Commons RDF.
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);
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or
- MIT license (LICENSE-MIT or
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.