arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1706.07936cs.DB
收藏

什么时候我们可以使用结果绑定数据接口来回答问题?

When Can We Answer Queries Using Result-Bounded Data Interfaces?

Antoine Amarilli, Michael Benedikt

摘要:

我们考虑回答查询,其中底层数据仅在有限的接口上可用,这些接口提供对匹配给定绑定的元组的查找访问,但可能限制返回的输出元组的数量。接口强加这样的“结果边界”在通过web访问数据时很常见。给定一组关系的查询,以及一些完整性约束,涉及到查询的关系的数据源,我们研究的问题,决定是否查询是可回答的接口,也就是说,是否存在一个计划,返回所有答案的查询,假设源数据满足完整性约束。我们的可回答性分析的第一个组成部分是减少到一个查询包含问题的约束。第二个组成部分是一组“模式简化”定理捕获的限制,如何与结果边界的接口可以是有用的,以获得完整的答案查询。这些结果也有助于显示可决定性的包容性问题,捕捉回答,许多类的约束。在我们的可回答性分析的最后一个组成部分是一个“线性化”的方法,显示查询包含一定的守护依赖关系-包括那些出现的可回答性问题-可以减少到查询包含一个行为良好的线性依赖关系类。将这些组件放在一起,我们就可以详细了解如何检查结果绑定服务的可回答性。

英文摘要:

We consider answering queries where the underlying data is available only over limited interfaces which provide lookup access to the tuples matching a given binding, but possibly restricting the number of output tuples returned. Interfaces imposing such "result bounds" are common in accessing data via the web. Given a query over a set of relations as well as some integrity constraints that relate the queried relations to the data sources, we examine the problem of deciding if the query is answerable over the interfaces; that is, whether there exists a plan that returns all answers to the query, assuming the source data satisfies the integrity constraints. The first component of our analysis of answerability is a reduction to a query containment problem with constraints. The second component is a set of "schema simplification" theorems capturing limitations on how interfaces with result bounds can be useful to obtain complete answers to queries. These results also help to show decidability for the containment problem that captures answerability, for many classes of constraints. The final component in our analysis of answerability is a "linearization" method, showing that query containment with certain guarded dependencies -- including those that emerge from answerability problems -- can be reduced to query containment for a well-behaved class of linear dependencies. Putting these components together, we get a detailed picture of how to check answerability over result-bounded services.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑