13 releases

new 0.1.4 Jan 11, 2025
0.1.3 Nov 7, 2024
0.1.2 Oct 31, 2024
0.1.0 Sep 22, 2024
0.1.0-alpha.2 Jan 25, 2024

#1586 in Database interfaces

Download history 117/week @ 2024-09-23 403/week @ 2024-09-30 359/week @ 2024-10-07 255/week @ 2024-10-14 308/week @ 2024-10-21 627/week @ 2024-10-28 266/week @ 2024-11-04 299/week @ 2024-11-11 69/week @ 2024-11-18 70/week @ 2024-11-25 124/week @ 2024-12-02 91/week @ 2024-12-09 140/week @ 2024-12-16 26/week @ 2024-12-23 149/week @ 2024-12-30 165/week @ 2025-01-06

483 downloads per month
Used in 14 crates (2 directly)

MIT/Apache

540KB
13K SLoC

sparopt

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

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 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.6–1.2MB
~24K SLoC