Kuske and Schweikardt introduced the very expressive first-order counting logic FOC(P) to model database queries with counting operations. They showed that there is an efficient model-checking algorithm on graphs with bounded degree, while Grohe and Schweikardt showed that probably no such algorithm exists for trees of bounded depth.
We analyze the fragment FO({>0}) of this logic. While we remove for example subtraction and comparison between two non-atomic counting terms, this logic remains quite expressive: We allow nested counting and comparison between counting terms and arbitrarily large numbers. Our main result is an approximation scheme of the model-checking problem for FO({>0}) that runs in linear fpt time on structures with bounded expansion. This scheme either gives the correct answer or says "I do not know." The latter answer may only be given if small perturbations in the number-symbols of the formula could make it both satisfied and unsatisfied. This is complemented by showing that exactly solving the model-checking problem for FO({>0}) is already hard on trees of bounded depth and just slightly increasing the expressiveness of FO({>0}) makes even approximation hard on trees.
Structural Tractability of Counting of Solutions to Conjunctive Queries
在本文中,我们将探讨合取查询的计数解决方案的问题。我们考虑一个参数称为\emph{quantified star size}的公式$φ$的自由变量是如何传播的$φ$。我们表明,对于合取查询,承认很好的分解性能(如有界树宽或广义超树宽度)有界量化星大小的特点,正是类的查询,计数的解决方案是听话的。这也使我们能够充分表征的合取查询计数的解决方案是听话的情况下,有界的arity。为了说明我们的研究结果的适用性,我们还表明,计算公式的量化星大小是可能的,在时间$n^{O(k)}$查询广义超树宽度$k$。此外,量化的星大小甚至是固定参数易处理的一些其他的宽度措施,而它是$\W{1}$ -硬广义超树宽度,因此不太可能是固定参数易处理的。最后,我们展示了如何计算量化的星大小的近似在多项式时间的近似比取决于输入的宽度。
Answering Counting Queries over DL-Lite Ontologies
University of Bordeaux(波尔多大学);CNRS(法国国家科学研究中心);Bordeaux INP(波尔多国立理工学院);LaBRI(波尔多计算机科学研究实验室);Inria(法国国家信息与自动化研究所);DI ENS(巴黎高等师范学院计算机系);ENS(巴黎高等师范学院);University PSL(巴黎文理研究大学)
Spectra of Cardinality Queries over Description Logic Knowledge Bases
Leipzig University(莱比锡大学);Center for Scalable Data Analytics and Artificial Intelligence (ScaDS.AI)(可扩展数据分析与人工智能中心(ScaDS.AI));University of Warsaw(华沙大学)
Chennai Mathematical Institute, India IAI, TCG CREST, Kolkata, India(钦奈数学研究所,印度 IAI,TCG CREST,科利尔,印度);Georgia Institute of Technology, USA University of Toronto, Canada(佐治亚理工学院,美国 蒙特利尔大学,加拿大)
Key Laboratory of Symbolic Computation and Knowledge Engineering of Ministry of Education, Jilin University(符号计算与知识工程教育部重点实验室,吉林大学);School of Computing, National University of Singapore(新加坡国立大学计算学院)