首页> 外文会议>IEEE International Conference on Data Engineering >A SQL-Middleware Unifying Why and Why-Not Provenance for First-Order Queries
【24h】

A SQL-Middleware Unifying Why and Why-Not Provenance for First-Order Queries

机译:一个SQL中间件,统一一阶查询的原因和原因

获取原文

摘要

Explaining why an answer is in the result of a query or why it is missing from the result is important for many applications including auditing, debugging data and queries, and answering hypothetical questions about data. Both types of questions, i.e., why and why-not provenance, have been studied extensively. In this work, we present the first practical approach for answering such questions for queries with negation (firstorder queries). Our approach is based on a rewriting of Datalog rules (called firing rules) that captures successful rule derivations within the context of a Datalog query. We extend this rewriting to support negation and to capture failed derivations that explain missing answers. Given a (why or why-not) provenance question, we compute an explanation, i.e., the part of the provenance that is relevant to answer the question. We introduce optimizations that prune parts of a provenance graph early on if we can determine that they will not be part of the explanation for a given question. We present an implementation that runs on top of a relational database using SQL to compute explanations. Our experiments demonstrate that our approach scales to large instances and significantly outperforms an earlier approach which instantiates the full provenance to compute explanations.
机译:解释为什么在查询结果中存在答案或为什么从结果中遗漏答案对于许多应用程序都很重要,包括审计,调试数据和查询,以及回答有关数据的假设性问题。两种类型的问题,即为什么和为什么不出处,都得到了广泛的研究。在这项工作中,我们提出了第一种实用的方法来回答带有否定查询(一阶查询)的此类问题。我们的方法基于重写Datalog规则(称为触发规则),该规则捕获Datalog查询上下文中成功的规则派生。我们将此重写扩展到支持否定并捕获失败的派生工具,这些派生工具解释了缺少的答案。给定一个(为什么或为什么不)出处问题,我们计算一个解释,即与该问题相关的出处部分。如果可以确定它们不会成为给定问题的解释的一部分,则我们会尽早引入优化来修剪出处图的各个部分。我们提出了一种使用SQL来计算说明的,在关系数据库之上运行的实现。我们的实验表明,我们的方法可以扩展到大型实例,并且明显优于以前的方法,后者可以实例化全部来源来计算说明。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号