First-order definable counting-only queries

被引:0
|
作者
Hellings, Jelle [1 ,2 ]
Gyssens, Marc [2 ]
Van Gucht, Dirk [3 ]
Wu, Yuqing [4 ]
机构
[1] Univ Calif Davis, Dept Comp Sci, Exploratory Syst Lab, Davis, CA 95616 USA
[2] Hasselt Univ, Fac Sci, Martelarenlaan 42, B-3500 Hasselt, Belgium
[3] Indiana Univ, Sch Informat Comp & Engn, 919 E 10th St, Bloomington, IN 47408 USA
[4] Pomona Coll, 185 E 6th St, Claremont, CA 91711 USA
基金
美国国家科学基金会;
关键词
Bag of sets; Counting-only query; First-order definable query; Satisfiability; LOGICS;
D O I
10.1007/s10472-019-09652-8
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Many data sources can be represented easily by collections of sets of objects. For several practical queries on such collections of sets of objects, the answer does not depend on the precise composition of these sets, but only on the number of sets to which each object belongs. This is the case k= 1 for the more general situation where the query answer only depends on the number of sets to which each collection of at most k objects belongs. We call such queries k-counting-only. Here, we focus on k-SyCALC, i.e., k-counting-only queries that are first-order definable. As k-SyCALC is semantically defined, however, it is not surprising that it is already undecidable whether a first-order query is in 1-SyCALC. Therefore, we introduce SimpleCALC-k, a syntactically defined (strict) fragment of k-SyCALC. It turns out that many practical queries in k-SyCALC can already be expressed in SimpleCALC- k. We also define the query language GCount- k, which expresses counting-only queries directly by using generalized counting terms, and show that this language is equivalent to SimpleCALC-k. We prove that the k-counting-only queries form a non-collapsing hierarchy: for every k, there exist (k+ 1)-counting-only queries that are not k-counting-only. This result specializes to both SimpleCALC- k and k-SyCALC. Finally, we establish a strong dichotomy between 1-SyCALC and SimpleCALC- k on the one hand and 2-SyCALC on the other hand by showing that satisfiability, validity, query containment, and query equivalence are decidable for the former two languages, but not for the latter one.
引用
收藏
页码:109 / 136
页数:28
相关论文
共 50 条
  • [1] First-order definable counting-only queries
    Jelle Hellings
    Marc Gyssens
    Dirk Van Gucht
    Yuqing Wu
    Annals of Mathematics and Artificial Intelligence, 2019, 87 : 109 - 136
  • [2] First-Order Definable Counting-Only Queries
    Hellings, Jelle
    Gyssens, Marc
    Van Gucht, Dirk
    Wu, Yuqing
    FOUNDATIONS OF INFORMATION AND KNOWLEDGE SYSTEMS, FOIKS 2018, 2018, 10833 : 225 - 243
  • [3] Learning Concepts Definable in First-Order Logic with Counting
    van Bergerem, Steffen
    2019 34TH ANNUAL ACM/IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS), 2019,
  • [4] On the subsemilattices of first-order definable and openly first-order definable congruences of the congruence lattice of a universal algebra
    A. G. Pinus
    Siberian Mathematical Journal, 2006, 47 : 714 - 719
  • [5] On the subsemilattices of first-order definable and openly first-order definable congruences of the congruence lattice of a universal algebra
    Pinus, A. G.
    SIBERIAN MATHEMATICAL JOURNAL, 2006, 47 (04) : 714 - 719
  • [6] Locality of Queries Definable in Invariant First-Order Logic with Arbitrary Built-in Predicates
    Anderson, Matthew
    van Melkebeek, Dieter
    Schweikardt, Nicole
    Segoufin, Luc
    AUTOMATA, LANGUAGES AND PROGRAMMING, ICALP, PT II, 2011, 6756 : 368 - 379
  • [7] First-Order Orbit Queries
    Shaull Almagor
    Joël Ouaknine
    James Worrell
    Theory of Computing Systems, 2021, 65 : 638 - 661
  • [8] First-Order Orbit Queries
    Almagor, Shaull
    Ouaknine, Joel
    Worrell, James
    THEORY OF COMPUTING SYSTEMS, 2021, 65 (04) : 638 - 661
  • [9] On first-order topological queries
    Grohe, M
    Segoufin, L
    15TH ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, PROCEEDINGS, 2000, : 349 - 360
  • [10] Expressive Completeness of Two-Variable First-Order Logic with Counting for First-Order Logic Queries on Rooted Unranked Trees
    Hellings, Jelle
    Gyssens, Marc
    Van den Bussche, Jan
    Van Gucht, Dirk
    2023 38TH ANNUAL ACM/IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, LICS, 2023,