Abstract
Many description logics (DLs) combine knowledge representation on an abstract level with interfaces to concrete domains such as numbers and strings. While these hybrid DLs are useful for conceptual modeling and ontology languages, extending them with key constraints—statements that uniquely identify individuals—presents significant computational challenges. This paper performs a detailed analysis of the decidability and complexity of such extensions. We find that while naive implementations lead to undecidability, restricted "path-free" keys and "Boolean key boxes" yield NEXPTIME-complete logics for various concrete domains.
Introduction
Description Logics (DLs) serve as the formal foundation for modern ontology languages, most notably the Web Ontology Language (OWL). They are highly effective at reasoning about abstract class hierarchies. However, real-world information systems often require the integration of two additional features: concrete data values (like ages or salaries) and uniqueness constraints, known as keys.
In database theory, keys are essential for data integrity. In the context of DLs, a key constraint might state that "US citizens are uniquely identified by their social security number." Integrating these features into a single logical framework is non-trivial. If the resulting logic is too expressive, it becomes undecidable, meaning no algorithm can reliably determine the consistency of a knowledge base. This research, a technical report from the Technische Universität Dresden, investigates the "sweet spot" where expressivity meets computational feasibility.
The Challenge of Concrete Domains and Keys
The authors focus on logics like $\mathcal{ALC}(\mathcal{D})$, which extends the basic DL $\mathcal{ALC}$ with a concrete domain $\mathcal{D}$. A concrete domain consists of a set (e.g., integers or strings) and a set of predicates (e.g., "less than" or "prefix-of").
The primary difficulty arises when keys are introduced. A key constraint allows us to specify that a set of attributes uniquely identifies an individual. The paper reveals an "undecidability trap": if keys are allowed to be defined over long chains of relationships (paths), the logic can simulate complex mathematical problems like the Post Correspondence Problem (PCP) or Domino Problems. These reductions prove that the logic has the power of a universal computer, rendering it undecidable.
Navigating the Undecidability Trap
To restore decidability, the authors propose specific restrictions:
- Path-Free Keys: The unique identifier must be a direct attribute of the object. For example, an employee is identified by their ID, rather than by the ID of their department's manager.
- Boolean Key Boxes: Restricting the way keys are combined and applied within the knowledge base.
The study also highlights a deep connection between keys and nominals. Nominals are concepts that represent exactly one specific individual (e.g., "The Eiffel Tower"). The authors demonstrate that keys can effectively simulate nominals, which explains why adding keys often elevates the complexity of a logic to the NEXPTIME-complete range.
Benchmarks and Complexity Results
As a theoretical study, this work does not rely on empirical datasets. Instead, it uses formal mathematical structures—such as the $2^{n+1} \times 2^{n+1}$ torus in Domino Problems—as benchmarks to test the limits of logical expressivity.
The research employs rigorous mathematical proofs to establish complexity bounds. For lower bounds, they use reductions from tiling problems. For upper bounds, they develop tableau-based algorithms that systematically search for a model satisfying the logical constraints. Notably, the introduction of keys often causes a dramatic leap in complexity; a logic that is typically PSpace-complete (solvable with polynomial memory) often becomes NEXPTIME-complete (requiring non-deterministic exponential time) once keys are introduced.
A key concept introduced is key-admissibility. A concrete domain is key-admissible if its predicates interact with the uniqueness requirements of keys in a way that doesn't break the reasoning algorithm. The results show that $\mathcal{ALC}(\mathcal{D})$ with Boolean key boxes and $\mathcal{SHOQK}(\mathcal{D})$ with path-free keys are both NEXPTIME-complete.
Conclusion and Future Directions
While NEXPTIME-complete complexity is high, it represents a significant improvement over undecidability. These results provide a formal foundation for adding powerful data-modeling features to ontology languages.
However, challenges remain. The authors note that combining keys with inverse roles (the ability to reason about relationships in both directions) often leads back to undecidability. Furthermore, the "path-free" restriction, while necessary for decidability, may be too limiting for certain complex database schemas. Future research will focus on finding even more flexible yet decidable fragments of these logics.
Summary updated