Deciding SHOQ^cap Knowledge Base Consistency using Alternating Automata

Birte Glimm, Ian Horrocks, Ulrike SattlerDescription Logics 2008

Abstract

This paper addresses the computational complexity of consistency checking in the Description Logic $SHOQ$ and its extension with role conjunctions, $SHOQ^\sqcap$. By introducing a novel transitivity-elimination technique and utilizing alternating looping tree automata, the authors prove that $SHOQ$ consistency is ExpTime-complete, confirming a long-standing conjecture. Furthermore, they establish that $SHOQ^\sqcap$ consistency is decidable in deterministic double-exponential time (2-ExpTime).

Introduction

Description Logics (DLs) serve as the formal backbone for modern ontology languages like OWL. A fundamental reasoning task in DLs is checking Knowledge Base (KB) consistency—determining if a given set of axioms and facts allows for at least one valid model. This paper focuses on $SHOQ$, a logic incorporating nominals ($S$), role hierarchies ($H$), transitive roles ($O$), and qualified number restrictions ($Q$). While $SHOQ$ was suspected to be in ExpTime, a formal proof remained elusive until this work. The authors also explore the impact of adding role conjunctions ($\sqcap$), which allow for more expressive relationship definitions.

Methodology

Eliminating Transitivity

A primary challenge in using automata-based techniques for DLs is the presence of transitive roles, which create non-local dependencies. Standard methods for transitivity elimination often fail when role conjunctions are present because conjunctions can "see" both explicit paths and implicit transitive "shortcuts."

Illustration of role paths and shortcuts in transitivity elimination.

To address this, the authors developed a specialized elimTrans function. This function transforms a $SHOQ^\sqcap$ KB into an equisatisfiable $ALCHOQ^\sqcap$ KB by explicitly adding axioms that represent these transitive shortcuts, effectively removing the need for transitive roles while preserving the logic's semantics.

Tree Relaxations and Alternating Automata

Most DLs possess the "tree-model property," which facilitates the use of tree automata. However, nominals—which represent specific individuals—break this property by allowing arbitrary edges to point back to fixed nodes. The authors circumvent this by using "tree relaxations."

Tree relaxations representing models with nominals for alternating automata.

In a tree relaxation, the model is represented as a tree where nominals are treated as special nodes, and "dummy" nodes act as proxies for them. An alternating looping tree automaton is then constructed to accept exactly these tree relaxations. The consistency of the original KB is thus reduced to the non-emptiness problem of the automaton.

Key Insights

  • The Shortcut Problem: The interaction between role conjunctions and transitivity is subtle. A conjunction might only be satisfied if the system recognizes both an explicit multi-step path and its transitive shortcut. The proposed encoding "explicates" these shortcuts.
  • Complexity Bounds: The authors successfully closed the gap for $SHOQ$, proving it to be ExpTime-complete. For $SHOQ^\sqcap$, they established a 2-ExpTime upper bound.
  • Nominal Internalization: By internalizing the ABox into the TBox, the authors simplified the consistency check into a single logical structure, a common but powerful technique in DL research.

Results and Conclusion

The study concludes that $SHOQ$ consistency checking is ExpTime-complete, matching the complexity of many other standard DLs. The addition of role conjunctions ($SHOQ^\sqcap$) increases the complexity to 2-ExpTime. Specifically, the procedure is single exponential in the size of the KB but double exponential in the length of the longest role conjunction.

While this work provides a solid theoretical foundation, the 2-ExpTime blow-up for role conjunctions remains an area for optimization. Future research may investigate whether a single-exponential algorithm exists for $SHOQ^\sqcap$ or if the logic can be extended further to include inverse roles using two-way automata.

Summary updated

BibTeX
@inproceedings{glimm2008deciding,
  author = {Birte Glimm and Ian Horrocks and Ulrike Sattler},
  title = {{Deciding SHOQ^cap Knowledge Base Consistency using Alternating Automata}},
  booktitle = {Description Logics},
  year = {2008},
}
Figure