NPCS: Native Provenance Computation for SPARQL
Zubaria Asma, Daniel Hernández, Luis Galárraga, Giorgos Flouris, Irini Fundulaki, Katja Hose
Abstract
The popularity of Knowledge Graphs (KGs) both in industry and academia owes credit to their flexible data model, suitable for data integration from multiple sources. Several KG-based applications such as trust assessment or view maintenance on dynamic data rely on the ability to compute provenance explanations for query results. The how-provenance of a query result is an expression that encodes the records (triples or facts) that explain its inclusion in the result set. This article proposes NPCS, a Native Provenance Computation approach for SPARQL queries. NPCS annotates query results with their how-provenance. By building upon spm-provenance semirings, NPCS supports both monotonic and non-monotonic SPARQL queries. Thanks to its reliance on query rewriting techniques, the approach is directly applicable to already deployed SPARQL engines using different reification schemes - including RDF-star. Our experimental evaluation on two popular SPARQL engines (GraphDB and Stardog) shows that our novel query rewriting brings a significant runtime improvement over existing query rewriting solutions, scaling to RDF graphs with billions of triples.
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.
Builds on1
Related papers
- Computing Why-Provenance for Property Graph QueriesKoumudi Ganepola, Maxime Jakubowski, Katja HoseVLDB 2026
- Computing the Why-Provenance for Datalog Queries via SAT SolversMarco Calautti, Ester Livshits, Andreas Pieris, Markus SchneiderAAAI 2024 · 4 citations
- FedUP: Querying Large-Scale Federations of SPARQL EndpointsJulien Aimonier-Davat, Brice Nédelec, Minh Hoang Dang, Pascal Molli et al.WWW 2024 · 5 citations
- View Selection over Knowledge Graphs in Triple StoresTheofilos Mailis, Yannis Kotidis, Stamatis Christoforidis, Evgeny Kharlamov et al.VLDB 2021 · 1 citation
- VeriDKG: A Verifiable SPARQL Query Engine for Decentralized Knowledge GraphsEnyuan Zhou, Song Guo, Zicong Hong, Christian S. Jensen et al.VLDB 2024 · 5 citations
