paperbot · PL 论文追踪

全部论文 待读 收藏

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

何时可以使用结果有界的数据接口来回答查询?
LMCS vol.Volume 18, Issue 22022匹配度 1/10 · 该论文属于数据库理论与逻辑/自动机方向,研究受限数据接口下的查询可回答性、查询包含与约束可判定性,与用户关注的 PL/静态分析、LLM/Agent、浮点程序分析、贝叶斯程序分析等核心方向没有直接关联。引用 8 inbox
Antoine Amarilli, Michael Benedikt
crossref: 2026-09-10

AI 速览

一句话:将使用结果有界访问方法回答查询的可回答性问题归约为带约束的查询包含问题,并给出常见约束类下的可判定性与复杂度结果。

本文研究通过数据访问方法回答查询的问题:访问方法对给定绑定返回匹配元组。此类接口在 Web 上常见,且常因分页或速率限制而只能返回有限数量的结果,称为结果有界方法。论文关注在底层数据满足完整性约束的前提下,判定一个查询是否可仅用这些有界方法回答,并构造返回全部答案的计划。作者首先将可回答性归约为带约束的查询包含问题;随后证明“模式简化”定理,刻画结果有界服务何时以及如何能被使用;最后基于这些定理,针对常见约束类给出可回答性问题的可判定性与复杂度结果。

问题
在底层数据满足完整性约束时,如何判定一个查询能否仅借助结果有界访问方法回答,并构造返回全部答案的计划。
方法
将可回答性归约为带约束的查询包含问题,并证明模式简化定理以刻画结果有界服务的使用方式。
评估
基于上述定理,对常见完整性约束类分析可回答性问题的可判定性与计算复杂度。
原文摘要(Abstract)

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.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@article{paperbot1697,
  title = {When Can We Answer Queries Using Result-Bounded Data Interfaces?},
  author = {Antoine Amarilli and Michael Benedikt},
  journal = {Logical Methods in Computer Science},
  volume = {Volume 18, Issue 2},
  year = {2022},
  doi = {10.46298/lmcs-18(2:14)2022}
}