First-Order Definable Counting-Only Queries

No Thumbnail Available
Can’t use the file because of accessibility barriers? Contact us

Date

2018-04-18

Journal Title

Journal ISSN

Volume Title

Publisher

Abstract

For several practical queries on bags 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 𝑘 = 1 for the more general situation where the query answer only depends on the number of sets to which each group of at most 𝑘 objects belongs. We call such queries k-counting-only. Here, we focus on 𝑘 -SyCALC, 𝑘-counting-only queries that are first-order definable. As 𝑘-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-𝑘, a syntactically defined (strict) fragment of 𝑘-SyCALC. It turns out that many practical queries in 𝑘 -SyCALC can already be expressed in SimpleCALC-𝑘. We prove that the 𝑘-counting-only queries form a non-collapsing hierarchy: for every 𝑘, there exist (𝑘+1)-counting-only queries that are not 𝑘-counting-only. This result specializes to both SimpleCALC-𝑘 and 𝑘-SyCALC. Finally, we establish a strong dichotomy between 1-SyCALC and SimpleCALC-𝑘 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.

Description

Keywords

Citation

Hellings, Jelle, et al. "First-Order Definable Counting-Only Queries." Lecture Notes in Artificial Intelligence, vol. 87, no. 2-Jan, 2018-04-18, https://doi.org/10.1007/978-3-319-90050-6_13.

Journal

Lecture Notes in Artificial Intelligence

DOI

Relation

Rights

Type