26 releases
Uses new Rust 2024
| 0.3.6 | Mar 14, 2026 |
|---|---|
| 0.3.4 | Jan 24, 2026 |
| 0.3.3 | Dec 19, 2025 |
| 0.3.2 | Oct 25, 2025 |
| 0.1.0-alpha.4 | Mar 23, 2024 |
#994 in Algorithms
20,806 downloads per month
Used in 100 crates
(2 directly)
615KB
14K
SLoC
sparopt
sparopt is a work in progress SPARQL Query optimizer.
It relies on the output of spargebra.
Support for SPARQL 1.2 is also available behind the sparql-12 feature.
This crate is intended to be a building piece for SPARQL implementations in Rust like spareval used by oxigraph.
The optimizer ensures that the rewritten query returns the exact same results as the input query. However, it might discard some errors. For example, the query:
SELECT * WHERE { SERVICE <http://example.com/not-found> {} }
might get rewritten into:
SELECT * WHERE {}
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.
Dependencies
~0.5–1MB
~19K SLoC