paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Enumerating Answers to First-Order Queries over Databases of Low Degree

低度数据库上一阶查询的答案枚举
LMCS vol.Volume 18, Issue 22022匹配度 1/10 · 论文属于数据库理论与有限模型理论中的一阶查询求值/枚举算法,研究低度数据库上的伪线性时间与常延迟枚举,与用户关注的静态分析、LLM/Agent、浮点程序分析及贝叶斯程序分析均无直接交叉。引用 1 inbox
Arnaud Durand, Nicole Schweikardt, Luc Segoufin
crossref: 2026-09-10

AI 速览

一句话:论文将低度数据库上一阶布尔查询的伪线性时间判定推广到查询求值,实现答案计数、常时判定与常延迟枚举。

本文研究低度关系数据库上一阶查询的求值问题。低度类指:对任意 δ>0,除有限多个例外,数据库中元素的度数不超过 n^δ(n 为数据库大小),典型情形包括有界度数据库和度数不超过 log n 的数据库。已知在此类数据库上,一阶布尔查询可在伪线性时间(对任意 ε>0,时间为 n^{1+ε})内判定。作者将该结果从布尔查询推广到一般查询求值,证明答案计数可在伪线性时间内完成;并且经过伪线性时间预处理后,既能以常数时间判定给定元组是否为查询答案,也能以常数延迟枚举查询的所有答案。该工作统一并强化了低度数据库上查询处理的时间与枚举复杂度上界。

问题
低度数据库上一阶查询求值能否像布尔查询那样在伪线性时间内完成,并支持高效答案计数与枚举。
方法
利用低度数据库的度数限制与一阶查询结构,设计伪线性时间预处理,支持常数时间成员测试和常数延迟枚举。
评估
理论复杂度分析;证明计数、判定和枚举的时间上界,分别为伪线性时间、常数时间和常数延迟。
原文摘要(Abstract)

A class of relational databases has low degree if for all $\delta>0$, all but finitely many databases in the class have degree at most $n^{\delta}$, where $n$ is the size of the database. Typical examples are databases of bounded degree or of degree bounded by $\log n$. It is known that over a class of databases having low degree, first-order boolean queries can be checked in pseudo-linear time, i.e.\ for all $\epsilon>0$ in time bounded by $n^{1+\epsilon}$. We generalize this result by considering query evaluation. We show that counting the number of answers to a query can be done in pseudo-linear time and that after a pseudo-linear time preprocessing we can test in constant time whether a given tuple is a solution to a query or enumerate the answers to a query with constant delay.

链接与引用

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

BibTeX
@article{paperbot1703,
  title = {Enumerating Answers to First-Order Queries over Databases of Low Degree},
  author = {Arnaud Durand and Nicole Schweikardt and Luc Segoufin},
  journal = {Logical Methods in Computer Science},
  volume = {Volume 18, Issue 2},
  year = {2022},
  doi = {10.46298/lmcs-18(2:7)2022}
}