On preservation under homomorphisms and unions of conjunctive queries

被引:36
作者
Atserias, Albert [1 ]
Dawar, Anuj
Kolaitis, Phokion G.
机构
[1] Univ Politecn Cataluna, E-08028 Barcelona, Spain
[2] Univ Cambridge, Comp Lab, Cambridge, England
[3] IBM Corp, Almaden Res Ctr, San Jose, CA USA
基金
英国工程与自然科学研究理事会;
关键词
theory; conjunctive queries; Datalog; finite model theory; first-order logic; graph minors; homomorphisms; infinitary logic; preservation;
D O I
10.1145/1131342.1131344
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Unions of conjunctive queries, also known as select-project-join-union queries, are the most frequently asked queries in relational database systems. These queries are definable by existential positive first-order formulas and are preserved under homomorphisms. A classical result of mathematical logic asserts that the existential positive formulas are the only first-order formulas (up to logical equivalence) that are preserved under homomorphisms on all structures, finite and infinite. The question of whether the homomorphism-preservation theorem holds for the class of all finite structures resisted solution for a long time. It was eventually shown that, unlike other classical preservation theorems, the homomorphism-preservation theorem does hold in the finite. In this article, we show that the homomorphism-preservation theorem holds also for several restricted classes of finite structures of interest in graph theory and database theory. Specifically, we show that this result holds for all classes of finite structures of bounded degree, all classes of finite structures of bounded treewidth, and, more generally, all classes of finite structures whose cores exclude at least one minor.
引用
收藏
页码:208 / 237
页数:30
相关论文
共 37 条
[1]  
ABITEBOUL S, 1995, FDN DATABASE
[2]   MONOTONE VERSUS POSITIVE [J].
AJTAI, M ;
GUREVICH, Y .
JOURNAL OF THE ACM, 1987, 34 (04) :1004-1015
[3]   DATALOG VS FIRST-ORDER LOGIC [J].
AJTAI, M ;
GUREVICH, Y .
JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1994, 49 (03) :562-588
[4]  
Alechina N, 1997, LECT NOTES COMPUT SC, V1261, P14
[5]  
[Anonymous], 1993, ENCY MATH APPL, DOI DOI 10.1017/CBO9780511551574
[6]  
Atserias A, 2005, LECT NOTES COMPUT SC, V3580, P1437
[7]  
ATSERIAS A, 2004, P 23 ACM SIGMOD SIGA, P319
[8]  
Buss S.R., 1990, Feasible Mathematics, P211
[9]  
Chandra Ashok K., 1977, STOC'77: Proceedings of the ninth annual ACM symposium on Theory of computing, P77, DOI DOI 10.1145/800105.803397
[10]   HANDLE-REWRITING HYPERGRAPH GRAMMARS [J].
COURCELLE, B ;
ENGELFRIET, J ;
ROZENBERG, G .
JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1993, 46 (02) :218-270