• Aucun résultat trouvé

Nonmonotonic Reasoning in Description Logics: Rational Closure for the ABox

N/A
N/A
Protected

Academic year: 2022

Partager "Nonmonotonic Reasoning in Description Logics: Rational Closure for the ABox"

Copied!
16
0
0

Texte intégral

(1)

Nonmonotonic Reasoning in Description Logics:

Rational Closure for the ABox

Giovanni Casini, Thomas Meyer, Kody Moodley, and Ivan Varzinczak

Centre for Artificial Intelligence Research CSIR Meraka Institute and UKZN, South Africa

{GCasini,TMeyer,KMoodley,IVarzinczak}@csir.co.za

Abstract. The introduction of defeasible reasoning in description logics has been a main research topic in the field in the last years. Despite the fact that various interesting formalizations of nonmonotonic reasoning for the TBox have been proposed, the application of such a kind of reasoning also to ABoxes is more problematic. In what follows we are going to present the adaptation for the ABox of a classical nonmonotonic form of reasoning, namely Lehmann and Magidor’s Rational Closure. We present both a procedural and a semantical characterization, and we conclude the paper with a comparison between our and other analogous proposals.

1 Introduction

In the last years it has become apparent the need for the introduction of forms of uncer- tain and non-classical reasoning in the field of formal ontologies; hence, considering the main role of description logics (DLs), endowing DLs with non-monotonic features is an important problem from the point of view of knowledge representation and reason- ing. Indeed, there have been various proposals for the introduction of non-monotonic reasoning in DLs and similarly structured logics, mostly ranging from preferential ap- proaches [8,9,10,13,18,23] to circumscription [2], amongst others [1,3,4,7,11,15].

The preferential approach, that has been formalized for the propositional languages mainly in the 90’s [20,22], turns out to be particularly promising for a number of rea- sons. Firstly, it provides a thorough analysis of the properties that any non-monotonic consequence relation considered ‘well-behaved’ is supposed to satisfy, which plays a central role in assessing how intuitive the obtained results are; secondly, it allows for many decision problems to be reduced to classical entailment checking, sometimes without blowing up the computational complexity with respect to the classical case, and, thirdly, it has a well-known connection with belief revision [16,19]. It is reason- able to expect that most of these features will transfer to extensions for DLs.

In what follows we are going to present the adaptation for the ABox of a classi- cal nonmonotonic form of reasoning, Lehmann and Magidor’s Rational Closure. Else- where [6,10] we have taken under consideration the Rational Closure of a defeasible knowledge base composed only of defeasible inclusion axioms,i.e.inclusion axioms C<Dread as ‘an object falling under the conceptCtypically falls also under the con- ceptD’, and we are going to briefly review such a procedure in the following section.

(2)

Instead, here we are going to take under consideration knowledge bases composed also of an ABoxAcontaining information about specific individuals, asC(a)(‘the individ- ualafalls under the conceptC’) orr(a, b)(the individualais connected to the individ- ualbthrough the roler): we shall present a procedure defining rational closure for the ABox, giving also a semantic characterization (Section 3). Eventually in Section 4 we shall compare the proposed procedure with other ones in the field.

2 Preliminaries

ALC language and semantics.We shall present our work for the description logic ALC, but it is adaptable also to other more expressive description logics. The language of the description logicALC is built up from a finite set ofconcept names NC and a finite set ofrole namesNRsuch thatNC∩NR =∅. A concept name is denoted byA and a role name byr. Complex concepts are denoted byC, D, . . ., and are built in the usual way according to the rule:C::=A| ¬C|CuC| ∃r.C | >. Concepts built with the constructorstand∀, as well as the concept⊥, are defined in terms of the others in the usual way. We denote the set of allALCconcepts byL.

The semantics ofALC is a standard set theoretic semantics. Aninterpretation is a structureI := h∆IIi, where∆I is a non-empty set called thedomain, and·I is an interpretation functionmapping concept namesA ∈ NC into subsetsAI of ∆I, and mapping role namesr ∈ NR into binary relations rI over∆I×∆I. Given an interpretationI = h∆IIi,·I is extended to interpret complex concepts in the fol- lowing way:(¬C)I =∆I\CI,(CuD)I =CI∩DI, and(∃r.C)I ={x∈∆I | for somey,(x, y)∈rIandy∈CI}.

GivenC, D∈ L,CvDis asubsumption statement.C≡Dis an abbreviation for bothC vDandD vC. AnALCknowledge baseKis composed by a TBoxT and an ABoxA. A TBoxT is a finite set of subsumption statements. An interpretationI satisfiesCvD(denotedICvD) if and only ifCI⊆DI.CvDis (classically) entailedby a TBoxT, denotedT |=C vD, if and only ifI C vDfor everyI such thatI E v F for allE v F ∈ T. AnABoxAis a set ofassertionsabout individuals. LetDbe a set of individuals{a, b, c, . . .}, that are interpreted inh∆IIi as elements of the domain∆I,i.e.aI ∈ ∆I. The admissible assertions inALChave the formC(a)andr(a, b), whereI C(a)if and only ifaI∈CIandI r(a, b)if and only ifhaI, bIi ∈rI.

Hence, a classicalALCknowledge baseKis composed by a finite TBoxT and a finite ABoxA(K=hA,T i), both of them possibly empty.

Rational Closure of the TBox.In order to formalize defeasible reasoning in DLs, we introduce a form of defeasible subsumption statements, indicated as C<D and read as ‘the individuals falling under the conceptC typicallyfall also under the con- ceptD’ [6,10]. Hence, adefeasible knowledge baseKis composed also by a DBoxD, a finite set of defeasible subsumption statements (K = hA,T,Di). Here we recall the procedure to formalize the Rational Closure of a set of inclusion axioms, without considering the information about the individuals,i.e.we present the procedure to de- termine the Rational Closure of a knowledge base composed only of TBox and Dbox, hT,Di.We shall indicate the inference relation corresponding to the rational closure

(3)

with`rat. The procedure below, appropriate for deciding`rat, has been originally pre- sented in [13], and the reader should look at such a paper for a better insight on the procedure.

Step 1. LetD(resp.,T) be the set containing thematerializationsof the axioms inD(resp., T),i.e.D = {¬CtD | C<D ∈ D}(resp.,T = {¬C tD | C v D ∈ T });

bymaterializationof an inclusion axiomC<D orC v D we indicate the concept that expresses in the language the same inclusion relation as the one expressed by the axiom (if an object falls underC, then it falls also underD).

We determine anexceptionality rankingof the sequents inDusingT andD. A conceptC is consideredexceptionalin a knowledge basehT,Dionly if

|=l T ul

D v ¬C.

If a conceptCis exceptional inhT,Di, also all the defeasible inclusion axioms havingC as antecedent are considered exceptional. Given a knowledge basehT,Di, we can define a functionEthat gives back the exceptional axioms inD(E(D) = {C<D | |= dT u dD v ¬C}).1GivenhT,Diwe can construct a sequenceE0,E1, . . .starting withE0=D and settingEi+1 = E(Ei). SinceDis a finite set, the construction will terminate with a (empty or not-empty) fixed point ofE.

Step 2 We define a ranking functionrthat associates to every axiom inDa number, representing its level of exceptionality:

r(C<D) =

i ifC<D∈ EiandC<D /∈ Ei+1

∞ifC<D∈ Eifor everyi .

We indicate withDithe set of the defeasible axioms havingias ranking value. Hence a setD is partitioned into the setsD1, . . . ,Dn,D, for somen, and withDpossibly empty. It is possible to define a new knowledge basehT0,D0i, withT0=T ∪{CvD|C<D∈ D} andD0 = D/D. The only difference betweenhT,DiandhT0,D0iis that the classical knowledge that was ‘implicitly contained’ inDis now moved into T, and the setD0 is partitioned by the ranking functionrintoD1, . . . ,Dn, without any axiom with∞as ranking value. We shall indicate withδithedefault conceptobtained from the conjunction of all the materializations of rankior higher (δi=d

(S

i≤j≤nDj)).

Step 3. Now, given a knowledge basehT,Diwe can define the inference relation`rat.

Definition 1. hT,Di `ratC<Diff|=dT0iuCvD, whereδiis the first element of the sequencehδ0, . . . , δnis.t.6|=d

T0iv ¬C; if there is no such element,hT,Di `rat

C<Diff|=dT0uCvD. Moreover,hT,Di `ratCvDiffhT,Di `ratCu ¬D<⊥.

The inference relation`ratsatisfies the DL-translation of the properties character- izing rational consequence relations, and, since the entire procedure consists of a finite number of classical decisions, it is implementable using already existing DL reasoners, and the complexity of the decision problem does not increase w.r.t. the classical one (i.e., the it is ExpTime-complete forALC). The semantic characterization presented here below strengthens the claim that the above procedure is the DL-correspondent of rational closure.

1This is the only difference between the present procedure and the original one in [13]. The lat- ter is a syntactical procedure still lacking of a semantics, and the condition for the exception- ality of a conceptCisT ∪ Dv|=> v ¬C(Dv={CvD|C<D∈ D}), while the se- mantics presented in what follows suggests that the correct condition is|=dT udD v ¬C.

(4)

Semantics. We can give a semantic characterization of the Rational Closure for ALCusing the notion ofminimal ranked model, defined for the propositional logic by Giordano et al. [17], and here we briefly present a reformulation forALC. More details about the preferential and ranked models forALC and the notion ofminimal ranked entailmentcan be found in [6].

First of all, we need to define the notion of ranked interpretation, that in turn is based on the notion of modular order. Given a setX,≺ ⊆X×Xis a modular order if and only if there is a ranking functionrk:X −→Ns.t. for everyx, y∈X,x≺yiff rk(x)<rk(y).

Definition 2 (Ranked Interpretation). A ranked interpretation is a structure R = h∆RR,≺Ri, whereh∆RRiis a DL interpretation (which we denote byIR), and≺R is a modular order on ∆R satisfying the smoothness condition (for every C ∈ L, minR(CR)6=∅).

As in the propositional case [20], the order≺Ris read as atypicality order[3,4,5], in this case defined over the objects in the domain [8],i.e., if we have that, fora, b∈∆R, a ≺R bis inR, thenais considered a more typical object thanbin the situation de- picted byR; for each conceptC, the setminR(CR) ={x∈CR | there is noy ∈ CRs.t.y ≺R x}contains the most typical elements ofC inR. A ranked interpreta- tionR=h∆RR,≺Risatisfies a defeasible subsumption statementC<D, denoted byR C<D, if and only ifminR(CR) ⊆ DR, withCR andDR being the in- terpretations inRof the conceptsCandD. A knowledge basehT,Diisconsistentif and only if there is a ranked model that satisfies all the classical inclusion axioms inT and all the defeasible inclusion axioms inD. Given a knowledge basehT,Di, consider the ranked models satisfyinghT,Di; in order to define the consequence relation we are interested in, we do not take all of them under consideration, but we select just some of them, respecting the following procedure.

For every ranked modelR, we can define a functionhRthat, given an object in∆R, gives back itsheightinR,i.e.,hR(x)is the length of the longest chainx0R, . . . ,≺R x, wherex0 ∈ minR(∆R); we shall consider only thefinitely ranked models, that is, those models in which there is a maximal value for the height of the objects in the domain (actually, we can prove that each ranked model have a preferentially equivalent model that is finitely ranked).

First of all, we need to define a notion ofD-compatibility of an interpretation w.r.t.

a knowledge basehT,Di. We indicate with|=Rthe consequence relation defined in the classical way usingallthe ranked models ofhT,Di, that is,hT,Di |=R C<Dif and only ifC<Dis satisfied in all the ranked models satisfyinghT,Di.

Definition 3. For an interpretation I and an x ∈ ∆I, the tuple hI, xi is hT,Di- compatible if and only ifhT,Di 6|=R C<⊥for everyC∈ Ls.t.x∈CI.Iis said to behT,Di-compatible if and only if for everyhT,Di-compatible tuplehJ, yithere is anxin∆Isuch that, for everyC∈ L,x∈CIiffy ∈CJ. A ranked interpretationR ishT,Di-compatible if and only if the classical interpretationIRassociated with it is hT,Di-compatible.

Given a classical interpretationI, we consider the setRhI,hT,Diiof all the ranked interpretations that agree onI and satisfyhT,Di. IfI ishT,Di-compatible, also are

(5)

the interpretations inRhI,hT,Dii. We take under consideration as candidate models for our consequence relation exactly the interpretations in all thehT,Di-compatible sets RhI,hT,Dii.

Hence, given a setRhI,hT,Diicomposed ofhT,Di-compatible and finitely ranked interpretations, we define an order≤Ion such interpretations s.t., given two interpreta- tionsR,R0 ∈RhI,hT,Dii,R ≤IR0iff for everyx∈∆IhR(x)≤hR0(x). Based on such an ordering of the interpretations, we can define the consequence relationR. Definition 4. For a consistent knowledge basehT,Di,hT,DiR C<Dif and only if R C<D, whereRis the≤I-minimum ranked interpretation of somehT,Di- compatible interpretationI. IfhT,Diis unsatisfiable then every defeasible subsump- tion statementC<Dis in the ranked entailment ofhT,Di.

Such a consequence relation corresponds to`rat.

Theorem 1. For every knowledge basehT,Diand every defeasible subsumption rela- tionC<D,hT,Di `ratC<DiffhT,DiRC<D.

3 Rational Extensions of an ABox

Here we consider the extension of the above procedure to knowledge bases contain- ing also an ABox: given information about particular individuals, we want to derive whatpresumablyholds about such individuals. Our knowledge base will have a classi- cal ABox, composed of concept and role assertions, but, using the defeasible inclusion axioms inD, we will be able to derive defeasible informations about the individuals: we shall indicate with the expression ‘·C(a)’ the conclusion that the individualapresum- ablyfalls under the conceptC. A first attempt for this kind of procedure is presented in [13], and a similar version of the following procedure, specified for a consequence relation different from rational closure, appears in another paper [12], but they both lack of a semantical characterization and the properties of the inference relation are not properly investigated.

The procedure for the ABox is built on top of the procedure for the DBox. Hence we work with a knowledge basehA,T,Di, and from now we assume that we have already applied the above procedure to the knowledge basehT,Di, that is, we assume that in the pairhT,Diall the strict information has already been moved into the TBoxT,i.e., inD, Dis empty and the set has already been partitioned intoD0, . . . ,Dn, for some finite n. The basic idea of the following procedure is to consider each individual named in the ABox as much typical as possible, that is, to associate to it all the possible defeasible information that is consistent with the rest of the knowledge base. In order to apply the defeasible information locally to each individual, we encode such information using the materializations of the inclusion axioms,i.e.the setsDiand the default conceptsδi.

Hence, givenD =S{D0, . . . ,Dn}, we end up with the sequence ofdefault con- cepts∆=hδ0, . . . , δni, as specified in Section 2 at the Step 2 of the Rational Closure procedure. It is easy to see thatδi |=δi+1 for1 ≤i ≤ n, and we want to be able to associate to each individuala∈ O(withObeing the set of the individuals named in the ABox) the strongest formulaδithat is consistent with the knowledge base. In such

(6)

a way we define a new knowledge baseKe = hAD,T i, that we call arational ABox extensionof the knowledge basehA,T,Di.

Definition 5 (Rational ABox extension). Given a knowledge base K = hA,T,Di (withhT,Dialready modified in such a way thatD=∅), a knowledge basehAD,T i is arational extensionofK=hA,T,Diiff

– hAD,T iis classically consistent andA ⊆ AD.

– For anya∈ O,C(a)∈ AD\ AiffC=δifor someiand for everyδh,h < i, hT,AD∪ {δh(a)}i |=⊥

The above definition identifies the extensions of the original ABoxAs.t. to every individual is associated all the defeasible information that is consistent with the rest of the knowledge base. Using such an approach dealing with the individuals, we remain consistent with the idea behind rational closure: the default information still respects the exceptionality ranking, and we consider each individual as much typical as possible, preserving the general consistency. Also the semantic characterization that is presented here will confirm that the notion of rational ABox extension is consistent with the basic idea of rational closure, that is, ‘pushing’ the individuals as lower as possible in the model. Still, the main problem is that, since the individuals can be related to each other through roles, the possibility of associating a default concept to an individual is often influenced by the default information associated to other individuals, as shown in the following example.

Example 1. ConsiderK = hA,Di, with A = {r(a, b)} andD = D0 = {><Au

∀R.¬A}(hence we have∆=hδ0i=hAu ∀r.¬Ai). If we associateδ0toa, we obtain

¬A(b)and we cannot associateδ0tob; on the other hand, if we applyδ0tob, we derive A(b)and we are not anymore able to associateδ0toa. Hence, we definetwopossible

rational extensions ofK. 2

This implies that, given a knowledge basehA,T,Di, even if the rational closure ofhT,Diis always unique there is the possibility that we have more than one rational ABox extensions.

Once we have defined the sequence of default concepts∆fromD, a simple procedure to obtain all the possible extensions of a knowledge basehA,T,Di, withOthe set of the individuals named inA, is the following:

Definition 6. [Procedure for rational ABox extensions]

– Consider the setSof all the linear orders of the individuals inO;

– For eachs=ha1, . . . , amiinSdo:

• Setj= 1

• SetAD=A

• Repeat untilj=m+ 1:

∗ Find the first defaultδi ∈∆such thathAD∪ {δi(aj)},T }i 6|=> v ⊥.

∗ AD =AD∪ {δi(aj)}.

∗ j =j+ 1

(7)

• returnhAsD,T i

Hence, the procedure returns a knowledge basehAsD,T ifor eachs∈S. Now, the following can be proven:

Proposition 1. Given a knowledge baseK =hA,T,Diand a linear order ofO, the above procedure determines a rational ABox extension ofK. Contrariwise, every ratio- nal ABox extension ofKcorresponds to the knowledge base generated by some linear order of the individuals inO.

Now, if we fix a priori a linear orderson the individuals, we can say that·C(a)is adefeasible consequenceofK=hA,T,Diw.r.t. the orders, written ‘K `sr·C(a)’, iff hAsD,T i |=C(a), wherehAsD,T iis the rational extension generated fromKusing the orders. The interesting point of such a consequence relation is that it still satisfies the properties of arationalconsequence relation in the following way.

Proposition 2. GivenKand a linear ordersof the individuals inK, the consequence relation`srsatisfies the following properties:

(REFDL) hA,T, ∆i `sr·C(a) for everyC(a)∈ A Reflexivity

(LLEDL) hA ∪ {D(b)},T,Di `sr·C(a) DE

hA ∪ {E(b)},T,Di `sr·C(a) Left Logical Equivalence

(RWDL) hA,T,Di `sr·C(a) CvD

hA,T,Di `sr·D(a) Right Weakening

(CTDL) hA ∪ {D(b)},T,Di `sr·C(a) hA,T,Di `sr·D(b)

hA,T,Di `sr·C(a) Cautious Transitivity (Cut)

(CMDL) hA,T,Di `sr·C(a) hA,T,Di `sr·D(b)

hA ∪ {D(b)},T,Di `sr·C(a) Cautious Monotonicity

(ORDL) hA ∪ {D(b)},T,Di `sr·C(a) hA ∪ {E(b)},T,Di `sr·C(a)

hA ∪ {DtE(b)},T, ∆i `sr·C(a) Left Disjunction

(RMDL) hA,T,Di `sr·C(a) hA,T,Di 6`sr·¬D(b)

hA ∪ {D(b)},T,Di `sr·C(a) Rational Monotonicity

For the explanation of the original propositional rules and their meaning, check the paper by Kraus et al. [20], while, about the DL case, see [6].

Example 2. We define a DL-variation of the penguin example. LetK = {A,T,D}

be a knowledge base whereA={P(a), B(b), Hunt(a, c), Hunt(b, c)},T = {P v B, I v ¬F i},D={B<F, P<¬F, B<∀Hunt.I, P<∀Hunt.F i}, where you can readBasBird,PasPenguin,F asFlying,IasInsect,F iasFish, andHuntashunts.

FromDwe obtain the default conceptsδ0 = (¬BtF)u(¬Bt ∀Hunt.I)u(¬Pt

¬F)u(¬Pt ∀Hunt.F i)andδ1= (¬Pt ¬F)u(¬Pt ∀Hunt.F i).

Applying our procedure we can identify two possible rational ABox extensions of K: one in which we associate the default concepts first toaand then tob, and the second one in which we considerbbeforea. In the former case we associate toathe default δ1, and we derive thatais a typical penguin that hunts fishes (hence we can conclude F i(c)) and does not fly, while, having concluded thatcis a fish, we cannot associate anymore δ0 tob, and we have to treat b as an atypical bird, and we are not able to

(8)

associate tocthe typical properties of birds,i.e., that it flies and hunts insects. On the other hand, if we considerbbeforea, we associateδ0tob, hence consideringba typical bird that flies and hunts insects, but, beingcan insect, we cannot associate with it the conceptδ1, and we have to consideraan atypical penguin. 2 From the point of view of the computational complexity, the decision problem w.r.t.

`srhas the same complexity result of the classical ABox consistency decision problem inALC[14].

Proposition 3. DecidinghA,T,Di `sr ·C(a)inALC is an ExpTime-complete prob- lem.

In the presence of multiple rational ABox extensions, we can also define the infer- ence relation `r, a more conservative inference relation independent from any order on the individuals, that corresponds to the intersection of all the inference relations`sr modeling a rational extension.

`r=\

{`sr|sis a linear order on the elements ofO}

However, there is the possibility that we lose the property of rational monotonicity.

Proposition 4. The inference relation`rdoes not always satisfy(RMDL).

The computational complexity of`ris the same as`sr,i.e., the decision procedure is ExpTime-complete: assuming that the number of individuals named in the ABox is n, we have to decide`sr for each possible sequencessdefined on the nindividuals.

That is, in the worst case we need to do n!ExpTime-complete decision procedures, that, again, gives back an ExpTime-complete decision procedure2.

Yet, we have still to understand if there is the possibility of a decision procedure characterized by a lower computational complexity. Notwithstanding, in many (proba- bly most) of the real-world cases, a knowledge base would have a single rational ABox extension, and in such cases on one hand(RMDL)is still valid, and on the other hand the decision problem remains ExpTime-complete. To check whether a knowledge base hA,T,Dihas a single rational ABox extension, it is sufficient to associate to each in- dividual inO the strongest δi modulo consistency w.r.thA,T,Di, exactly as in the procedure in Definition 6, but without adding at every step the new default information toA. At the end, add to the knowledge base the default information associated to each individual inA. If the new knowledge base is consistent, that is the only rational ABox extension ofhA,T,Di.

Proposition 5. In the presence of a knowledge base hA,T,Dithat has a single ra- tional ABox extension, checking the uniqueness of the rational ABox extension and whetherhA,T,Di `sr·C(a)is an ExpTime-complete problem inALC.

Example 3. Consider the KB in Example 2, where inAHunt(b, c)is replaced with Hunt(b, d). Then, whatever is the order on the individuals, we obtain the following association between the default formulae and the individuals:δ1(a),δ0(b),δ0(c), and δ0(d). Using the information in these defaults, we obtain a unique rational ABox exten-

sion. 2

2Seee.g., http://lifecs.likai.org/2012/06/better-upper-bound-for-factorial.html.

(9)

Semantics. Extending theminimal ranked modelapproach also to the ABoxes we can characterize from the semantical point of view also the procedure for the rational ABox extension we have just defined.

Consider a knowledge basehA,T,Di, where the tuplehT,Di has already been transformed in such a way that all the strict knowledge is inT, andDis partitioned into D1, . . . ,Dn. First of all, we can check if it is a consistent knowledge base by using classical reasoning. A knowledge basehA,T,Diis consistent if there is a ranked interpretation that satisfies all the assertions inA, all the classical subsumption axioms inT and all the defeasible subsumption axioms inD.

Lemma 1. A knowledge basehA,T,Diis consistent iffhA,T i 6|=⊥and6|= d T u dD v ⊥.

Now that we have a method to decide for the consistency of a knowledge base hA,T,Di, we can prove that the consistency ofhA,T,Diguarantees the existence of a minimal ranked model (see Definition 4) ofhT,DisatisfyingA.

Lemma 2. LethA,T,Dibe a consistent knowledge base. Then there is at least a min- imal ranked model ofhT,DisatisfyingA.

Since the consistency of a knowledge basehA,T,Diimplies that there is at least a minimal ranked model ofhT,Dithat satisfies the ABoxA, we can define a notion of minimal model in the presence also of an ABox (again,Ois the set of the individuals named inA). We define an order≤Abetween the minimal models ofhT,Disatisfying As.t., givenR={∆,≺,·R}andR0 ={∆,≺0R}(note thatIR=IR0),R ≤AR0 iffhR(aI)≤hR0(aI0)for each objectainO. The minimal ABox models ofhA,T,Di are the minimal elements of the order≤A.

Definition 7 (Minimal ABox model).R={∆,≺,·R}is aminimal ABox modelof a knowledge basehA,T,Diiff it is a minimal ranked model ofhT,Dithat satisfiesA, and there is not a minimal ranked modelR0 ={∆,≺0R}ofhT,Dithat satisfiesA s.t.R0ARandR 6≤AR0.

Given the setMhA,T,Di of the minimal ABox models ofhA,T,Di, we indicate withMhA,Th ,Di the subclass ofMhA,T,Di composed by the elements ofMhA,T,Di in which each elementaofOhas a specific heighth(a) =n. We define a consequence relation|=h as

hA,T,Di |=h C(a)iffMC(a)for eachM ∈MhA,Th ,Di

and we indicate with|=the consequence relation defined by all the minimal ABox models ofhA,T,Di.

hA,T,Di |=C(a)iffMC(a)for eachM ∈MhA,T,Di,

There is a correspondence between the inference relations`srand`rand, respec- tively, the consequence relations|=h and|=.

(10)

Proposition 6. Given a knowledge basehA,T,Di, each inference relation`srdefined by a sequence son the elements of O corresponds to the consequence relation |=h for someh, and the other way around. The inference relation`r, corresponding to the intersection of all`srgenerated byhA,T,Di, corresponds to the consequence relation

|=.

Queries. Assume we want to know if a particular individualapresumably falls under a conceptC, and we want to draw the safest possible conclusion. In the presence of multiple acceptable extensions, the classical solution is to use askeptical approach, i.e.to use the inference relation`r, corresponding to the intersection of all the inference relations associated to each possible orderingsof the individuals appearing inA.

As we have seen above, in case of multiple rational extensions the computational of the`rdecision problem rises w.r.t the classical ALC decision problem. However, in case of multiple extensions,the amount of default information associable to an indi- vidualacan be influenced only by the individuals related to it by means of a role: it is immediate to see that if there is no role-connection in the ABox between two indi- vidualsaandb, then the information that is associated to adoes not influence at all the amount of defeasible information that we can associate tob. Hence, we can ease the decisions w.r.t. the ABox introducing the notion ofcluster,i.e., a set of individuals named in the ABox that are linked by means of a sequence of role connections. To do so, given an ABoxA, we indicate withQthe symmetric and transitive closure of all the roles in our vocabulary,i.e., the symmetric and transitive closure ofS

R, and withQ the set of the pairs of individuals named inAthat are connected byQ.

Definition 8 (Cluster).DefineQas the symmetric and transitive closure ofS

R. Given an individuala∈ O, we call theclusterofathe set[a]of the individuals connected to athroughQ.

[a] ={b∈ O |Q(a, b)}

Hence, in order to know what we can presumably conclude abouta, it is sufficient to determine`srw.r.t. each sequencesof individuals in[a]. LetA[a]be the ABox obtained restrictingAto the statements containing individuals in[a]; the query·C(a)is clearly decidable using onlyA[a].

Proposition 7. hA,T,Di `r ·C(a)iffhA[a],T,Di `sr ·C(a)for every orderingsof the individuals inA[a].

If we have a query about an individualas.t.ais not named in the ABox (a6∈ O), we do not have any constraints defined in the ABox abouta, we only know>(a); hence, for each individual not appearing in the ABox, we can associate with it the strongest default concept consistent withT, that isδ0: for anyas.t.a 6∈ O, we can derive that presumablyC(a)holds iffhAa,T i |=C(a), whereAa=A ∪ {δ0(a)}.

4 Related Work

Two main proposals in the field modeling defeasible reasoning in DLs, and specifically in ALC or analogous languages, and dealing also with the ABox are the works by Bonatti et al. [2] and by Giordano et al. [18].

(11)

The proposal by Bonatti et al. [2] is based on circumscription. From the point of view of the quality of the inferences, in such a proposal is more difficult to draw the expected conclusions. For example, assume that our knowledge base contains the infor- mation that mammals typically live on land, but that whales are abnormal mammals that do not live on the land, and the ABox contains the informationM ammalu¬W hale(a).

Not knowing anything else about the individuala, we would like our reasoning system to assume that we are dealing with a typical mammal (since, moreover, it is specified that ais not a whale) and hence being able to derive thatalives on the land, but in Bonatti’s proposals the conclusions we can draw change w.r.t. which concepts the user decides to keepfixedorvarying(a non-trivial choice), and the results can be that we are not able to derive∃Habitat.Land(a), that we are able to derive it, or we can even derive that whales do not exist ([2], Section 2.1). In our proposal we can formalize the problem with a knowledge basehA,T,DiwithA={M ammal(a)}(we do not need to spec- ify that it is not a whale),T = {W hale v M ammal, W hale v6 ∃Habitat.Land}

andD = {M ammal<∃Habitat.Land}; without needing any kind of choice from the user, the system can derive automatically·∃Habitat.Land(a). Moreover, we have seen that in our procedure the computational cost of our procedure is exponential, while in the circumscription case, for languages analogous toALC, the complexity of the in- stance problem is co-NExpNP([2, Section 4.1.1]).

Closer to our approach is the work by Giordano et al. [18], that is based too on a preferential approach. The conclusions that we can derive using the logicALC+Tmin

are intuitive, but the complexity of the decision problem for the ABox is co-NExpNP ([18, Theorem 13]), and the procedure cannot be reduced to classical entailment.

5 Conclusions

We have started from a previous proposal that models Lehmann and Magidor’s Ratio- nal Closure for DLs allowing to reason about defeasible subsumption axioms, and on that we have built a procedure that extends such a kind of reasoning also for ABox information; we have characterized such a procedure also from the semantical point of view. Such a procedure allows to derive intuitive conclusions, the decision procedures are entirely based on a series of classical decision steps. We are actually preparing an implementation of the algorithm, and we are going to define analogous procedures also for other consequence relations, still based on Rational Closure but inferentially more powerful, as Lehmann’s Lexicographic Closure [21].

Acknowledgements

This work is based upon research supported by the National Research Foundation (NRF). Any opinion, findings and conclusions or recommendations expressed in this material are those of the authors and therefore the NRF do not accept any liability in regard thereto. This work was partially funded by Project # 247601, Net2: Network for Enabling Networked Knowledge, from the FP7-PEOPLE- 2009-IRSES call.

(12)

References

1. F. Baader and B. Hollunder. How to prefer more specific defaults in terminological default logic. InProc. IJCAI, pages 669–674. Morgan Kaufmann Publishers, 1993.

2. P. Bonatti, C. Lutz, and F. Wolter. The complexity of circumscription in description logic.

Journal of Artificial Intelligence Research, 35:717–773, 2009.

3. R. Booth, T. Meyer, and I. Varzinczak. PTL: A propositional typicality logic. InProceedings of the 13th European Conference on Logics in Artificial Intelligence (JELIA), number 7519 in LNCS, pages 107–119. Springer, 2012.

4. R. Booth, T. Meyer, and I. Varzinczak. A propositional typicality logic for extending rational consequence. Accepted, 2013.

5. C. Boutilier. Conditional logics of normality: A modal approach. Artificial Intelligence, 68(1):87–154, 1994.

6. K. Britz, G. Casini, T. Meyer, K. Moodley, and I. Varzinczak. Ordered interpretations and entailment for defeasible description logics. Technical report, CAIR, CSIR Meraka and UKZN, South Africa, 2013.

7. K. Britz, G. Casini, T. Meyer, and I. Varzinczak. Preferential role restrictions. InProceedings of the 26th International Workshop on Description Logics, 2013.

8. K. Britz, J. Heidema, and T. Meyer. Semantic preferential subsumption. InProc. KR, pages 476–484. AAAI Press/MIT Press, 2008.

9. K. Britz, T. Meyer, and I. Varzinczak. Preferential reasoning for modal logics. Electronic Notes in Theoretical Computer Science, 278:55–69, 2011.

10. K. Britz, T. Meyer, and I. Varzinczak. Semantic foundation for preferential description log- ics. InProc. Australasian Joint Conference on AI, number 7106 in LNAI, pages 491–500.

Springer, 2011.

11. K. Britz and I. Varzinczak. Defeasible modalities. InProceedings of the 14th Conference on Theoretical Aspects of Rationality and Knowledge (TARK), pages 49–60, 2013.

12. G. Casini and U. Straccia. Defeasible inheritance-based description logics.Submitted work.

13. G. Casini and U. Straccia. Rational closure for defeasible description logics. InProc. JELIA, number 6341 in LNCS, pages 77–90. Springer-Verlag, 2010.

14. F.M. Donini and F. Massacci. EXPTIMEtableaux forALC. Artificial Intelligence, 124:87–

138, 2000.

15. F.M. Donini, D. Nardi, and R. Rosati. Description logics of minimal knowledge and negation as failure.ACM Transactions on Computational Logic, 3(2):177–225, 2002.

16. P. G¨ardenfors and D. Makinson. Nonmonotonic inference based on expectations. Artificial Intelligence, 65(2):197–245, 1994.

17. L. Giordano, N. Olivetti, V. Gliozzi, and G.L. Pozzato. A minimal model semantics for nonmonotonic reasoning. InProc. JELIA, number 7519 in LNCS, pages 228–241. Springer, 2012.

18. L. Giordano, N. Olivetti, V. Gliozzi, and G.L. Pozzato. A non-monotonic description logic for reasoning about typicality. Artificial Intelligence, 195:165202, 2012.

19. S.O. Hansson. A Textbook of Belief Dynamics: Theory Change and Database Updating.

Kluwer Academic Publishers, 1999.

20. S. Kraus, D. Lehmann, and M. Magidor. Nonmonotonic reasoning, preferential models and cumulative logics.Artificial Intelligence, 44:167–207, 1990.

21. D. Lehmann. Another perspective on default reasoning.Annals of Mathematics and Artificial Intelligence, 15(1):61–82, 1995.

22. D. Lehmann and M. Magidor. What does a conditional knowledge base entail? Artificial Intelligence, 55:1–60, 1992.

23. J. Quantz. A preference semantics for defaults in terminological logics. InProc. KR, pages 294–305, 1992.

(13)

A Proofs.

Proposition 1.Given a knowledge baseK = hA,T,Diand a linear order ofO, the above procedure determines a rational ABox extension ofK. Contrariwise, every ratio- nal ABox extension ofKcorresponds to the knowledge base generated by some linear order of the individuals inO.

Proof. The first statement is quite immediate.

For the second statement, assume that there is a rational extensionhA0,T iofhA,T,Di that cannot be generated by any sequencesof the elements ofO.A0associates to every individualxa default concept from∆, that we indicate asδx.

Assume we have a rational extensionhAD,T iofhA,T,Dithat can be generated using a sequence of elements ofO. The following procedure allows to define a sequence sof the elements ofOs.t.hAD,T ican be generated usings,i.e.,hAD,T i=hAsD,T i.

Take each element ofOand associate to it the strongest default concept in∆consis- tent with the knowledge basehA,T i(call itγx). Look for an individualxs.t.δxx, and considerxthe first element of the sequences. UpdateAwithδx(x), and repeat the procedure, until every individual has been associated to a default formula. With this procedure we can generate a sequence over the dominion of the individuals that generateshAD,T ifromhA,T,Di.

Since there is no sequencesthat can generatehA0,T i, the above procedure has to fail, that is, at some point it will not be possible to associate to anyxa defaultγxs.t.

δx = γx. That means that, for all the remainingx,δx 6= γx; for each suchx, either δxγxorγxδx. The first case is not possible, sincehA0,T iwould be inconsistent (γx has to be a maximally consistent default). Henceγx δxandδx 6= γx for all the remainingx. In such a case,hA0,T iwould not be a rational extension ofhAD,T i, since we could have another consistent model with stronger defaults associated to some individuals.

Proposition 2.GivenKand a linear ordersof the individuals inK, the consequence relation`srsatisfies the following properties:

(REFDL) hA,T, ∆i `sr·C(a) for everyC(a)∈ A Reflexivity

(LLEDL) hA ∪ {D(b)},T,Di `sr·C(a) DE

hA ∪ {E(b)},T,Di `sr·C(a) Left Logical Equivalence

(RWDL) hA,T,Di `sr·C(a) CvD

hA,T,Di `sr·D(a) Right Weakening

(CTDL) hA ∪ {D(b)},T,Di `sr·C(a) hA,T,Di `sr·D(b)

hA,T,Di `sr·C(a) Cautious Transitivity (Cut)

(CMDL) hA,T,Di `sr·C(a) hA,T,Di `sr·D(b)

hA ∪ {D(b)},T,Di `sr·C(a) Cautious Monotonicity

(ORDL) hA ∪ {D(b)},T,Di `sr·C(a) hA ∪ {E(b)},T,Di `sr·C(a)

hA ∪ {DtE(b)},T, ∆i `sr·C(a) Left Disjunction (RMDL) hA,T,Di `sr·C(a) hA,T,Di 6`sr·¬D(b)

hA ∪ {D(b)},T,Di `sr·C(a) Rational Monotonicity

(14)

Proof. ForREFDL,LLEDLandRWDLthe proof is quite immediate. ForCTDLand CMDL, assumehA,T,Di `srD(y), that ishAsD,T iD(y). Hence, for everyδi∈∆ and every individualz∈ O,δi(z)is consistent withhA,T iiff it is consistent withhA ∪ {D(y)},T i, and the procedure associates to each individual the same default formula either we start withAor withA∪{D(y)}. So we have thathAsD∪{D(y)},T i=h(A∪

{D(y)})sD,T iandhAsD∪{D(y)},T iC(x)iffh(A∪{D(y)})sD,T iC(x). Since satisfiesCT andCM, we have thathAsD,T iC(x)iffh(A ∪ {D(y)})sD,T iC(x), that is,hA,T,Di `sr·C(x)iffhA ∪ {D(y)},T,Di `sr·C(x).

ForORDL, assume thathA ∪ {D(y)},T,Di `sr ·C(x),hA ∪ {E(y)},T,Di `sr

·C(x), and thatyis in thenthposition in the sequences. So, for the firstn−1elements of sthe association with the default-formulae is the same in both the models. Fory, assume that the procedure assigns δi(y)in case D(y), andδj(y) in caseE(y). We can haveδi = δj, δi v δj, or δj v δi. In the first case the procedure for the assignment of the defaults continues in the same way in both the knowledge bases, and is the same also if we haveDtE(y), that is,hA ∪ {D(y)},T,Di,hA ∪ {E(y)},T,Di, andhA ∪ {DtE(y)},T,Diare completed exactly with the same defaults, obtaining, respectively, the ABoxes(A ∪ {D(y)})sD = A0∪ {D(y)},(A ∪ {E(y)})sD,= A0∪ {E(y)}, and (A ∪ {DtE(y)})sD = A0∪ {DtE(y)}, for some ABoxA0. So we have thatA0∪ {D(y)}C(x)andA0∪ {E(y)}C(x), and, sincesatisfies OR, we obtainA0∪ {DtE(y)}C(x), that is,h(A∪ {y:DtE})sD,T iC(x). Ifδiδj

andDtE(y), the procedure associates toythe strongest of the two defaults, that is,δi. Sinceδiis not consistent withE(y), in every following consistency check the procedure will be forced to consider thatD(y)holds, and the assignment of the defaults to the individuals will proceed as in the case whereD(y)holds, andhA ∪ {DtE(y)},T,Di will entail the same formulae as hA ∪ {D(y)},T,Di. Analogously, if δj δi, the default-assumption extension ofhA ∪ {DtE(y)},T,Diwill correspond to the one of hA ∪ {E(y)},T,Di.

Finally, forRMDL,D(y)is consistent withhAsD,T i, so the presence ofD(y)in the knowledge base does not influence the association of the defaults to the individuals, and AsD ⊆(A ∪ {D(y)})sD. Eventually,hAsD,T iC(x)impliesh(A ∪ {D(y)})sD,T i C(x), i.e.hA ∪ {y:D},T,Di `sr·C(x).

Proposition 3. Deciding hA,T,Di `sr ·C(a) inALC is an ExpTime-complete problem.

Proof. ABox decision inALC is ExpTime-complete.hA,T,Diis a knowledge base s.t.Dis partitioned intoD0, . . . ,Dnand in the ABox are namedmindividuals (|O|= m). Given a sequencesof the individuals inO, to decide ifhA,T,Di `sr ·C(a)we need to do for each individual inOat mostnABox consistency checks to decide which default we can associate to that particular individual, and, eventually, once we have associated to each individual the strongest default possible, we have to check ifC(a) is a classical consequence of the rational ABox extension. Hence, in the worst case we need(n∗m) + 1classicalALCdecision steps, hence the complexity remains ExpTime- complete.

Proposition 4.The inference relation`rdoes not satisfy(RMDL).

(15)

Proof. Consider the knowledge basehA,Dis.t.A={r(a, b)}andD=D0∪ D1, with D0={><Au ∀r.¬A,><B}andD1={¬A<¬B,¬∀r.¬A<B}. We can define two sequences on the individuals,s =ha, biands0 =hb, ai, each of them defining a different rational extension, with`r=`sr∩ `sr0. We have thathA,Di `rB(a), since in both the extensionsB(a)holds (in`srbecause of the axiom><B and in`sr0 for the axiom¬∀r.¬A<B) while we havehA,Di 6`rA(a), sincehA,Di 6`sr0 A(a). However, hA ∪ {¬A(a)},Di 6`rB(a), sincehA ∪ {¬A(a)},Di 6`srB(a).

Proposition 5.In the presence of a knowledge basehA,T,Dithat has a single ra- tional ABox extension, checking the unicity of the rational ABox extension and whether hA,T,Di `sr·C(a)is an ExpTime-complete problem inALC.

Proof. It works as in Proposition 4. We need at worstn∗mclassical decision procedures to associate to each individual a default concept, then another one to check the overall consistency of the new knowledge base, and eventually, in case it is consistent, a last one to decide whetherC(a)is a classical consequence of the rational ABox extension just defined. All in all,(n∗m) + 2ExpTime-complete decision procedures.

Lemma 1.A knowledge base hA,T,Diis consistent iff hA,T i 6|= > v ⊥and 6|= dT ud

D v ⊥.

Proof. ⇒:AssumehA,T,Diis consistent i.e. there is a ranked modelR={∆,≺,·R} satisfyinghA,T,Di. Moreover, assume thathA,T i |=> v ⊥. Clearly cannot be the case.

Then assume thathA,T i 6|=> v ⊥but|= d T ud

D v ⊥. Hence there is no objectxin∆s.t.d

T ud

D(x)is satisfied. Consideroto be one of the minimal objects inRw.r.t.≺: sinceR ¬(d

T ud

D)(o)there is whether a strict inclusion axiom C v D ∈ T s.t. Cu ¬D(o)(impossible, sinceRis a model ofT) or a defeasible inclusion axiomC<D ∈ Ds.t.Cu ¬D(o), and, sinceois one of the most preferred objects inR,Rcannot be a model ofhA,T,Di.

⇐:AssumehA,T i 6|=> v ⊥and6|=d T ud

D v ⊥. Then there can be an object osatisfyingd

T ud

D, and we construct a model ofhA,T,Diusing such an object in the following way. SincehA,T i 6|=> v ⊥,hA,T ihas a model; add to such a model an objectos.t.d

T ud

D(o), and add also all the objects which existence is forced by o, and indicate withOthe set of all the objects in such a model; imposeo≺afor every a∈ O/{o}.

Now consider all the axiomsC<DinD. For each of them, do the following. If CuD(o), do nothing, else check if there is some individual satisfyingCu ¬D. If there is no such individual, do nothing, otherwise create a new individualo0s.t.CuD(o0), and dT ud

D(o0). The existence of an object satisfyingCuDis guaranteed: if6|=Cv ⊥ and6|=¬CtDv ⊥, then we have also that6|=CuDv ⊥. It’s easy to see that that is the case. Assume that6|=C v ⊥,6|=¬CtD v ⊥, but|=CuD v ⊥. It means that

|=C v ¬D, that in turn implies thatC<⊥is a preferential consequence ofC<D, i.e.C<D∈ D, while we assumeD=∞.

Now define a preference relation in whichois preferred to all the just created indi- vidualso0, and eacho0is preferred to all the individuals inO/o. If the creation of new individuals is forced by the creation of the individuals o0, just place them as the less preferred ones.

(16)

Lemma 2.LethA,T,Dibe a consistent knowledge base. Then there is at least a mini- mal ranked model ofhT,DisatisfyingA.

Proof. LetM={∆,≺,·I}be a minimal ranked model ofhT,DiandM0={∆0I0} be a model ofhA,T i(we assume that∆∩∆0=∅, otherwise rename the objects appro- priately). Now define a modelMwhere the domain is∆∪∆0and the interpretation is·I∪ ·I0. About the preference relation, position the individuals from∆0according to their ranking w.r.t.hT,Di. This ranked interpretation ishT,Di-compatible, since it is the extension of ahT,Di-compatible ranked interpretation, and it is a minimal model ofDthat also satisfiesA.

Proposition 6.Given a knowledge basehA,T,Di, each inference relation`srdefined by a sequence son the elements of O corresponds to the consequence relation |=h for someh, and the other way around. The inference relation`r, corresponding to the intersection of all`srgenerated byhA,T,Di, corresponds to the consequence relation

|=.

Proof. In the proofs for Section 5 in [6] we prove that, given a knowledge basehT,Di, in the minimal ranked models there is a correspondence between the height of the ob- jects and their ranking, that is, if an objectxhas a heighti, then the model associates to xthe defaultδi. Hence, given all the minimal models of a knowledge basehA,T,Di s.t. all the individuals inOhave the same height in each model,i.e., the models defin- ing|=h, we take under consideration all the models that associate to each individual x ∈ O a specific default conceptδi, s.t. it is not possible to associate a stronger de- fault to each of them. This corresponds to the notion of rational ABox extension that, by Proposition 1, corresponds to the inference relation`srgenerated by some sequence s. In the other direction, given a knowledge basehA,T,Diand an inference relation

`sr, it corresponds to a rational ABox extension ofhA,T,Di, and we can define the corresponding class of minimal models using the procedure in Lemma 2.

The correspondence between`rand|=is an immediate consequence.

Proposition 7hA,T,Di `r ·C(a)iffhA[a],T,Di `sr ·C(a)for every orderingsof the individuals inA[a].

Proof. AssumehA[a],T,Di 6`sr·C(a)for somes. Lets0be a sequence of the individ- uals named inAobtained usingsas initial segment. Hence we have thathA,T,Di 6`sr0

·C(a), that implieshA,T,Di 6`r·C(a).

Now assume hA,T,Di 6`r ·C(a). Hence, for some sequence s, hA,T,Di 6`sr

·C(a). Lets0 be a restriction ofsto the individuals named inA[a]; then we have that hA,T,Di 6`sr0 ·C(a).

Références

Documents relatifs

Here we present a local discontinuous Galerkin method for computing the approximate solution to the kinetic model and to get high order approximations in time, space and

We have defined a rational closure construction for the Description Logic ALC extended with a typicality operator and provided a minimal model semantics for it based on the idea

Those activities in- clude the development of goal directed proof methods for Horn like fragments of modal logics K, S4, S5 and their use in the definition of structuring constructs

u &gt; 1 has-apparatus.Reactor-With-Main-And-Side-Reaction guarantees an appropriate classification of Plant-4 with respect to Plant-2 and Plant-3 (Figure 2): The model represented

In purely implicational classical propositional logic, with Peirce’s rule, each ϕ n is proved with only one assumption occurrence in Natural Deduction in a normal proof.. Besides

We have described a sound and complete ABox abduction algorithm that handles mul- tiple observations, and supports the class of explanations including atomic and negated atomic

The inheritance- based rational closure, in Example 2, is able to conclude that typical working students are young, relying on the fact that only the information related to

In order to overcome this limitation and perform useful inferences, in [15] the authors have introduced a nonmonotonic extension of the logic ALC R T based on a minimal model