=Paper= {{Paper |id=Vol-1350/paper-52 |storemode=property |title=DysToPic: a Multi-Engine Theorem Prover for Preferential Description Logics |pdfUrl=https://ceur-ws.org/Vol-1350/paper-52.pdf |volume=Vol-1350 |dblpUrl=https://dblp.org/rec/conf/dlog/GiordanoGOPV15 }} ==DysToPic: a Multi-Engine Theorem Prover for Preferential Description Logics== https://ceur-ws.org/Vol-1350/paper-52.pdf
           DysToPic: a Multi-Engine Theorem Prover for
                 Preferential Description Logics
                            Laura Giordano1 , Valentina Gliozzi2 ,
                   Nicola Olivetti3 , Gian Luca Pozzato2 , and Luca Violanti4
     1
          DISIT - U. Piemonte Orientale - Alessandria, Italy - laura.giordano@unipmn.it
                           2
                              Dip. Informatica - Universitá di Torino - Italy
                   {valentina.gliozzi,gianluca.pozzato}@unito.it
         3
           Aix Marseille Université - ENSAM, Université de Toulon, LSIS UMR 7296 - France
                               nicola.olivetti@univ-amu.fr
               4
                  NCR Edinburgh - United Kingdom - luca.violanti@gmail.com

            Abstract. We describe DysToPic, a theorem prover for the preferential De-
            scription Logic ALC + Tmin . This is a nonmonotonic extension of standard
            ALC based on a typicality operator T, which enjoys a preferential semantics.
            DysToPic is a multi-engine Prolog implementation of a labelled, two-phase
            tableaux calculus for ALC + Tmin whose basic idea is that of performing these
            two phases by different machines. The performances of DysToPic are promis-
            ing, and significantly better than the ones of its predecessor PreDeLo 1.0.

1        Introduction
Nonmonotonic extensions of Description Logics (DLs) have been actively investigated
since the early 90s [3, 1, 4, 6, 7, 13, 5]. A simple but powerful nonmonotonic extension
of DLs is proposed in [7, 13, 12]: in this approach “typical” or “normal” properties can
be directly specified by means of a “typicality” operator T enriching the underlying DL;
the typicality operator T is essentially characterized by the core properties of nonmono-
tonic reasoning axiomatized by either preferential logic [14] or rational logic [15]. In
these logics one can consistently express defeasible inclusions and exceptions such as
“normally, kids eat chocolate, but typical kids who have lactose intolerance do not”:
     T(Kid ) v ChocolateEater
     T(Kid u ∃HasIntolerance.Lactose) v ¬ChocolateEater .
In order to perform useful inferences, in [13] we have introduced a nonmonotonic ex-
tension of the logic ALC plus T based on a minimal model semantics. Intuitively, the
idea is to restrict our consideration to models that maximize typical instances of a con-
cept: more in detail, we introduce a preference relation among ALC plus T models,
then we define a minimal entailment restricted to models that are minimal with respect
to such preference relation. The resulting logic, called ALC + Tmin , supports typical-
ity assumptions, so that if one knows that Roman is a kid, one can nonmonotonically
assume that he is also a typical kid and therefore that he eats chocolate. As an example,
for a TBox specified by the inclusions above, in ALC + Tmin we can infer that:
         TBox |=ALC+Tmin T(Kid u Tall ) v ChocolateEater 5
         TBox ∪ {Kid (daniel)} |=ALC+Tmin ChocolateEater (daniel )
         TBox ∪ {Kid (daniel ), ∃HasIntolerance.Lactose(daniel )} |=ALC+Tmin
 5
     Being tall is irrelevant with respect to eating chocolate or not.
      x                                  |=ALC+Tmin ¬ChocolateEater (daniel )6
      TBox ∪ {Kid (daniel ), Tall (daniel )} |=ALC+Tmin ChocolateEater (daniel )
      TBox ∪ {∃HasBrother . Kid (seth)} |=ALC+Tmin ∃ HasBrother . ChocolateEater (seth)7

In this work we focus on theorem proving for nonmonotonic extensions of DLs. We in-
troduce DysToPic, a theorem prover for preferential Description Logic ALC +Tmin .
DysToPic implements the labelled tableaux calculus for this logic introduced in [13]
performing a two-phase computation: in the first phase, candidate models falsifying
a given query are generated (complete open branches); in the second phase the mini-
mality of candidate models is checked by means of an auxiliary tableau construction.
DysToPic is a multi-engine theorem prover, whose basic idea is that the two phases
of the calculus are performed by different machines: a “master” machine M , called the
employer, executes the first phase of the tableaux calculus, whereas other computers are
used to perform the second phase on open branches detected by M . When M finds an
open branch, it invokes the second phase on the calculus on a different “slave” machine,
called worker, S1 , while M goes on performing the first phase on other branches, rather
than waiting for the result of S1 . When another open branch is detected, then another
machine S2 is involved in the procedure in order to perform the second phase of the
calculus on that branch. In this way, the second phase is performed simultaneously on
different branches, leading to a significant increase of the performances.
    Labelled tableaux calculi are implemented in Prolog, following the line of the prede-
cessor PreDeLo 1.0, introduced in [11]: DysToPic is inspired by the methodology
introduced by the system leanTAP [2], even if it does not fit its style in a rigorous man-
ner. The basic idea is that each axiom or rule of the tableaux calculi is implemented by
a Prolog clause of the program: the resulting code is therefore simple and compact.
    In general, the literature contains very few proof methods for nonmonotonic ex-
tensions of DLs. We provide some experimental results to show that the performances
of DysToPic are promising, in particular comparing them to the ones of PreDeLo
1.0. DysToPic is available for free download at:
     http://www.di.unito.it/∼pozzato/theoremprovers.html

2      The Logic ALC + Tmin
The logic ALC + Tmin is obtained by adding to the standard ALC the typicality oper-
ator T [7, 12]. The intuitive idea is that T(C) selects the typical instances of a concept
C. We can therefore distinguish between the properties that hold for all instances of
concept C (C v D), and those that only hold for the normal or typical instances of C
(T(C) v D).
    The language L of the logic is defined by distinguishing concepts and extended
concepts as follows. Given an alphabet of concept names C, of role names R, and of
individual constants O, A ∈ C and > are concepts of L; if C, D ∈ L and R ∈ R,
then C u D, C t D, ¬C, ∀R.C, ∃R.C are concepts of L. If C is a concept, then C and
T(C) are extended concepts, and all the boolean combinations of extended concepts
 6
     Giving preference to more specific information.
 7
     Minimal consequence applies to individuals not explicitly named in the ABox as well, without
     any ad-hoc mechanism.
are extended concepts of L. A KB is a pair (TBox,ABox). TBox contains inclusion
relations (subsumptions) C v D, where C is an extended concept of the form either C 0
or T(C 0 ), and D ∈ L is a concept. ABox contains expressions of the form C(a) and
R(a, b), where C ∈ L is an extended concept, R ∈ R, and a, b ∈ O.
    In order to provide a semantics to the operator T, we extend the definition of a
model used in “standard” logic ALC. The idea is that the operator T is characterized
by a set of postulates that are essentially a reformulation of the Kraus, Lehmann and
Magidor’s axioms of preferential logic P [14]. Intuitively, the assertion T(C) v D
corresponds to the conditional assertion C |∼ D of P. T has therefore all the “core”
properties of nonmonotonic reasoning as it is axiomatized by P. The idea is that there
is a global preference relation among individuals, in the sense that x < y means that x
is “more normal” than y, and that the typical members of a concept C are the minimal
elements of C with respect to this relation. In this framework, an element x ∈ ∆ is
a typical instance of some concept C if x ∈ C I and there is no element in C I more
typical than x. The typicality preference relation is partial.
Definition 1. Given an irreflexive and transitive relation < over ∆, we define M in< (S)
= {x : x ∈ S and @y ∈ S s.t. y < x}. We say that < is well-founded if and only if, for
all S ⊆ ∆, for all x ∈ S, either x ∈ M in< (S) or ∃y ∈ M in< (S) such that y < x.
Definition 2. A model of ALC + Tmin is any structure h∆, <, Ii, where: ∆ is the
domain; I is the extension function that maps each extended concept C to C I ⊆ ∆,
and each role R to a RI ⊆ ∆ × ∆; < is an irreflexive, transitive and well-founded
(Definition 1) relation over ∆. I is defined in the usual way (as for ALC) and, in
addition, (T(C))I = M in< (C I ).
Given a model M of Definition 2, I can be extended so that it assigns to each individual
a of O a distinct element aI of the domain ∆ (unique name assumption). We say that
M satisfies an inclusion C v D if C I ⊆ DI , and that M satisfies C(a) if aI ∈ C I and
R(a, b) if (aI , bI ) ∈ RI . Moreover, M satisfies TBox if it satisfies all its inclusions,
and M satisfies ABox if it satisfies all its formulas. M satisfies a KB (TBox,ABox), if
it satisfies both TBox and ABox.
     The semantics of the typicality operator can be specified by modal logic. The in-
terpretation of T can be split into two parts: for any x of the domain ∆, x ∈ (T(C))I
just in case (i) x ∈ C I , and (ii) there is no y ∈ C I such that y < x. Condition (ii) can
be represented by means of an additional modality , whose semantics is given by the
preference relation < interpreted as an accessibility relation. The interpretation of  in
M is as follows: (C)I = {x ∈ ∆ | for every y ∈ ∆, if y < x then y ∈ C I }. We
immediately get that x ∈ (T(C))I if and only if x ∈ (C u ¬C)I .
     Even if the typicality operator T itself is nonmonotonic (i.e. T(C) v E does not
imply T(C u D) v E), what is inferred from a KB can still be inferred from any
KB’ with KB ⊆ KB’. In order to perform nonmonotonic inferences, in [13] we have
strengthened the above semantics by restricting entailment to a class of minimal (or
preferred) models. Intuitively, the idea is to restrict our consideration to models that
minimize the non-typical instances of a concept.
     Given a KB, we consider a finite set LT of concepts: these are the concepts whose
non-typical instances we want to minimize. We assume that the set LT contains at least
all concepts C such that T(C) occurs in the KB or in the query F , where a query F is
either an assertion C(a) or an inclusion relation C v D. As we have just said, x ∈ C I
is typical for C if x ∈ (¬C)I . Minimizing the non-typical instances of C therefore
means to minimize the objects falsifying ¬C for C ∈ LT . Hence, for a model M =
h∆, <, Ii, we define M
                          −
                                                         I
                        LT = {(x, ¬¬C) | x 6∈ (¬C) , with x ∈ ∆, C ∈ LT }.

Definition 3 (Preferred and minimal models). Given a model M = h∆, <, Ii of a
knowledge base KB, and a model M0 = h∆0 , <0 , I 0 i of KB, we say that M is preferred
to M0 w.r.t. LT , and we write M