English

PUG: A Framework and Practical Implementation for Why & Why-Not Provenance (extended version)

Databases 2018-08-20 v1

Abstract

Explaining why an answer is (or is not) returned by a query is important for many applications including auditing, debugging data and queries, and answering hypothetical questions about data. In this work, we present the first practical approach for answering such questions for queries with negation (first- order queries). Specifically, we introduce a graph-based provenance model that, while syntactic in nature, supports reverse reasoning and is proven to encode a wide range of provenance models from the literature. The implementation of this model in our PUG (Provenance Unification through Graphs) system takes a provenance question and Datalog query as an input and generates a Datalog program that computes an explanation, i.e., the part of the provenance that is relevant to answer the question. Furthermore, we demonstrate how a desirable factorization of provenance can be achieved by rewriting an input query. We experimentally evaluate our approach demonstrating its efficiency.

Keywords

Cite

@article{arxiv.1808.05752,
  title  = {PUG: A Framework and Practical Implementation for Why & Why-Not Provenance (extended version)},
  author = {Seokki Lee and Bertram Ludaescher and Boris Glavic},
  journal= {arXiv preprint arXiv:1808.05752},
  year   = {2018}
}

Comments

Extended version of VLDB journal article of the same name. arXiv admin note: text overlap with arXiv:1701.05699

R2 v1 2026-06-23T03:36:31.109Z