=Paper=
{{Paper
|id=Vol-1645/paper_23
|storemode=property
|title=Typicality-based Revision for Handling Exceptions in Description Logics
|pdfUrl=https://ceur-ws.org/Vol-1645/paper_23.pdf
|volume=Vol-1645
|authors=Roberto Micalizio,Gian Luca Pozzato
|dblpUrl=https://dblp.org/rec/conf/cilc/MicalizioP16
}}
==Typicality-based Revision for Handling Exceptions in Description Logics==
Typicality-based revision for handling exceptions in
Description Logics
Roberto Micalizio1? and Gian Luca Pozzato1??
Dip. Informatica - Universitá di Torino - Italy
{roberto.micalizio,gianluca.pozzato}@unito.it
Abstract. We continue our investigation on how to revise a Description Logic
knowledge base when detecting exceptions. Our approach relies on the method-
ology for debugging a Description Logic terminology, addressing the problem
of diagnosing inconsistent ontologies by identifying a minimal subset of axioms
responsible for an inconsistency. In the approach we propose, once the source of
the inconsistency has been localized, the identified TBox inclusions are revised in
order to obtain a consistent knowledge base including the detected exception. We
define a revision operator whose aim is to replace inclusions of the form “Cs are
Ds” with “typical Cs are Ds”, admitting the existence of exceptions, obtaining
a knowledge base in the nonmonotonic logic ALC R min T which corresponds to a
notion of rational closure for Description Logics of typicality. We also describe
an algorithm implementing such a revision operator.
1 Introduction
The family of Description Logics (DL) [1] is one of the most important formalisms of
knowledge representation. DLs are reminiscent of the early semantic networks and of
frame-based systems. They offer two key advantages: (i) a well-defined semantics based
on first-order logic, and (ii) a good trade-off between expressivity and computational
complexity. DLs have been successfully implemented by a range of systems, and are
at the base of languages for the Semantic Web such as OWL. In a DL framework, a
knowledge base (KB) comprises two components: (i) a TBox, containing the definition
of concepts (and possibly roles) and a specification of inclusion relations among them;
and (ii) an ABox, containing instances of concepts and roles, in other words, properties
and relations between individuals.
Recent works [2–7] have addressed the problem of diagnosing inconsistent ontolo-
gies by identifying a minimal subset of axioms responsible for the inconsistency. The
idea of these works is that once the source of the inconsistency has been localized, the
ontology engineer can intervene and revise the identified axioms by rewriting or remov-
ing some of them in order to restore the consistency. These approaches presuppose that
the ontology has become inconsistent due to the introduction of errors; as for instance
when two ontologies are merged together.
?
The author is partially supported by the project “AThOS: Accountable Trustworthy Organiza-
tions and Systems” , Università di Torino and Compagnia di San Paolo.
??
The author is partially supported by the project “ExceptionOWL: Nonmonotonic Extensions
of Description Logics and OWL for defeasible inheritance with exceptions” , Università di
Torino and Compagnia di San Paolo.
In this work we continue our investigation in revising a Description Logic knowl-
edge base when an exception is discovered. Albeit an exception has the same effect
of an error (i.e., it causes an ontology to become inconsistent), an exception is not an
error. Rather, an exception is a piece of additional knowledge that, although partially
in contrast with what we know, must be taken into account. Thus, on the one hand, ig-
noring exceptions would be deleterious as the resulting ontology would not reflect the
applicative domain correctly. On the other hand, accommodating exceptions requires
the exploitation of some form of defeasible reasoning that allows us to revise some of
concepts in the ontology.
In [8] we have moved a first step in the direction of providing a methodology for
revising a TBox when a new concept is introduced and the resulting TBox is incoher-
ent, i.e. it contains at least a concept whose interpretation is mapped into an empty set
of domain elements. Here we refine that proposal, and move a further step in order to
tackle the problem of revising a TBox in order to accommodate a newly received in-
formation about an exception represented by an ABox individual x. Our approach is
inspired by the weakening-based revision introduced in [9] and relies on the methodol-
ogy by Schlobach et al. [2–4] for detecting exceptions by identifying a minimal subset
of axioms responsible for an inconsistency. Once the source of the inconsistency has
been localized, the identified axioms are revised in order to obtain a consistent knowl-
edge base including the detected exception about the individual x. To this aim, we use
a nonmonotonic extension of the DL ALC recently introduced by Giordano and col-
leagues in [10]. This extension is based on the introduction of a typicality operator T
in order to express typical inclusions. The intuitive idea is to allow concepts of the
form T(C), whose intuitive meaning is that T(C) selects the typical instances of a
concept C. It is therefore possible to distinguish between properties holding for all in-
stances of a concept C (C v D), and those holding only for the typical instances of
C (T(C) v D). For instance, a knowledge base can consistently express that birds
normally fly (T(Bird ) v Fly), but penguins are exceptional birds that do not fly
(Penguin v Bird and Penguin v ¬Fly). The T operator is intended to enjoy the
well-established properties of rational logic, introduced by Lehmann and Magidor in
[11] for propositional logic. In order to reason about prototypical properties and defeasi-
ble inheritance, the semantics of this nonmonotonic DL, called ALC R min T, is based on
rational models and exploits a minimal models mechanism based on the minimization
of the rank of the domain elements. This semantics corresponds to a natural extension
to DLs of Lehmann and Magidor’s notion of rational closure [11].
Given a consistent knowledge base K = (T , A) and a consistent ABox A0 =
{D1 (x), D2 (x), . . . , Dn (x)}, such that (T , A∪A0 ) is inconsistent, we define a typicality-
based revision of T in order to replace some inclusions C v D in T with T(C) v D,
resulting in a new TBox T new such that (T new , A ∪ A0 ) is consistent in the non-
monotonic ALC R min T and such that T
new
captures a notion of minimal changes. As an
example, consider a knowledge base K = (T , A) whose TBox T is as follows:
Professor v AcademicStaffMember
Professor v ∃teaches.Course
representing that professors are members of the academic staff that teach courses,
and whose ABox contains the information that Frank is a professor, namely A =
{Professor (frank )}. If further information A0 about Frank is provided, for instance
that he does not teach any course because he asked for a sabbatical year:
A0 = {¬∃teaches.Course(frank )}
the resulting knowledge base (T , A ∪ A0 ) is inconsistent. Our approach, given the ex-
ception arised in A0 , provides a typicality-based revision of T as described by the fol-
lowing T new :
Professor v AcademicStaffMember
T(Professor ) v ∃teaches.Course
representing that, in normal circumstances, professors teach courses, admitting the exis-
tence of exceptions. The revised TBox is now consistent with all the information of the
ABox, namely the knowledge base (T new , A ∪ A0 ) is consistent in the DL of typicality
ALC Rmin T.
2 State of the Art and Motivations
Our work starts from the contribution in [9], where a weakening-based revision opera-
tor is introduced in order to handle exceptions in an ALC knowledge base. In that work,
the authors consider the following problem: given a consistent ALC knowledge base K,
further information is provided by an additional, consistent ALC knowledge base K 0 ,
however the resulting K ∪ K 0 is inconsistent. K 0 contains only ABox assertions that,
as a matter of fact, correspond to exceptions. The basic idea of [9] is that conflicts are
solved by adding explicit exceptions to weaken them, and then assuming that the num-
ber of exceptions is minimal. A revision operator ◦w is introduced in order to weaken
the initial knowledge base K to handle the exceptions in K’: in other words, a disjunc-
tive knowledge base K ◦w K 0 = K1 , K2 , . . . , Kn , where each Ki is such that K ∪Ki is
consistent, represents the revised knowledge. Each Ki is obtained from K as follows:
if K 0 contains information about an exception x; e.g., ¬D(x) ∈ K 0 when C(x) and
C v D ∈ K, then either the inclusion relation is replaced by C u ¬{x} v D or C(x)
is replaced by >(x). Then, the revision operator ◦w selects the TBoxes minimizing a
degree of the weakened knowledge base, defined as the number of exceptions intro-
duced. A further refined revision operator, taking into account exceptions introduced
by universal restrictions, is introduced.
Let us consider the following example. Let K contain Bird v Fly and Bird (tweety).
Let K 0 be the newly introduced ABox, containing the only information about the fact
that Tweety does not fly (because he is, for instance, a penguin), so K 0 = {¬Fly(tweety)}.
The revision operator ◦w introduces the following two weakening-based knowledge
bases:
K1 = {Bird u ¬{tweety} v Fly}
K2 = {>(tweety)}
Let us further consider the well known example of the Nixon diamond: let K = (T , ∅)
where T is:
Quacker v Pacifist
Republican v ¬Pacifist
and let K 0 = {Quacker (nixon), Republican(nixon)}. In this case, we have that K ◦w
K 0 = {K1 , K2 }, where K1 = {Quacker u ¬{nixon} v Pacifist, Republican v
¬Pacifist} and K2 = {Quacker v Pacifist, Republican u ¬{nixon} v ¬Pacifist}.
On the contrary, the knowledge base obtained by weakening both the inclusions is dis-
carded, since the degree of exceptionality is higher with respect to the alternatives: in
both K1 and K2 only one exception is introduced, whereas the discarded alternative
weaken two inclusions.
The above simple examples show the drawbacks of the revision operator introduced
in [9]. In the first example, it can be observed that no inferences about Tweety can be
further performed in the revised knowledge base when Bird (tweety) is weakened to
>(tweety), because Tweety is no longer considered as a bird: for instance, if K further
contains the inclusion Bird v Animal , we are no longer able to infer that Tweety
is an animal, i.e. Animal (tweety). Furthermore, in the weakened inclusion Bird u
¬{tweety} v Fly all exceptions are explicitly enumerated, however this implies that
a revision would be needed if further exceptions are discovered, in other words if we
further know that also cipcip is a not flying bird, the resulting knowledge base is still
inconsistent, and we need to revise it by replacing the inclusion relation with Bird u
¬{tweety} u ¬{cipcip} v Fly. A similar problem also occurs in the example of the
Nixon diamond: since a disjunctive knowledge base {K1 , K2 , . . . , Kn } is satisfied in a
model M if and only if M is a model of at least one Ki , all Ki s become inconsistent
when another individual being both a Quacker and a Republican is discovered.
The approach in [9] is strongly related to well established works in inconsistency
handling in knowledge bases formalized in propositional and first-order logics. In par-
ticular, basic ideas are inspired to the DMA (disjunctive maxi-adjustment) approach
proposed in [12] in order to handle conflicts in stratified propositional knowledge bases.
This approach is extended to first order knowledge bases in [13], whose basic idea is
similar to the one of weakening an inclusion: here a first-order formula ∀xP (x) →
Q(x) generating a conflict is weakened by dropping the instances originating such in-
consistence, rather than dropping the whole formula. An alternative approach, called
RCMA (Refined Conjunctive Maxi-Adjustment), is proposed in [14]: here an inclusion
relation is replaced by a cardinality restriction then, when a conflict is detected, the
corresponding cardinality restriction is weakened by adapting the number of elements
involved. However, when ABox assertions are responsible for the inconsistency, the
solution consists in deleting such assertions.
Several works have been proposed in the literature in order to handle inconsistencies
in DLs. Most of them try to tackle the more general problem of revising terminologies
when two consistent sources K and K 0 are put together, resulting inconsistent. Due
to space limitations, we just mention the most closely related. In [15] the basic idea
is to adopt a selection function for choosing among different, consistent subsets of an
inconsistent DL knowledge base. Other works [2–7] have addressed the problem of
diagnosing incoherent ontologies by identifying a minimal subset of axioms responsible
for the inconsistency.
As a main difference with all the above mentioned approaches, in our work we focus
on the specific problem of revising a TBox after discovering an exception, described
by means of ABox information. We try to tackle the problem of handling exceptions
in ALC knowledge bases by exploiting nonmonotonic Description Logics allowing to
represent and reason about prototypical properties of concepts, not holding for all the
instances of that concept but only for the typical (or most normal) ones. As far as we
know, this is the first attempt to handle exceptions in DLs by exploiting the capabilities
of a nonmonotonic DL.
In the above example of (non) flying birds, our approach replaces the inclusion
Bird v Fly with the typicality-based weakened inclusion T(Bird ) v Fly, allowing to
express properties holding only for typical birds. In this case, the knowledge base ob-
tained by adding the fact ¬Fly(tweety) (Tweety is a non flying bird) is consistent, and
Tweety will be an exceptional bird, preserving all other properties eventually ascribed
to birds. In the example of the Nixon diamond, our approach provides the following
revised TBox:
T(Quacker ) v Pacifist
T(Republican) v ¬Pacifist
so that, given the information about Nixon being both a Quaker and a Republican, no
conclusion about his position about peace is drawn, since Nixon is both an exceptional
Quaker and an exceptional Republican.
3 Description Logics of Typicality
In the recent years, a large amount of work has been done in order to extend the ba-
sic formalism of DLs with nonmonotonic reasoning features. The traditional approach
is to handle defeasible inheritance by integrating some kind of nonmonotonic reason-
ing mechanisms [16–20]. A simple but powerful nonmonotonic extension of DLs is
proposed in [21]. In this approach, “typical” or “normal” properties can be directly
specified by means of a “typicality” operator T enriching the underlying DL; the typ-
icality operator T is essentially characterized by the core properties of nonmonotonic
reasoning, axiomatized by preferential logic P in [22].
In this work we refer to the most recent approach proposed in [10], where the au-
thors extend ALC with T by considering rational closure as defined by Lehman and
Magidor [11] for propositional logic. Here the T operator is intended to enjoy the well-
established properties of rational logic R . Even if T is a nonmonotonic operator (so
that for instance T(Bird ) v Fly does not entail that T(Bird u Penguin) v Fly),
the logic itself is monotonic. Indeed, in this logic it is not possible to monotonically
infer from T(Bird ) v Fly, in the absence of information to the contrary, that also
T(Bird u Black ) v Fly. Nor it can be nonmonotonically inferred from Bird (tweety),
in the absence of information to the contrary, that T(Bird )(tweety). Nonmonotonic-
ity is achieved by adapting to ALC with T the propositional construction of rational
closure. This nonmonotonic extension allows to infer typical subsumptions from the
TBox. Intuitively, and similarly to the propositional case, the rational closure construc-
tion amounts to assigning a rank (a level of exceptionality) to every concept; this rank
is used to evaluate typical inclusions of the form T(C) v D: the inclusion is sup-
ported by the rational closure whenever the rank of C is strictly smaller than the rank
of C u ¬D. From a semantic point of view, nonmonotonicity is achieved by defining,
on the top of ALC with typicality, a minimal model semantics where the notion of min-
imality is based on the minimization of the ranks of the domain elements. The problem
of extending rational closure to ABox reasoning is also taken into account: in order to
ascribe typical properties to individuals, the typicality of an individual is maximized.
This is done by minimizing its rank (that is, its level of exceptionality). Let us recall the
resulting extension ALC Rmin T in detail.
Definition 1. We consider an alphabet of concept names C, of role names R, and of
individual constants O. Given A ∈ C and R ∈ R, we define:
CR := A | > | ⊥ | ¬CR | CR u CR | CR t CR | ∀R.CR | ∃R.CR
CL := CR | T(CR )
A knowledge base is a pair (T , A). T contains a finite set of concept inclusions CL v
CR . A contains assertions of the form CL (a) and R(a, b), where a, b ∈ O.
We define the semantics of the monotonic ALC + TR , formulated in terms of rational
models: ordinary models of ALC are equipped with a preference relation < on the
domain, whose intuitive meaning is to compare the “typicality” of domain elements,
that is to say x < y means that x is more typical than y. Typical members of a concept
C, that is members of T(C), are the members x of C that are minimal with respect to
this preference relation (s.t. there is no other member of C more typical than x).
Definition 2 (Definition 3 [10]). A model M of ALC + TR is any structure h∆, <, .I i
where: ∆ is the domain; < is an irreflexive, transitive and modular (if x < y then either
x < z or z < y) relation over ∆; .I is the extension function that maps each concept C
to C I ⊆ ∆, and each role R to RI ⊆ ∆ × ∆ in the standard way for ALC concepts:
>I = ∆
⊥I = ∅
(¬C)I = ∆\C I
(C u D)I = C I ∩ DI
(C t D)I = C I ∪ DI
(∀R.C)I = {x ∈ ∆ | ∀y.(x, y) ∈ RI → y ∈ C I }
(∃R.C)I = {x ∈ ∆ | ∃y.(x, y) ∈ RI and y ∈ C I }
whereas for concepts built by means of the typicality operator
(T(C))I = M in< (C I )
where M in< (S) = {u : u ∈ S and @z ∈ S such that z < u}. Furthermore, <
satisfies the Well − Foundedness Condition, i.e., for all S ⊆ ∆, for all x ∈ S, either
x ∈ M in< (S) or ∃y ∈ M in< (S) such that y < x.
Definition 3 (Definition 4 [10]). Given an ALC + TR model M= h∆, <, .I i, we say
that: (i) a model M satisfies an inclusion C v D if it holds C I ⊆ DI ; (ii) M satisfies
an assertion C(a) if aI ∈ C I and M satisfies an assertion R(a, b) if (aI , bI ) ∈ RI .
Given a knowledge base K=(TBox,ABox), we say that: (i) M satisfies TBox if M
satisfies all inclusions in TBox; (ii) M satisfies ABox if M satisfies all assertions in
ABox; (iii) M satisfies K if it satisfies both its TBox and its ABox.
Given a knowledge base K, an inclusion CL v CR , and an assertion CL (a), with a ∈
O, we say that the inclusion CL v CR is derivable from K, written K |=ALC R T CL v
CR , if CL I ⊆ CR I holds in all models M =h∆, <, .I i satisfying K. Moreover, we
say the assertion CL (a) is derivable from K, written K |=ALC R T CL (a), if aI ∈ CL I
holds in all models M =h∆, <, .I i satisfying K.
Definition 4 (Rank of a domain element kM (x), Definition 5 [10]). Given a model
M =h∆, <, .I i, the rank kM of a domain element x ∈ ∆, is the length of the longest
chain x0 < . . . < x from x to a minimal x0 (i.e. such that there is no x0 such that
x0 < x0 ).
As already mentioned, although the typicality operator T itself is nonmonotonic (i.e.
T(C) v D does not imply T(C u E) v D), the logic ALC + TR is monotonic: what
is inferred from K can still be inferred from any K 0 with K ⊆ K 0 . This is a clear
limitation in DLs. As a consequence of the monotonicity of ALC + TR , one cannot
deal with irrelevance. For instance, from the knowledge base of birds and penguins,
one cannot derive that K |=ALC R T T(Penguin u Black ) v ¬Fly, even if the property
of being black is irrelevant with respect to flying. In the same way, if we added to
K the information that Tweety is a bird (Bird(tweety)), in ALC + TR one cannot
tentatively derive, in the absence of information to the contrary, that T(Bird)(tweety)
and F ly(tweety).
In order to tackle this problem, in [10] the definition of rational closure introduced
by Lehmann and Magidor [11] for the propositional case has been extended to the DL
ALC + TR . The resulting nonmonotonic logic is called ALC R min T. From a semantic
point of view, in [10] it is shown that minimal rational models that minimize the rank
of domain elements can be used to give a semantical reconstruction of this extension of
rational closure. The idea is as follows: given two models of K, one in which a given
domain element x has rank x1 and another in which it has rank x2 , with x1 > x2 ,
then the latter is preferred, as in this model the element x is “more normal” than in the
former.
Definition 5 (Minimal models, Definition 8 [10]). Given M =h∆, <, .I i and M0 =
0
h∆0 , <0 , .I i we say that M is preferred to M0 (M