Processing unions of conjunctive queries with negation under limited access patterns

被引:0
|
作者
Nash, A [1 ]
Ludäscher, B
机构
[1] Univ Calif San Diego, Dept Math, San Diego, CA 92103 USA
[2] Univ Calif San Diego, San Diego Supercomp Ctr, San Diego, CA 92103 USA
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
We study the problem of answering queries over sources with limited access patterns. The problem is to decide whether a given query Q is feasible, i.e., equivalent to an executable query Q' that observes the limited access patterns given by the sources. We characterize the complexity of deciding feasibility for the classes CQ(-) (conjunctive queries with negation) and UCQ(-) (unions of CQ(-) queries): Testing feasibility is just as hard as testing containment and therefore Pi(2)(P)-complete. We also provide a uniform treatment for CQ UCQ, CQ(-), and UCQ(-) by devising a single algorithm which is optimal for each of these classes. In addition, we show how one can often avoid the worst-case complexity by certain approximations: At compile-time, even if a query Q is not feasible, we can find efficiently the minimal executable query containing Q. For query answering at runtime, we devise an algorithm which may report complete answers even in the case of infeasible plans and which can indicate to the user the degree of completeness for certain incomplete answers.
引用
收藏
页码:422 / 440
页数:19
相关论文
共 50 条
  • [1] On preservation under homomorphisms and unions of conjunctive queries
    Atserias, Albert
    Dawar, Anuj
    Kolaitis, Phokion G.
    [J]. JOURNAL OF THE ACM, 2006, 53 (02) : 208 - 237
  • [2] On Containment of Conjunctive Queries with Negation
    Felea, Victor
    [J]. ADVANCES IN DATABASES AND INFORMATION SYSTEMS, PROCEEDINGS, 2009, 5739 : 206 - 218
  • [3] Containment of conjunctive queries with safe negation
    Wei, F
    Lausen, G
    [J]. DATABASE THEORY ICDT 2003, PROCEEDINGS, 2003, 2572 : 346 - 360
  • [4] On the Enumeration Complexity of Unions of Conjunctive Queries
    Carmeli, Nofar
    Kroell, Markus
    [J]. PROCEEDINGS OF THE 38TH ACM SIGMOD-SIGACT-SIGAI SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS (PODS '19), 2019, : 134 - 148
  • [5] On the Enumeration Complexity of Unions of Conjunctive Queries
    Carmeli, Nofar
    Kroell, Markus
    [J]. ACM TRANSACTIONS ON DATABASE SYSTEMS, 2021, 46 (02):
  • [6] Tractability Beyond β-Acyclicity for Conjunctive Queries with Negation
    Lanzinger, Matthias
    [J]. PODS '21: PROCEEDINGS OF THE 40TH SIGMOD-SIGACT-SIGAI SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS, 2021, : 355 - 369
  • [7] On the Containment Problem for Queries in Conjunctive Form with Negation
    Felea, Victor
    [J]. PERSPECTIVES OF SYSTEMS INFORMATICS, 2010, 5947 : 110 - 123
  • [8] Containment of Conjunctive Queries with Negation: Algorithms and Experiments
    Ben Mohamed, Khalil
    Leclere, Michel
    Mugnier, Marie-Laure
    [J]. DATABASE AND EXPERT SYSTEMS APPLICATIONS, PT 2, 2010, 6262 : 330 - 345
  • [9] Space-Time Tradeoffs for Conjunctive Queries with Access Patterns
    Zhao, Hangdong
    Deep, Shaleen
    Koutris, Paraschos
    [J]. PROCEEDINGS OF THE 42ND ACM SIGMOD-SIGACT-SIGAI SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS, PODS 2023, 2023, : 59 - 68
  • [10] The Impact of Negation on the Complexity of the Shapley Value in Conjunctive Queries
    Reshef, Alon
    Kimelfeld, Benny
    Livshits, Ester
    [J]. PODS'20: PROCEEDINGS OF THE 39TH ACM SIGMOD-SIGACT-SIGAI SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS, 2020, : 285 - 297