Approximately Counting Answers to Conjunctive Queries with Disequalities and Negations

被引:0
|
作者
Focke, Jacob [1 ]
Goldberg, Leslie ann [2 ]
Roth, Marc [3 ]
Zivny, Stanislav [1 ,2 ]
机构
[1] CISPA Helmholtz Ctr Informat Secur, Saarbrucken, Germany
[2] Univ Oxford, Dept Comp Sci, Oxford, England
[3] Queen Mary Univ London, Sch Elect Engn & Comp Sci, London, England
基金
欧洲研究理事会;
关键词
approximate counting; conjunctive queries; fully polynomial randomised approximation scheme (FPRAS); fixed-parameter tractable randomised approximation scheme (FPTRAS); COMPLEXITY; HOMOMORPHISMS;
D O I
10.1145/3689634
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We study the complexity of approximating the number of answers to a small query q in a large database D. We establish an exhaustive classification into tractable and intractable cases if q is a conjunctive query possibly including disequalities and negations: - If there is a constant bound on the arity of q , and if the randomised Exponential Time Hypothesis (rETH) holds, then the problem has a fixed-parameter tractable approximation scheme (FPTRAS) if and only if the treewidth of q is bounded. - If the arity is unbounded and q does not have negations, then the problem has an FPTRAS if and only if the adaptive width of q (a width measure strictly more general than treewidth) is bounded; the lower bound relies on the rETH as well. Additionally we show that our results cannot be strengthened to achieve a fully polynomial randomised approximation scheme (FPRAS): We observe that, unless NP = RP, there is no FPRAS even if the treewidth (and the adaptive width) is 1. However, if there are neither disequalities nor negations, we prove the existence of an FPRAS for queries of bounded fractional hypertreewidth, strictly generalising the recently established FPRAS for conjunctive queries with bounded hypertreewidth due to Arenas, Croquevielle, Jayaram and Riveros (STOC 2021).
引用
收藏
页数:29
相关论文
共 50 条
  • [41] The complexity of acyclic conjunctive queries
    Gottlob, G
    Leone, N
    Scarcello, F
    JOURNAL OF THE ACM, 2001, 48 (03) : 431 - 498
  • [42] CQA-WF: Consistent Query Answers to Conjunctive Queries using the Well-Founded Semantics
    Belmar, Julia
    Cuevas, Jennifer
    Caniupan, Monica
    2011 30TH INTERNATIONAL CONFERENCE OF THE CHILEAN COMPUTER SCIENCE SOCIETY (SCCC), 2012, : 54 - 63
  • [43] Improving the Relevance of Product Search for Queries with Negations
    Merra, Felice Antonio
    Zaidan, Omar
    Nascimento, Fabricio de Sousa
    COMPANION OF THE WORLD WIDE WEB CONFERENCE, WWW 2023, 2023, : 86 - 89
  • [44] Conjunctive queries over DAGs
    Ronen, Royi
    Shmueli, Oded
    NEXT GENERATION INFORMATION TECHNOLOGIES AND SYSTEMS, PROCEEDINGS, 2006, 4032 : 129 - 140
  • [45] On Containment of Conjunctive Queries with Negation
    Felea, Victor
    ADVANCES IN DATABASES AND INFORMATION SYSTEMS, PROCEEDINGS, 2009, 5739 : 206 - 218
  • [46] Learnability of solutions to conjunctive queries
    Chen, Hubie
    Valeriote, Matthew
    Journal of Machine Learning Research, 2019, 20
  • [47] Conjunctive queries over trees
    Gottlob, Georg
    Koch, Christoph
    Schulz, Klaus U.
    JOURNAL OF THE ACM, 2006, 53 (02) : 238 - 272
  • [48] Approximately counting cliques
    Rasmussen, LE
    RANDOM STRUCTURES & ALGORITHMS, 1997, 11 (04) : 395 - 411
  • [49] ANSWERS TO SHIMONYS QUERIES
    STAPP, HP
    AMERICAN JOURNAL OF PHYSICS, 1995, 63 (08) : 757 - 758
  • [50] Inferring answers to queries
    Gasarch, William I.
    Lee, Andrew C. Y.
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2008, 74 (04) : 490 - 512