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

何时可以使用结果有界的数据接口来回答查询?

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

Antoine Amarilli, Michael Benedikt

AI总结:

本研究探讨在数据接口有返回结果数量限制时,如何判定查询是否可回答,通过归约为带约束的查询包含问题,并提出模式简化定理,给出常见约束类的可判定性与复杂性结果。

摘要:

我们考虑通过访问方法回答查询的问题,这些访问方法提供对匹配给定绑定的元组的查找访问。此类接口在Web上很常见;此外,它们通常对可以返回的结果数量有限制,例如,由于分页或速率限制。因此,我们研究结果有界的方法,这些方法可能只返回有限数量的元组。我们研究如何判定一个查询是否可以使用结果有界的方法来回答,即如何计算一个使用这些方法返回查询所有答案的计划,假设底层数据满足某些完整性约束。我们首先展示如何将可回答性归约为带约束的查询包含问题。其次,我们展示描述何时以及如何使用结果有界服务的“模式简化”定理。最后,我们利用这些定理给出常见约束类的可回答性的可判定性和复杂性结果。

英文摘要:

We consider answering queries on data available through access methods, that provide lookup access to the tuples matching a given binding. Such interfaces are common on the Web; further, they often have bounds on how many results they can return, e.g., because of pagination or rate limits. We thus study result-bounded methods, which may return only a limited number of tuples. We study how to decide if a query is answerable using result-bounded methods, i.e., how to compute a plan that returns all answers to the query using the methods, assuming that the underlying data satisfies some integrity constraints. We first show how to reduce answerability to a query containment problem with constraints. Second, we show "schema simplification" theorems describing when and how result-bounded services can be used. Finally, we use these theorems to give decidability and complexity results about answerability for common constraint classes.

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

↑