12 releases
0.1.3 | Nov 7, 2024 |
---|---|
0.1.2 | Oct 31, 2024 |
0.1.0 | Sep 22, 2024 |
0.1.0-rc.1 | Aug 25, 2024 |
0.1.0-alpha.2 | Jan 25, 2024 |
#2482 in Database interfaces
377 downloads per month
Used in 13 crates
(2 directly)
540KB
13K
SLoC
sparopt
sparopt is a work in progress SPARQL Query optimizer.
It relies on the output of spargebra.
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.
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.6–1.2MB
~24K SLoC