A key task in the context of consistent query answering is to count the number of repairs that entail the query, with the ultimate goal being a precise data complexity classification. This has been achieved in the case of primary keys and self-join-free conjunctive queries (CQs) via an FP/#P-complete dichotomy. We lift this result to the more general case of functional dependencies (FDs). Another important task in this context is whenever the counting problem in question is intractable, to classify it as approximable, i.e., the target value can be efficiently approximated with error guarantees via a fully polynomial-time randomized approximation scheme (FPRAS), or as inapproximable. Although for primary keys and CQs (even with self-joins) the problem is always approximable, we prove that this is not the case for FDs. We show, however, that the class of FDs with a left-hand side chain forms an island of approximability. We see these results, apart from being interesting in their own right, as crucial steps towards a complete classification of approximate counting of repairs in the case of FDs and self-join-free CQs.
翻译:在一致的问答中,一项关键任务是计算需要查询的修理次数,最终目标是精确的数据复杂分类,这是在主键和无自join自相搭配查询(CQs)中通过FP/#P-完全的二分法实现的。我们将这一结果提升到功能依赖(FDs)这一更普遍的案例中。这方面的另一项重要任务是,每当有关的计数问题难以解决时,将目标值分类为可接近的,即目标值可以通过完全多元时随机随机近距离仪(FPRAS)与错误保证有效相近,或无法相近。尽管对于主键和CQs(即使有自joins),问题始终是接近的,但我们证明对于FDs的情况并非如此。然而,我们表明,左侧链的FDs类构成一个相近的岛屿。我们看到这些结果,除了在其本身的右侧令人感兴趣外,还被视为向完全分类的自我调整的C-FDM案例的关键步骤。