Spargebra is a SPARQL parser.
It supports SPARQL 1.1 Query and SPARQL 1.1 Update.
Support for SPARQL-star is also available behind the rdf-star
feature.
This crate is intended to be a building piece for SPARQL implementations in Rust like Oxigraph.
Usage example:
```rust use spargebra::Query;
let querystr = "SELECT ?s ?p ?o WHERE { ?s ?p ?o . }"; let mut query = Query::parse(querystr, None)?; asserteq!(query.tostring(), query_str); ```
This project is licensed under either of
at your option.
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.