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

#2263 in Database interfaces

Download history 159/week @ 2024-07-29 129/week @ 2024-08-05 24/week @ 2024-08-12 288/week @ 2024-08-19 104/week @ 2024-08-26 27/week @ 2024-09-02 106/week @ 2024-09-09 403/week @ 2024-09-16 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

1,542 downloads per month
Used in 13 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 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.1MB
~23K SLoC