Data Complexity in the EL family of DLs

Adila Krisnadhi, Carsten LutzDescription Logics 2007

Abstract

This paper investigates the data complexity of reasoning in the $\mathcal{EL}$ family of description logics (DLs), identifying the boundaries between polynomial-time tractability and co-NP-hardness. While the $\mathcal{EL}$ family is widely used in large-scale ontologies like SNOMED CT, its performance characteristics under massive data loads (ABoxes) vary significantly depending on the specific language extensions used. The study identifies that $\mathcal{EL}\mathcal{I}^f$—which supports both inverse roles and functional roles—remains tractable (PTIME) for data complexity, offering a robust framework for data-intensive applications. Conversely, the addition of features like negation, disjunction, or value restrictions typically pushes the logic into co-NP-hardness.

Introduction

In the context of the Semantic Web and large-scale knowledge representation, computational complexity is often analyzed through two lenses: combined complexity, which considers the size of the schema (TBox), the query, and the data (ABox); and data complexity, which focuses solely on the growth of the data while assuming the schema and query remain relatively small.

For many real-world applications, data complexity is the more critical metric. While the $DL-Lite$ family was designed for high-performance data reasoning (often achieving LOGSPACE complexity), it lacks the expressive power of the $\mathcal{EL}$ family. $\mathcal{EL}$ allows for "qualified existential restrictions," enabling definitions such as "Every Parent has a Child who is a Student." This paper seeks to determine how much expressivity can be added to $\mathcal{EL}$ before the computational cost of instance checking and conjunctive query (CQ) answering becomes prohibitive for large-scale datasets.

Methodology

The researchers utilized two primary theoretical frameworks to map the complexity landscape:

  1. Lower Bound Proofs (Hardness): To demonstrate that certain extensions are computationally difficult, the authors employed reductions from 2+2-SAT, a specific variant of the Boolean satisfiability problem. By showing that solving reasoning tasks in these $\mathcal{EL}$ extensions is equivalent to solving an NP-hard problem, they established co-NP-hardness for several logic variants.
  2. Upper Bound Proofs (Tractability): For the tractable case of $\mathcal{EL}\mathcal{I}^f$, the authors developed a canonical model construction. This involves building a "representative" model of the knowledge base. They proved that a query is entailed if and only if it matches this canonical model. Although the full canonical model can be infinite, the authors demonstrated that only a finite, polynomial-sized portion of it needs to be checked to answer a query, ensuring PTIME data complexity.

Key Insights and Theoretical Boundaries

The Tractability of $\mathcal{EL}\mathcal{I}^f$

A major contribution of this work is the identification of $\mathcal{EL}\mathcal{I}^f$ as a "sweet spot" for expressivity. Despite being EXPTIME-complete in terms of combined complexity, it remains in PTIME for data complexity. This means that developers can utilize inverse roles and functional roles in their schemas without facing an exponential slowdown as their databases grow.

The Role of Convexity

The authors suggest that the jump from PTIME to co-NP-hard is often tied to the property of convexity. A logic is considered convex if, when it entails that an individual belongs to a union of concepts ($C \sqcup D$), it must necessarily entail that the individual belongs to at least one of those concepts specifically. When an extension breaks this property—as is the case with disjunction or certain number restrictions—the complexity typically spikes.

The Unique Name Assumption (UNA)

The research highlights that the Unique Name Assumption—the requirement that different names always refer to different distinct objects—is not just a semantic choice but a factor in computational complexity. For certain extensions involving number restrictions (e.g., "at most $k$ roles"), the presence or absence of the UNA can determine whether the logic remains tractable or becomes co-NP-hard.

Summary of Complexity Results

The paper provides a comprehensive taxonomy of how different extensions affect data complexity:

  • Tractable (PTIME): $\mathcal{EL}\mathcal{I}^f$ is tractable for both instance checking and conjunctive query answering.
  • Intractable (co-NP-hard): Extensions including $\mathcal{EL}^{\neg A}$ (atomic negation), $\mathcal{EL}^{C \sqcup D}$ (disjunction), $\mathcal{EL}^{\forall r.C}$ (value restrictions), and $\mathcal{EL}^{(\le kr)}$ (at-most restrictions) are all co-NP-hard.
  • Functional Roles without UNA: In the absence of the Unique Name Assumption, even basic functional roles ($\mathcal{EL}^{kf}$) can become co-NP-hard when used in conjunction with a TBox.

Limitations and Future Work

While the paper identifies several tractable paths, it also notes a hard ceiling: moving to the full $\mathcal{EL}^{++}$ logic, which includes role inclusions (e.g., $r \circ s \sqsubseteq t$), makes conjunctive query answering undecidable. This limits the extent to which complex role chains can be integrated into queryable systems.

Future research directions include resolving open questions regarding the Unique Name Assumption in $\mathcal{EL}^{(\ge kr)}$ (at-least restrictions) with acyclic TBoxes. Additionally, there is interest in identifying other operators that could be added to $\mathcal{EL}\mathcal{I}^f$ without compromising its polynomial-time data complexity, further expanding the toolkit available for large-scale knowledge representation.

Summary updated

BibTeX
@inproceedings{krisnadhi2007data,
  author = {Adila Krisnadhi and Carsten Lutz},
  title = {{Data Complexity in the EL family of DLs}},
  booktitle = {Description Logics},
  year = {2007},
}
Figure