Algorithm Search⌘K

Problemcore

Concept subsumption

Also called subsumption checking in description logics.

Decide whether every instance of concept C is an instance of concept D in every model of the TBox.

Concept subsumption is the problem of deciding whether a concept DD is more general than a concept CC with respect to a TBox TT: whether CI⊆DIC^I \subseteq D^I in every model II of TT. It is the central task of description logic reasoners, since the class hierarchy of an ontology is made of subsumptions. In ALC it reduces to concept satisfiability and has the same complexity, while in logics without negation it is the main problem on its own.

In plain words

You have background rules and two descriptions. The question is whether everything that fits the first description must also fit the second, in every world where the rules hold. "A woman with a child" always fits "a parent", once the rules say what a woman and a parent are. The answer must hold in all worlds, not only in the facts you have written down. A program can check it by trying to build a world with a thing that fits the first description but not the second. If no such world exists, the first description is a special case of the second.

Definition

The logic is ALC with interpretations I=(ΔI,⋅I)I = (\Delta^I, \cdot^I), and a TBox is a finite set of GCIs (see TBox and ABox).

  • Input. ALC concepts CC and DD, and a TBox TT. The size nn is ∣C∣+∣D∣|C| + |D| plus the size of TT.
  • Question. Is CI⊆DIC^I \subseteq D^I for every model II of TT?

If the answer is yes, CC is subsumed by DD with respect to TT, written C⊑TDC \sqsubseteq_T D or T⊨C⊑DT \models C \sqsubseteq D. CC and DD are equivalent with respect to TT, C≡TDC \equiv_T D, when each subsumes the other. As for satisfiability, there is no ABox, and the complexity is combined complexity.

Variants

  • Empty, acyclic or general TBox. As on the page for satisfiability.
  • Between concept names. Subsumption between two names of the TBox. This is the step that ontology classification repeats.
  • Logics without full negation. In FL0, EL and their relatives, subsumption cannot be reduced to satisfiability, and it has its own algorithms and bounds.

Examples

  • ∃r.A⊓∀r.B⊑∃r.(A⊓B)\exists r.A \sqcap \forall r.B \sqsubseteq \exists r.(A \sqcap B) holds with the empty TBox. The rr-successor in AA is also in BB.
  • ∀r.(A⊓B)≡∀r.A⊓∀r.B\forall r.(A \sqcap B) \equiv \forall r.A \sqcap \forall r.B and ∃r.(A⊔B)≡∃r.A⊔∃r.B\exists r.(A \sqcup B) \equiv \exists r.A \sqcup \exists r.B.
  • ∀r.A⊔∀r.B⊑∀r.(A⊔B)\forall r.A \sqcup \forall r.B \sqsubseteq \forall r.(A \sqcup B) holds, but not the converse. A counterexample is an element with an rr-successor in AA but not BB, and another in BB but not AA.
  • ∃r.(A⊓B)⊑∃r.A⊓∃r.B\exists r.(A \sqcap B) \sqsubseteq \exists r.A \sqcap \exists r.B holds, but not the converse: two different successors can carry AA and BB.
  • With T={A⊑∃r.A, A⊑B, ∃r.B⊑C}T = \{A \sqsubseteq \exists r.A,\ A \sqsubseteq B,\ \exists r.B \sqsubseteq C\}, A⊑TCA \sqsubseteq_T C holds: an element of AA has an rr-successor in AA, so in BB, so the element is in ∃r.B\exists r.B and in CC. The subsumption fails with the empty TBox.
  • With the family TBox Woman≡Person⊓Female\mathit{Woman} \equiv \mathit{Person} \sqcap \mathit{Female}, Mother≡Woman⊓∃hasChild.Person\mathit{Mother} \equiv \mathit{Woman} \sqcap \exists \mathit{hasChild}.\mathit{Person} and Parent≡Person⊓∃hasChild.Person\mathit{Parent} \equiv \mathit{Person} \sqcap \exists \mathit{hasChild}.\mathit{Person}, the subsumption Mother⊑TParent\mathit{Mother} \sqsubseteq_T \mathit{Parent} holds.

Known algorithms

  • Reduce to satisfiability. Test whether C⊓¬DC \sqcap \neg D is satisfiable with respect to TT, for example with the tableau algorithm for ALC. The subsumption holds if and only if the test fails.
  • Structural subsumption. Bring both concepts to a normal form and compare their parts. This is complete for small logics without disjunction and full negation, such as FL- and FL0 with the empty TBox.
  • Saturation for EL. EL classification derives all subsumptions between names of an EL TBox in polynomial time.
AlgorithmTimeSpacePropertiesCode
EL classification by completion rulesO(n^3) worstO(n^2) extrabuilds modeldeterministicexactsaturation1 language
Hypertableau calculus2^2^2^O(n) worst2^2^O(n) extrabacktrackingbuilds modeldeterministicexact1 language
Structural subsumption algorithmO(n log n) worstO(n) extrabuilds counter modeldeterministicexactrecursive1 language

Bounds

logic and TBox complexity source
ALC, empty or acyclic TBox PSPACE-complete by the reduction, from satisfiability
ALC, general TBox EXPTIME-complete by the reduction, from satisfiability
FL-, empty TBox in P Brachman and Levesque 1984
FL- with role restrictions, empty TBox coNP-hard Brachman and Levesque 1984
FL0, acyclic TBox coNP-hard Nebel 1990
EL, general TBox in P Baader, Brandt and Lutz 2005

For ALC the reduction runs both ways in polynomial time, so the bounds are those of concept satisfiability, with proofs on ALC is PSPACE-complete and ALC with general TBoxes is EXPTIME-complete. PSPACE and EXPTIME are closed under complement, so moving from satisfiability to its complement does not change the class.

Reductions

  • To unsatisfiability. C⊑TDC \sqsubseteq_T D if and only if C⊓¬DC \sqcap \neg D is not satisfiable with respect to TT. This needs ¬\neg, so it works in ALC but not in EL.
  • From unsatisfiability. CC is not satisfiable with respect to TT if and only if C⊑T⊥C \sqsubseteq_T \bot.
  • To instance checking. C⊑TDC \sqsubseteq_T D if and only if (T,{C(a)})⊨D(a)(T, \{C(a)\}) \models D(a) for a new individual name aa. See instance checking.
  • Query containment. Subsumption is the description logic form of query containment: a concept is a query with one answer variable, and C⊑TDC \sqsubseteq_T D says that every answer to CC is an answer to DD.

Applications

  • Class hierarchies. Ontology tools compute the subsumptions between all concept names and show them as a hierarchy.
  • Checking a new definition. A modeller adds a definition and asks where it falls in the hierarchy, or whether it is equivalent to a name that is already there.
  • Answering queries. A query concept that subsumes a stored concept returns all its instances, which lets a system answer by the hierarchy.

References

  1. Franz Baader, Ian Horrocks, Carsten Lutz and Ulrike Sattler, An Introduction to Description Logic, Cambridge University Press, 2017, Chapter 2 (subsumption and its reduction to satisfiability), Chapter 5 (complexity) and Chapter 6 (subsumption in EL)
  2. Franz Baader, Diego Calvanese, Deborah L. McGuinness, Daniele Nardi and Peter F. Patel-Schneider (eds.), The Description Logic Handbook, second edition, Cambridge University Press, 2007, Chapter 2, Basic Description Logics, by Franz Baader and Werner Nutt, Section 2.3 (structural subsumption and tableau algorithms), and Chapter 3, Complexity of Reasoning, by Francesco M. Donini
  3. Manfred Schmidt-Schauß and Gert Smolka, Attributive concept descriptions with complements, Artificial Intelligence 48(1), 1991, pages 1 to 26 (subsumption in ALC is PSPACE-complete)
  4. Ronald J. Brachman and Hector J. Levesque, The tractability of subsumption in frame-based description languages, Proceedings of the National Conference on Artificial Intelligence (AAAI-84), 1984, subsumption in FL- is polynomial, and adding role restrictions makes it coNP-hard (general locator)
  5. Bernhard Nebel, Terminological reasoning is inherently intractable, Artificial Intelligence 43, 1990, subsumption with respect to acyclic TBoxes is coNP-hard already for a small language (general locator)
  6. Franz Baader, Sebastian Brandt and Carsten Lutz, Pushing the EL envelope, Proceedings of the 19th International Joint Conference on Artificial Intelligence (IJCAI), 2005, polynomial subsumption in EL++ with general TBoxes, and EXPTIME-hardness of extensions (general locator)

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW2 basic
  • a contract.yaml