期刊
SIAM JOURNAL ON COMPUTING
卷 43, 期 3, 页码 1085-1130出版社
SIAM PUBLICATIONS
DOI: 10.1137/130911731
关键词
conjunctive queries; approximation; graphs; homomorphisms; hypergraphs
资金
- Fondecyt [1130104]
- EPSRC [G049165, F028288]
- FET-Open Project FoX [233599]
- EPSRC [EP/F028288/1, EP/J015377/1, EP/G049165/1] Funding Source: UKRI
- Engineering and Physical Sciences Research Council [EP/F028288/1, EP/J015377/1, EP/G049165/1] Funding Source: researchfish
When finding exact answers to a query over a large database is infeasible, it is natural to approximate the query by a more efficient one that comes from a class with good bounds on the complexity of query evaluation. In this paper we study such approximations for conjunctive queries. These queries are of special importance in databases, and we have a very good understanding of the classes that admit fast query evaluation, such as acyclic, or bounded (hyper)treewidth queries. We define approximations of a given query Q as queries from one of those classes that disagree with Q as little as possible. We concentrate on approximations that are guaranteed to return correct answers. We prove that for the above classes of tractable conjunctive queries, approximations always exist and are at most polynomial in the size of the original query. This follows from general results we establish that relate closure properties of classes of conjunctive queries to the existence of approximations. We also show that in many cases the size of approximations is bounded by the size of the query they approximate. We establish a number of results showing how combinatorial properties of queries affect properties of their approximations, study bounds on the number of approximations, as well as the complexity of finding and identifying approximations. The technical toolkit of the paper comes from the theory of graph homomorphisms, as we mainly work with tableaux of queries and characterize approximations via preorders based on the existence of homomorphisms. In particular, most of our results can also be interpreted as approximation or complexity results for directed graphs.
作者
我是这篇论文的作者
点击您的名字以认领此论文并将其添加到您的个人资料中。
推荐
暂无数据