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

Download history 198/week @ 2024-08-25 34/week @ 2024-09-01 21/week @ 2024-09-08 306/week @ 2024-09-15 284/week @ 2024-09-22 414/week @ 2024-09-29 250/week @ 2024-10-06 327/week @ 2024-10-13 271/week @ 2024-10-20 696/week @ 2024-10-27 267/week @ 2024-11-03 297/week @ 2024-11-10 68/week @ 2024-11-17 73/week @ 2024-11-24 122/week @ 2024-12-01 91/week @ 2024-12-08

377 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.2MB
~24K SLoC