Abstract
This research addresses a long-standing open problem in Description Logics (DLs) by establishing the computational complexity of query conservative extensions for Horn DLs that incorporate inverse roles. We demonstrate that determining whether one ontology safely extends another regarding query answers is 2EXPTIME-complete. This result is achieved through a refined characterization of query entailment that integrates mosaic techniques with alternating two-way tree automata (2ATAc), providing a robust framework for analyzing expressive Horn fragments.
1. Introduction
In the field of ontology engineering, the ability to modify, modularize, or update an ontology without altering its core logical consequences is essential. This property is known as a conservative extension. Specifically, an ontology $\mathcal{O}_2$ is a query conservative extension of $\mathcal{O}_1$ if, for any dataset (ABox) and any query formulated in a target signature, both ontologies yield the exact same answers.
Horn Description Logics have gained significant traction in data-intensive applications due to their favorable trade-off between expressivity and computational efficiency. However, a significant theoretical gap has persisted regarding the inclusion of inverse roles. Inverse roles allow for bidirectional relationship definitions (e.g., defining "hasParent" as the inverse of "isParentOf"), which are vital for modeling real-world domains but introduce significant complexity into the mathematical tools used to prove conservativity.
2. The Challenge of Inverse Roles
The standard approach for proving conservativity in simpler Horn DLs relies on the "universal model" property. In these cases, one can check for a single mapping (homomorphism) between models to ensure query answers are preserved.
Inverse roles break this paradigm. Because roles can be traversed in both directions, the model structure becomes more interconnected, preventing the use of simple, unbounded homomorphisms. When roles are bidirectional, mapping an infinite tree-like model into another becomes a recursive challenge; one might need to map "backwards" up a tree structure, creating cycles and dependencies that standard tree automata cannot easily track. This "inverse wall" has historically made the complexity of query conservativity difficult to pin down.
3. Methodology: Mosaics and Automata
To overcome these challenges, the authors move beyond global homomorphisms toward a "refined characterization" of query entailment. Their decision procedure combines two sophisticated theoretical frameworks:
3.1 Mosaic Techniques
Mosaics are used to manage the "bounded" components of the problem. A mosaic represents a local, 1-neighborhood of an element within a model. By "precompiling" how these local pieces can be legally assembled, the researchers can account for the complex local interactions and constraints imposed by inverse roles without needing to construct the entire model at once.
3.2 Alternating Two-Way Tree Automata (2ATAc)
To address the "unbounded" or infinite paths inherent in DL models, the authors employ specialized tree automata. These 2ATAc are designed to verify whether a model of one ontology can be successfully "simulated" or embedded into a model of the other. The "two-way" nature of these automata is specifically suited for inverse roles, as it allows the automaton to move both up and down the branches of the tree-shaped model.
By combining these two methods, the authors created a procedure capable of verifying if query answers are preserved across all possible datasets, accounting for both local constraints and global structures.
4. Key Results and Complexity
The primary contribution of this work is the classification of the computational complexity for various Horn DL fragments:
- Query Conservativity: The problem is proven to be 2EXPTIME-complete for Horn-$\mathcal{ALCHIF}$ and its common fragments, such as Horn-$\mathcal{ALC}$ and $\mathcal{ELI}$. Interestingly, despite the added difficulty of inverse roles, the complexity remains in the same class as versions without inverse roles, though the proof required is significantly more complex.
- Deductive Entailment: This stricter form of conservativity—which requires the preservation of all logical implications, not just query answers—was found to have a 2EXPTIME upper bound and a CONEXPTIME lower bound for $\mathcal{ELI}$ and $ELHIF_\perp$.
- Lower Bound Shifts: The research establishes that adding inverse roles to even simple fragments like $\mathcal{ELI}$ makes deductive conservativity at least CONEXPTIME-hard, representing a notable jump in complexity compared to fragments lacking inverse roles.
5. Conclusion and Future Directions
This paper provides the first definitive complexity results for query conservative extensions in Horn DLs with inverse roles. While the 2EXPTIME complexity is high, the automata-based approach offers a theoretical blueprint for developing future reasoning tools.
Two primary areas for future research remain. First, there is a remaining gap between the CONEXPTIME lower bound and the 2EXPTIME upper bound for deductive conservative extensions that needs to be closed. Second, there is interest in extending these mosaic and automata techniques to the Datalog+/- family (existential rules), which would bridge these DL results with broader database theory and Semantic Web applications.
Summary updated