Algorithm Search⌘K

Definitioncore

TBox and ABox

Also called terminological box, assertional box.

A knowledge base splits into a TBox of concept inclusion axioms and an ABox of assertions about named individuals.

A description logic knowledge base K=(T,A)K = (T, A) has two parts. The TBox TT (terminological box) holds the general knowledge: inclusions between concepts, such as "every mother is a parent". The ABox AA (assertional box) holds facts about named individuals, such as "Mary is a woman" and "Peter is a child of Mary". Both parts are sets of axioms with a model-theoretic meaning, and both are read under the open-world assumption.

Definition

The syntax of concepts and interpretations is that of ALC or of another description logic.

TBox. A general concept inclusion (GCI) is an axiom C⊑DC \sqsubseteq D for concepts CC and DD. A TBox TT is a finite set of GCIs. An interpretation II satisfies C⊑DC \sqsubseteq D when CI⊆DIC^I \subseteq D^I, and it is a model of TT when it satisfies each GCI of TT. The axiom C≡DC \equiv D stands for the two GCIs C⊑DC \sqsubseteq D and D⊑CD \sqsubseteq C.

These kinds of TBox matter for the cost of reasoning:

  • Empty. T=∅T = \emptyset. Every interpretation is a model.
  • Acyclic. Every axiom is a definition A≡CA \equiv C or a primitive definition A⊑CA \sqsubseteq C with a concept name AA on the left. Each name is on the left of at most one axiom. The graph with an edge from AA to each name in its right side has no cycle. A name on the left of a definition is defined, and the other names are primitive.
  • General. Any finite set of GCIs. It can have complex concepts on the left, and cycles.

An acyclic TBox can be unfolded. First write each primitive definition A⊑CA \sqsubseteq C as A≡C⊓A′A \equiv C \sqcap A' with a new name A′A'. Then replace each defined name by its definition until only primitive names are left. A subsumption C⊑DC \sqsubseteq D follows from TT if and only if the unfolding of CC is subsumed by the unfolding of DD with the empty TBox. The unfolding can be exponentially larger than CC and TT together (Nebel 1990).

ABox. A concept assertion is an axiom C(a)C(a), and a role assertion is an axiom r(a,b)r(a, b), for individual names aa and bb, a concept CC and a role name rr. An ABox AA is a finite set of assertions. An interpretation II satisfies C(a)C(a) when aI∈CIa^I \in C^I, and r(a,b)r(a, b) when (aI,bI)∈rI(a^I, b^I) \in r^I. It is a model of AA when it satisfies each assertion.

Knowledge base. A knowledge base is a pair K=(T,A)K = (T, A). An interpretation is a model of KK when it is a model of TT and of AA. KK is consistent when it has a model. An axiom α\alpha follows from KK, written K⊨αK \models \alpha, when every model of KK satisfies α\alpha. Unless a text says otherwise, two individual names can denote the same element: the unique name assumption is not made, as in OWL.

Examples and non-examples

  • An acyclic TBox: Woman≡Person⊓Female\mathit{Woman} \equiv \mathit{Person} \sqcap \mathit{Female} and Mother≡Woman⊓∃hasChild.Person\mathit{Mother} \equiv \mathit{Woman} \sqcap \exists \mathit{hasChild}.\mathit{Person}. The names Woman and Mother are defined, and Person and Female are primitive. Unfolding Mother gives Person⊓Female⊓∃hasChild.Person\mathit{Person} \sqcap \mathit{Female} \sqcap \exists \mathit{hasChild}.\mathit{Person}.
  • A general TBox: {∃hasChild.Person⊑Parent}\{\exists \mathit{hasChild}.\mathit{Person} \sqsubseteq \mathit{Parent}\} has a complex left side. {Human⊑∃hasParent.Human}\{\mathit{Human} \sqsubseteq \exists \mathit{hasParent}.\mathit{Human}\} is cyclic: in each model, a human has an endless chain of human ancestors, which either is infinite or runs in a cycle.
  • Exponential unfolding: the acyclic TBox Ai≡∀r.Ai+1⊓∀s.Ai+1A_i \equiv \forall r.A_{i+1} \sqcap \forall s.A_{i+1} for i=0,…,n−1i = 0, \ldots, n - 1 has size linear in nn. Unfolding A0A_0 gives one copy of AnA_n for each of the 2n2^n words over rr and ss of length nn, a concept of size 6⋅2n−56 \cdot 2^n - 5 (7, 19, 43, 91 and 187 for n=1n = 1 to 55).
  • An ABox: {Woman(mary), hasChild(mary,peter), Person(peter)}\{\mathit{Woman}(\mathit{mary}),\ \mathit{hasChild}(\mathit{mary}, \mathit{peter}),\ \mathit{Person}(\mathit{peter})\}. With the acyclic TBox above, K⊨Mother(mary)K \models \mathit{Mother}(\mathit{mary}).
  • The ABox {A(a), ¬A(b)}\{A(a),\ \neg A(b)\} is consistent, and it forces aI≠bIa^I \neq b^I. The ABox {A(a), ¬A(a)}\{A(a),\ \neg A(a)\} is inconsistent.

These are not TBoxes or ABoxes of ALC, or not of the kind named:

  • {Mother≡Woman⊓∃hasChild.Mother}\{\mathit{Mother} \equiv \mathit{Woman} \sqcap \exists \mathit{hasChild}.\mathit{Mother}\} is not acyclic: Mother uses itself.
  • {A≡B, A≡C}\{A \equiv B,\ A \equiv C\} is not acyclic: the name AA is on the left of two definitions.
  • ∃x hasChild(mary,x)\exists x\, \mathit{hasChild}(\mathit{mary}, x) is not an assertion, since an ABox has no variables. Write (∃hasChild.⊤)(mary)(\exists \mathit{hasChild}.\top)(\mathit{mary}).
  • r⊑sr \sqsubseteq s is a role inclusion. Logics with H put it in a separate RBox.
  • A database table is not an ABox: under the closed-world assumption a missing row is false, while in an ABox a missing assertion is unknown.

References

  1. Franz Baader, Ian Horrocks, Carsten Lutz and Ulrike Sattler, An Introduction to Description Logic, Cambridge University Press, 2017, Chapter 2 (TBoxes, acyclic TBoxes and their unfolding, ABoxes and knowledge bases)
  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.2 (terminologies, world descriptions, the family TBox)
  3. Bernhard Nebel, Terminological reasoning is inherently intractable, Artificial Intelligence 43, 1990, the exponential size of unfolded terminologies and the hardness of subsumption with respect to acyclic TBoxes (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)
WritingW4 complete
  • a review of the text: no review record reviews/E0JZHD/text.yaml