Keys, Nominals, and Concrete Domains

Carsten Lutz, Carlos Areces, Ian Horrocks, Ulrike Sattler

Abstract

Many description logics (DLs) combine knowledge representation on an abstract, logical level with an interface to "concrete" domains like numbers and strings with built-in predicates such as <, +, and prefix-of. These hybrid DLs have turned out to be useful in several application areas, such as reasoning about conceptual database models. We propose to further extend such DLs with key constraints that allow the expression of statements like "US citizens are uniquely identified by their social security number". Based on this idea, we introduce a number of natural description logics and perform a detailed analysis of their decidability and computational complexity. It turns out that naive extensions with key constraints easily lead to undecidability, whereas more careful extensions yield NExp-Time-complete DLs for a variety of useful concrete domains.

Introduction

Description Logics (DLs) serve as the formal foundation for modern knowledge representation, particularly within the Semantic Web and database modeling. While DLs excel at handling abstract concepts (e.g., "Every Human is a Mammal") and concrete data types (e.g., "Age is an Integer"), they have historically struggled to express uniqueness constraints—a fundamental requirement in database systems.

In a standard relational database, a primary key (such as a Social Security Number) uniquely identifies a specific record. However, within the open-world reasoning of DLs, asserting that "no two distinct humans can share the same SSN" introduces significant computational challenges. This paper investigates the theoretical consequences of integrating key constraints into DLs that interact with concrete domains, mapping the boundary between decidability and intractability.

Methodology

The research explores several new logical frameworks, most notably $ALCOK(D)$ and $SHOQK(D)$. The authors employ a two-pronged analytical approach:

  1. Complexity Analysis: To establish lower bounds, the authors utilize mathematical reductions. They demonstrate undecidability by showing that certain versions of the logic can simulate the Post Correspondence Problem (PCP). For decidable variants, they employ Domino Tiling problems to prove NEXPTIME-hardness.
  2. Tableau Algorithms: To establish upper bounds, the authors design new tableau-based decision procedures. These algorithms check the consistency of logical statements through a "tight coupling" between the abstract logic solver and the concrete data reasoner. A critical innovation is the increased communication ("gossip") required between these components, as keys can create new equalities between objects that the reasoner must track.

Key Insights and Theoretical Results

The integration of keys into DLs reveals a significant "complexity tax." While adding keys makes these logics more expressive for real-world applications, it often pushes computational difficulty from PSPACE to NEXPTIME, or even into undecidability.

The Power of Keys and Nominals

The authors demonstrate that concrete keys can effectively simulate "nominals" (concepts representing exactly one individual). For instance, if "SSN" is defined as a key for the concept "Human," then the concept "Human with SSN 1234" is guaranteed to have at most one instance. This synergy allows for highly expressive modeling but at a steep computational cost.

Decidability Boundaries

  • Undecidability: The study finds that the satisfiability of $ALCK(D)$ with general (complex) key boxes—where keys can be defined over complex concepts—is undecidable.
  • NEXPTIME-Completeness: To maintain computability, keys must be restricted to "atomic concepts" (simple names like "Human"). When restricted to Boolean key boxes, the logic is NEXPTIME-complete. This represents a "tight" bound, establishing the exact complexity of the problem.
  • Path Length Sensitivity: Complexity is also sensitive to the "path length" of features used in keys. Deeply nested data structures are significantly harder to reason about than flat ones when uniqueness is involved.

Conclusion and Future Work

The paper provides a rigorous foundation for understanding how uniqueness constraints interact with concrete data in description logics. While the authors successfully developed a tableau algorithm for $SHOQK(D)$ that handles nominals, role hierarchies, and concrete domains simultaneously, the resulting NEXPTIME complexity remains a hurdle for large-scale implementation.

Future research directions include investigating whether practical tableau implementations (like those in FaCT or RACER) can perform better than worst-case complexity suggests, and finding a middle ground that allows some level of concept complexity in keys without sacrificing decidability.

Summary updated

Abstract

Many description logics (DLs) combine knowledge representation on an abstract, logical level with an interface to "concrete" domains like numbers and strings with built-in predicates such as <, +, and prefix-of. These hybrid DLs have turned out to be useful in several application areas, such as reasoning about conceptual database models. We propose to further extend such DLs with key constraints that allow the expression of statements like "US citizens are uniquely identified by their social security number". Based on this idea, we introduce a number of natural description logics and perform a detailed analysis of their decidability and computational complexity. It turns out that naive extensions with key constraints easily lead to undecidability, whereas more careful extensions yield NExp-Time-complete DLs for a variety of useful concrete domains.
BibTeX
@article{lutz2005keys,
  author = {Carsten Lutz and Carlos Areces and Ian Horrocks and Ulrike Sattler},
  title = {{Keys, Nominals, and Concrete Domains}},
  journal = {J. Artif. Intell. Res.},
  year = {2005},
  doi = {10.1613/jair.1542},
}
Figure