计算机科学 > 数据库
[提交于 2018年8月16日]
标题:PUG: A Framework and Practical Implementation for Why & Why-Not Provenance (extended version)
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Boris Glavic[v1] 2018年8月16日 星期四 02:01:11 UTC