spareval
spareval is a SPARQL Query evaluator.
It relies on the spargebra and sparopt crates.
This crate is intended to be a building piece for SPARQL implementations like oxigraph.
use ;
use ;
use Query;
let ex = new.unwrap;
let dataset = from_iter;
let query = parse.unwrap;
let results = new.execute;
if let Solutions = results.unwrap
Cargo features
rdf-star: enables SPARQL-star.sep-0002: enables theSEP-0002(ADJUSTfunction and a lot of arithmetic onxsd:date,xsd:time,xsd:yearMonthDurationandxsd:dayTimeDuration).sep-0006: enables theSEP-0006(LATERALkeyword).calendar-ext: arithmetic onxsd:gYear,xsd:gYearMonth,xsd:gMonth,xsd:gMonthDayandxsd:gDay.
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.