Fork of https://github.com/oxigraph/oxigraph.git for the purpose of NextGraph project
 
 
 
 
 
 
oxigraph/spargebra
Tpt be4a5b0b6b Moves SPARQL parser and algebra to an independent crate 4 years ago
..
src Moves SPARQL parser and algebra to an independent crate 4 years ago
Cargo.toml Moves SPARQL parser and algebra to an independent crate 4 years ago
README.md Moves SPARQL parser and algebra to an independent crate 4 years ago

README.md

Spargebra

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

Spargebra is a SPARQL parser.

It supports both SPARQL 1.1 Query and SPARQL 1.1 Update.

This crate is intended to be a building piece for SPARQL implementations in Rust like Oxigraph.

Usage example:

use spargebra::Query;

let query_str = "SELECT ?s ?p ?o WHERE { ?s ?p ?o . }";
let mut query = Query::parse(query_str, None)?;
assert_eq!(query.to_string(), query_str);

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Futures by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.