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 条
  • [41] First-Order Masking with Only Two Random Bits
    Gross, Hannes
    Stoffelen, Ko
    De Meyer, Lauren
    Krenn, Martin
    Mangard, Stefan
    TIS'19: PROCEEDINGS OF ACM WORKSHOP ON THEORY OF IMPLEMENTATION SECURITY WORKSHOP, 2019, : 10 - 23
  • [42] First-order queries on structures of bounded degree are computable with constant delay
    Durand, Arnaud
    Grandjean, Etienne
    ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2007, 8 (04)
  • [43] ENUMERATING ANSWERS TO FIRST-ORDER QUERIES OVER DATABASES OF LOW DEGREE
    Durand, Arnaud
    Schweikardt, Nicole
    Segoufin, Luc
    LOGICAL METHODS IN COMPUTER SCIENCE, 2022, 18 (02)
  • [44] Updating DL-Lite Ontologies Through First-Order Queries
    De Giacomo, Giuseppe
    Oriol, Xavier
    Rosati, Riccardo
    Savo, Domenico Fabio
    SEMANTIC WEB - ISWC 2016, PT I, 2016, 9981 : 167 - 183
  • [45] Enumerating Answers to First-Order Queries over Databases of Low Degree
    Durand, Arnaud
    Schweikardt, Nicole
    Segoufin, Luc
    PODS'14: PROCEEDINGS OF THE 33RD ACM SIGMOD-SIGACT-SIGART SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS, 2014, : 121 - 131
  • [46] On the first-order reducibility of unions of conjunctive queries over inconsistent databases
    Lembo, Domenico
    Rosati, Riccardo
    Ruzzi, Marco
    CURRENT TRENDS IN DATABASE TECHNOLOGY - EDBT 2006, 2006, 4254 : 358 - 374
  • [47] Weighted first-order model counting in the two-variable fragment with counting quantifiers
    Kuželka O.
    Journal of Artificial Intelligence Research, 2021, 70 : 1281 - 1307
  • [48] First-Order Logic and First-Order Functions
    Freire, Rodrigo A.
    LOGICA UNIVERSALIS, 2015, 9 (03) : 281 - 329
  • [49] Weighted First-Order Model Counting in the Two-Variable Fragment With Counting Quantifiers
    Kuzelka, Ondrej
    JOURNAL OF ARTIFICIAL INTELLIGENCE RESEARCH, 2021, 70 : 1281 - 1307
  • [50] A First-Order Logic of Probability and Only Knowing in Unbounded Domains
    Belle, Vaishak
    Lakemeyer, Gerhard
    Levesque, Hector J.
    THIRTIETH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2016, : 893 - 899