Computing How-Provenance for SPARQL Queries via Query Rewriting
Daniel Hernández, Luis Galárraga, Katja Hose
Abstract
Over the past few years, we have witnessed the emergence of large knowledge graphs built by extracting and combining information from multiple sources. This has propelled many advances in query processing over knowledge graphs, however the aspect of providing provenance explanations for query results has so far been mostly neglected. We therefore propose a novel method, SPARQLprov, based on query rewriting, to compute how-provenance polynomials for SPARQL queries over knowledge graphs. Contrary to existing works, SPARQLprov is system-agnostic and can be applied to standard and already deployed SPARQL engines without the need of customized extensions. We rely on spm-semirings to compute polynomial annotations that respect the property of commutation with homomorphisms on monotonic and non-monotonic SPARQL queries without aggregate functions. Our evaluation on real and synthetic data shows that SPARQLprov over standard engines incurs an acceptable runtime overhead w.r.t. the original query, competing with state-of-the-art solutions for how-provenance computation.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 109460db-e827-4884-81ee-c3a464ff597eCited by top-tier papers4
- FaDE: More Than a Million What-ifs Per SecondHaneen Mohammed, Eugene Wu, Alexander Yao, Charlie Summers et al.VLDB 2025 · 6 citations
- NPCS: Native Provenance Computation for SPARQLZubaria Asma, Daniel Hernández, Luis Galárraga, Giorgos Flouris et al.WWW 2024 · 4 citations
- Computing Why-Provenance for Property Graph QueriesKoumudi Ganepola, Maxime Jakubowski, Katja HoseVLDB 2026
- Bolt-on, Verifiable Provenance for LLM-Powered Data ProcessingYiming Lin, Sepanta Zeighami, Aditya G. ParameswaranVLDB 2026
Related papers
- FedUP: Querying Large-Scale Federations of SPARQL EndpointsJulien Aimonier-Davat, Brice Nédelec, Minh Hoang Dang, Pascal Molli et al.WWW 2024 · 5 citations
- Equivalence-Invariant Algebraic Provenance for Hyperplane Update QueriesPierre Bourhis, Daniel Deutch, Yuval MoskovitchSIGMOD 2020 · 6 citations
- Aggregate Queries on Knowledge Graphs: Fast Approximation with Semantic-aware SamplingYuxiang Wang, Arijit Khan, Xiaoliang Xu, Jiahui Jin et al.ICDE 2022 · 20 citations
- Transforming RDF Graphs to Property Graphs using Standardized SchemasKashif Rabbani, Matteo Lissandrini, Angela Bonifati, Katja HoseSIGMOD 2025 · 13 citations
- Evaluating Top-k Queries with Inconsistency DegreesOusmane Issa, Angela Bonifati, Farouk ToumaniVLDB 2020 · 20 citations
