Spectra of Cardinality Queries over Description Logic Knowledge Bases
Open Access
- 11 April 2025
- journal article
- Published by Association for the Advancement of Artificial Intelligence (AAAI) in Proceedings of the AAAI Conference on Artificial Intelligence
- Vol. 39 (14) , 15067-15074
Abstract
Recent works have explored the use of counting queries coupled with Description Logic ontologies. The answer to such a query in a model of a knowledge base is either an integer or infinity, and its spectrum is the set of its answers over all models. While it is unclear how to compute and manipulate such a set in general, we identify a class of counting queries whose spectra can be effectively represented. Focusing on atomic counting queries, we pinpoint the possible shapes of a spectrum over ALCIF ontologies: they are essentially the subsets of N and infinity closed under addition. For most sublogics of ALCIF, we show that possible spectra enjoy simpler shapes, being [ m, infinity ] or variations thereof. To obtain our results, we refine constructions used for finite model reasoning and notably rely on a cycle-reversion technique for the Horn fragment of ALCIF. We also study the data complexity of computing the proposed effective representation and establish the FP^NP[log]-completeness of this task under several settings.Keywords
All Related Versions
This publication has 6 references indexed in Scilit:
- Spectra of Cardinality Queries over Description Logic Knowledge BasesProceedings of the AAAI Conference on Artificial Intelligence, 2025
- Foundations of ontology-based data access under bag semanticsArtificial Intelligence, 2019
- Complexity of answering counting aggregate queries overJournal of Web Semantics, 2015
- Conjunctive Query Answering for the Description Logic SHIQJournal of Artificial Intelligence Research, 2008
- Linking Data to Ontologies2008
- Polynomial-time implication problems for unary inclusion dependenciesJournal of the ACM, 1990