First-Order Definable Counting-Only Queries

dc.contributor.authorHellings, Jelle
dc.contributor.authorGyssens, Marc
dc.contributor.authorGucht, Dirk Van
dc.contributor.authorWu, Yuqing
dc.date.accessioned2025-02-20T15:49:09Z
dc.date.available2025-02-20T15:49:09Z
dc.date.issued2018-04-18
dc.description.abstractFor 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.
dc.identifier.citationHellings, 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.
dc.identifier.issn0302-9743
dc.identifier.otherBRITE 7076
dc.identifier.urihttps://hdl.handle.net/2022/32117
dc.language.isoen
dc.relation.isversionofhttps://doi.org/10.1007/978-3-319-90050-6_13
dc.relation.isversionofhttp://hdl.handle.net/1942/26657
dc.relation.journalLecture Notes in Artificial Intelligence
dc.titleFirst-Order Definable Counting-Only Queries

Files

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