TL;DR
This paper extends the study of "counting queries" to a broader family of description logics beyond DL-Lite, specifically focusing on Horn description logics like EL and ELHI₁. The authors introduce a novel approach to tackle the complexity of these queries, providing a more complete picture of their computational landscape and paving the way for more practical algorithms.
What Problem Does This Paper Address?
Ontology-Mediated Query Answering (OMQA) is a field focused on accessing data using ontologies, which provide a structured vocabulary and domain knowledge. A key challenge in OMQA is how to handle expressive query languages that go beyond simple conjunctive queries (CQs). This paper specifically addresses the problem of "counting queries" (CCQs), where instead of just retrieving data, we want to count the number of ways a query can be satisfied within the context of an ontology and its associated data.
While previous work has explored CCQs, particularly within the DL-Lite family of description logics, the computational complexity of answering these queries has remained a significant challenge, often proving intractable. Furthermore, the study of CCQs has been largely confined to DL-Lite, leaving a gap in our understanding of their behavior in other important description logics like EL. This paper aims to bridge this gap by extending the analysis to these broader families and providing a more comprehensive understanding of the complexity landscape for counting queries.
Methods
The authors introduce a novel approach to tackle CCQ answering in Horn description logics like EL and ELHI₁. This approach is built upon the observation that there exists a model that minimizes the count value for a query. This minimal model can be constructed by combining an arbitrary structure containing all assignments for counting variables with tree-shaped structures, while carefully managing connections to and from the central component.
A key innovation is the ability to bound the size of this central component, which allows for a systematic exploration of possible assignments. The process of checking if a given assignment can be extended to a model preserving the minimum count value involves defining patterns and using local consistency conditions to ensure coherent assembly. This technique draws inspiration from existing methods for answering conjunctive queries over existential rules and type-elimination procedures used in expressive description logics.
Datasets
Not discussed in the paper.
Key Insights and Ideas
- Bridging the Gap in Description Logics: The paper significantly expands the understanding of counting query complexity beyond the DL-Lite family, providing a more complete picture for widely used Horn description logics like EL and ELHI₁.
- A Novel Model-Based Approach: The introduction of a new approach that leverages minimal count models is a key methodological contribution, offering a fresh perspective on tackling the complexity of counting queries.
- Connecting Counting Queries to OMQA: The paper establishes a novel connection between counting query answering and ontology-mediated query answering with closed predicates, which is crucial for deriving lower bounds.
- Understanding Tractability: The research identifies specific conditions and restrictions (e.g., rooted CCQs, cardinality queries) that lead to tractable query answering, offering practical avenues for implementation.
Key Results
The paper establishes a 2EXP upper bound in combined complexity for ELHI₁ and a matching lower bound for EL and DL-Lite. This leads to 2EXP-completeness for a broad range of Horn DLs, effectively closing the combined complexity gap for CCQ answering in DL-Lite. Additionally, a coNEXP lower bound for DL-Litecore is proven, matching existing upper bounds and precisely defining its combined complexity.
For data complexity, the research shows that CCQ answering is coNP-complete for logics between EL and ELHI₁. The paper also provides a complete picture of data and combined complexity for cardinality queries in ELHI₁ and its sublogics, with data complexity being coNP-complete and combined complexity ranging from NL/coNP in DL-Lite to EXP/coNEXP for EL and its extensions.
Limitations and Future Work
The authors acknowledge that while they have established theoretical complexity results, the main challenge moving forward is to develop practical algorithms. One direction for future work is to explore restrictions on queries or ontologies that guarantee polynomial data complexity for EL family logics. The paper notes that restrictions that worked for DL-Lite are not sufficient for EL, suggesting the need for novel restrictions.
Another important future direction is to develop more refined coNP procedures that are amenable to implementation using SAT solvers, particularly for EL and DL-Lite. The authors believe that their improved understanding of the structure of optimal models will be instrumental in advancing these research directions.
Summary updated