Tractable counting of the answers to conjunctive queries

作者:

Highlights:

摘要

Conjunctive queries (CQs) are one of the most fundamental forms of database queries. In general, the evaluation of CQs is NP-complete. Consequently, there has been an intensive search for tractable fragments. In this paper, we want to initiate a systematic search for tractable fragments of the counting problem of CQs, i.e., the problem of counting the answers to a CQ. We prove several new tractability and intractability results by starting with acyclic conjunctive queries and generalising these results to CQs of bounded hypertree-width. We also extend our study to the counting problem of unions of CQs.

论文关键词:Computational complexity,Counting complexity,Query answering,Acyclic conjunctive query,Hypertree-width

论文评审过程:Received 2 December 2011, Revised 22 March 2012, Accepted 16 January 2013, Available online 21 January 2013.

论文官网地址:https://doi.org/10.1016/j.jcss.2013.01.012