=Paper=
{{Paper
|id=None
|storemode=property
|title=A Semantics for Rational Closure: Preliminary Results
|pdfUrl=https://ceur-ws.org/Vol-1068/paper-l07.pdf
|volume=Vol-1068
|dblpUrl=https://dblp.org/rec/conf/cilc/GiordanoGOP13
}}
==A Semantics for Rational Closure: Preliminary Results==
A semantics for Rational Closure: Preliminary Results Laura Giordano1 , Valentina Gliozzi2 , Nicola Olivetti3 , and Gian Luca Pozzato2 1 DISIT - Università del Piemonte Orientale - Alessandria, Italy - laura@mfn.unipmn.it 2 Dip. di Informatica - Univ. di Torino - Italy {gliozzi,pozzato}@di.unito.it 3 Aix-Marseille Univ. - CNRS, LSIS UMR 7296 - France - {nicola.olivetti}@univ-amu.fr Abstract. We provide a semantical reconstruction of rational closure. We first consider rational closure as defined by Lehman and Magidor for propositional logic, and we provide a semantical characterization based on minimal models mechanism on rational models. Then, we extend the whole formalism and se- mantics to Description Logics focusing our attention to the standard ALC: we first naturally adapt to Description Logics Lehman and Magidor’s propositional rational closure, starting from an extension of ALC with a typicality operator T that selects the most typical instances of a concept C (hence T(C) stands for typical Cs). Then, we provide for ALC plus T a semantical characterization similar to the one for propositional logic. Last, we extend the notion of rational closure to the ABox. 1 Introduction In [18] Kraus, Lehmann and Magidor (henceforth KLM) proposed a set of natural properties of non-monotonic reasoning. Plausible inferences are represented by non- monotonic conditionals of the form A |∼ B, to be read as “typically or normally A entails B”: for instance monday |∼ go work can be used to represent that “normally if it is Monday I go to work”. Conditional entailment is non-monotonic since from A |∼ B one cannot derive A ∧ C |∼ B, in our example from monday |∼ go work one cannot monotonically derive monday ∧ ill |∼ go work (“normally if it is Monday, even if I am ill I go to work”). KLM organized the core properties of non-monotonic reasoning into a hierarchy of systems, from the weakest to the strongest: cumulative logic C, loop-cumulative logic CL, preferential logic P. Preferential logic has been strengthened into rational logic R in [20]. In this work, we restrict our attention to the rational logic R on which rational closure is built. KLM system R formalizes desired properties of non-monotonic inference but it is too weak to perform useful non-monotonic inferences. We have just seen that by the non-monotonicity of |∼, A |∼ B does not entail A ∧ C |∼ B, and this is a wanted property of |∼. However, there are cases in which, in the absence of information to the contrary, we want to be able to tentatively infer that also A ∧ C |∼ B, with the possibility of withdrawing the inference in case we discovered that it is inconsistent. For instance, we might want to infer that A ∧ C |∼ B when C is irrelevant with respect to the property B: we might want to tentatively infer from monday |∼ go work that monday ∧ shines |∼ go work (“normally if it is Monday, even if the sun shines I go to work”), with the possibility of withdrawing the conclusion if we discovered that indeed the sun shining prevents from going to work. R cannot handle irrelevant information in conditionals, and the inferences just exemplified are not supported. Partially motivated by this weakness, Lehmann and Magidor have proposed a true non-monotonic mechanism on the top of R. Rational closure on the one hand preserves 100 Laura Giordano, Valentina Gliozzi, Nicola Olivetti and Gian Luca Pozzato the properties of R, on the other hand it allows to perform some truthful non-monotonic inferences, like the one just mentioned (monday ∧ shines |∼ go work). In [20] the authors give a syntactic procedure to calculate the set of conditionals entailed by the rational closure as well as a quite complex semantic construction. It is worth noticing that a strongly related construction has been proposed by Pearl [22] with his notion of 1-entailment, motivated by a probabilistic interpretation of conditionals. The first problem we tackle in this work is that of giving a purely semantic characteri- zation of the syntactic notion of rational closure. Our semantic characterization has as its main ingredient the modal semantics of logic R, over which we build a minimal models’ mechanism, based on the minimization of the rank of worlds. Intuitively, we prefer the models that minimize the rank of domain elements: the lower the rank of a world, the more normal (or less exceptional) is the world and our minimization corresponds intuitively to the idea of minimizing less-plausible worlds (or maximizing most plausible ones). We show that a semantic reconstruction of rational closure can be given in terms of a specific case of a general semantic framework for non-monotonic reasoning. In the second part of the paper we consider Description Logics (DLs for short). A large amount of discussion has recently been done in order to extend the basic formal- ism of DLs with non-monotonic reasoning features [1, 2, 4, 6, 7, 14, 19, 17, 3, 21]; the purpose of these extensions is that of allowing reasoning about prototypical properties of individuals or classes of individuals. In spite of the load of work in this direction, finding a solution to the problem of extending DLs for reasoning about prototypical properties seems far from being solved. The best known semantics for non-monotonic reasoning have been used to the purpose, from default logic [1], to circumscription [2], from Lifschitz’s non-monotonic logic MKNF [6, 21] to KLM logics. Concerning KLM logics, in [10] a preferential extension of ALC is defined, based on the logic P, and in [14] a minimal model semantics for this logic is proposed; in [3], a defeasible description logic based on the logic R is introduced and, in [4], a notion of rational closure is defined for ALC through an algorithmic construction similar to the one introduced by Freund for the propositional calculus. Although [4] provides axiomatic properties of this notion of rational closure, it does not provide a semantics for it. We here extend to ALC the definition of rational closure by Lehmann and Magidor [20] and define a minimal model semantics for rational closure in ALC by adapting the semantics introduced in the propositional case. We start from the extension of the descrip- tion logic ALC with a typicality operator T, first proposed in [10], that allows to directly express typical properties such as T(HeartPosition) v Left, T(Bird ) v Fly, and T(Penguin) v ¬Fly, whose intuitive meaning is that normally, the heart is positioned in the left-hand side of the chest, that typical birds fly, whereas penguins do not. In this pa- per, the T operator is intended to enjoy the well-established properties of rational logic R. Even if T is a non-monotonic operator (so that for instance T(HeartPosition) v Left does not entail that T(HeartPosition u SitusInversus) v Left) the logic itself is mono- tonic. 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 non-monotonically be inferred from Bird (tweety), in the absence of information to the contrary, that T(Bird )(tweety) and that Fly(tweety). Non-monotonicity is achieved, from a semantic point of view, by defining, on the top of ALC with typicality, a minimal A semantics for Rational Closure: Preliminary Results 101 model semantics which is similar to the one in [14], with the difference that the notion of minimality is based on the minimization of the ranks of the worlds, rather than on the minimization of specific formulas, as in [14]. This semantics provides a characterization to the rational closure construction for ALC, which assigns a rank (a level of exception- ality) to every concept; this rank is used to evaluate defeasible inclusions of the form T(C) v D: the inclusion is supported by the rational closure whenever the rank of C is strictly smaller than the one of C u ¬D. Last, we tackle the problem of extending rational closure to ABox reasoning: in order to ascribe defeasible properties to individuals we maximize their typicality. This is done by minimizing their ranks (that is, their level of exceptionality). Because of the interaction between individuals (due to roles) it is not possible to separately assign a unique minimal rank to each individual and alternative minimal ranks must be considered. We end up with a kind of skeptical inference with respect to the ABox. The rational closure construction that we propose has not just a theoretical interest and a simple minimal model semantics, we show that it is also feasible. Its complexity is E XP T IME in the size of the knowledge base (and the query), the same complexity as the underlying logic ALC. In this respect it is less complex than other approaches to non-monotonic reasoning in DLs [14, 2] and comparable with the approaches in [4, 21], and thus a good candidate to define effective non-monotonic extensions of DLs. 2 Propositional rational closure: a semantic characterization 2.1 KLM rational system R The language of logic R consists just of conditional assertions A |∼ B. Here we consider a richer language which also allows boolean combinations of assertions. Our language L is defined from a set of propositional variables ATM , the boolean connectives and the conditional operator |∼. We assume that the set ATM is finite. We use A, B, C, . . . to denote propositional formulas (that do not contain conditional formulas), whereas F, G, . . . are used to denote all formulas (including conditionals). The formulas of L are defined as follows: if A is a propositional formula, A ∈ L; if A and B are propositional formulas, A |∼ B ∈ L; if F is a boolean combination of formulas of L, F ∈ L. A knowledge base K is any set of formulas: in this work we restrict our attention to finite knowledge bases. Here is the axiomatization of logic R [11]. We use `P C (resp. |=P C ) to denote provability (resp. validity) in the propositional calculus: • All axioms and rules of propositional logic • A |∼ A (REF) • if `P C A ↔ B then (A |∼ C) → (B |∼ C), (LLE) • if `P C A → B then (C |∼ A) → (C |∼ B) (RW) • ((A |∼ B) ∧ (A |∼ C)) → (A ∧ B |∼ C) (CM) • ((A |∼ B) ∧ (A |∼ C)) → (A |∼ B ∧ C) (AND) • ((A |∼ C) ∧ (B |∼ C)) → (A ∨ B |∼ C) (OR) • ((A |∼ B) ∧ ¬(A |∼ ¬C)) → ((A ∧ C) |∼ B) (RM) The axiom (CM) is called cumulative monotony and it is characteristic of all KLM logics, axiom (RM) is called rational monotony and it characterizes the logic of rational entailment R (it is what distinguishes rational from the weaker preferential entailment). R 102 Laura Giordano, Valentina Gliozzi, Nicola Olivetti and Gian Luca Pozzato seems to capture the core properties of non-monotonic reasoning, as shown by Friedman and Halpern these properties are quite ubiquitous being characterized by different semantics (all of them being instances of so-called plausibility structures [8]). The logic R enjoys a simple modal semantics, actually it turns out that it is the flat fragment (i.e. without nested conditionals) of the well-known conditional logic VC. The modal semantics is defined by considering a set of worlds W equipped by an accessibility (or preference) relation <. Intuitively the meaning of x < y is that x is more normal/less exceptional than y. We say that a conditional A |∼ B is true in a model if B holds in all most normal worlds where A is true, i.e. in all <-minimal worlds satisfying A. Definition 1. A rational model is a triple M = hW, <, V i where: • W is a non-empty set of worlds; • < is an irreflexive, transitive relation on W satisfying modularity: for all x, y, z, if x < y then either x < z or z < y. < further satisfies the Smoothness condition defined below; • V is a function V : W 7−→ 2ATM , which assigns to every world w the set of atoms holding in that world. If F is a boolean combination of formulas, its truth conditions (M, w |= F ) are defined as for propositional logic. Let A be a propositional formula; we define Min M < (A) = {w ∈ W | M, w |= A and ∀w , w < w 0 0 implies M, w0 6|= A}. Hence M, w |= A |∼ B if for all w0 , if w0 ∈ Min M < (A) then M, w0 |= B. We define the Smoothness condition: if M, w |= A, then w ∈ Min M < (A) or there is w0 ∈ Min M < (A) s.t. w 0 < w. Validity and satisfiability of a formula are defined as usual. Given a set of formulas K of L and a model M = hW, <, V i, we say that M is a model of K, written M |= K, if for every F ∈ K and every w ∈ W, M, w |= F . K rationally entails a formula F (K |= F ) if F is valid in all rational models of K. Since in this work we limit our attention to a language containing finitely many atoms, and to finite knowledge bases, we can restrict our attention to finite models, as the logic enjoys the finite model property (observe that in this case the smoothness condition is ensured trivially by the irreflexivity of the <). It is easy to see from Definition 1 that the truth condition of A |∼ B is “global” in a model M = hW, <, V i: given a world w, we have that M, w |= A |∼ B if, for all w0 , if w0 ∈ Min M < (A) then M, w |= B. It 0 immediately follows that A |∼ B holds in w if and only if A |∼ B is valid in a model, i.e. it holds that M, w0 |= A |∼ B, for all w0 in W; for this reason we will often write M |= A |∼ B. Moreover, when the reference to the model M is unambiguous, we will simply write Min < (A) instead of Min M < (A). Rational models can be equivalently defined by postulating the existence of a rank function k : W → N, and then letting x < y iff k(x) < k(y). For this reason rational models are also called “ranked models”. Definition 2 (Rank of a world). Given a model M = hW, <, V i, the rank kM of a world w ∈ W, written kM (w), is the length of the longest chain w0 < · · · < w from w to a minimal w0 (i.e. there is no w0 such that w0 < w0 ). Definition 3 (Rank of a formula). The rank kM (F ) of a formula F in a model M is i = min{kM (w) : M, w |= F }. If there is no w : M, w |= F , F has no rank in M. Proposition 1. For any M = hW, V, |∼ ¬A. A conditional formula A |∼ B is exceptional for K if its antecedent A is exceptional for K. The set of conditional formulas which are exceptional for K will be denoted as E(K). It is possible to define a non increasing sequence of subsets of K, C0 ⊇ C1 , . . . by letting C0 = K and, for i > 0, Ci = E(Ci−1 ). Observe that, being K finite, there is a n ≥ 0 such that for all m > n, Cm = Cn or Cm = ∅. Definition 5 (Rank of a formula). Let K be a knowledge base and let A be a proposi- tional formula. A has rank i (for K) if and only if i is the least natural number for which A is not exceptional for Ci . If A is exceptional for all Ci then A has no rank. Definition 5 above allows to define the rational closure of a knowledge base K. Definition 6 (Rational closure K̄ of K). Let K be a conditional knowledge base. The rational closure K̄ of K is the set of all A |∼ B such that either (1) the rank of A is strictly less than the rank of A ∧ ¬B (this includes the case A has a rank and A ∧ ¬B has none), or (2) A has no rank. This mechanism, which is now well-established, allows to overcome some weaknesses of R . First of all it is closed under rational monotonicity (RM): if (A |∼ B) ∈ K̄ and (A |∼ ¬C) 6∈ K̄ then (A ∧ C) |∼ B ∈ K̄. Furthermore, rational closure supports some of the wanted inferences that R does not support. For instance rational closure allows to deal with irrelevance: from monday |∼ go work, it does support the non-monotonic conclusion that monday ∧ shines |∼ go work. 2.3 A semantical characterization of rational closure We provide a semantical reconstruction of rational closure in terms of a minimal models’ mechanism, thus providing an instantiation of the following general recipe for non- monotonic reasoning: (i) fix an underlying modal semantics for conditionals (here we concentrate on R but another possible choice could have been the weaker P as in [12]), (ii) obtain non-monotonic inference by restricting semantic consequence to a class of minimal models. These minimal models should be chosen on the basis of semantic con- siderations, independent from the language and from the set of conditionals (knowledge base) whose non-monotonic consequences we want to determine. In the next proposition we will use Mi defined as follows. Let M = hW, <, V i be any rational model of K. Let M0 = M and, for all i, let Mi = hWi , | ⊥ | ¬CR | CR u CR | CR t CR | ∀R.CR | ∃R.CR , and CL := CR | T(CR ). A KB is a pair (TBox, ABox). TBox contains a finite set of concept inclusions CL v CR . ABox contains assertions of the form CL (a) and R(a, b), where a, b ∈ O. The T operator satisfies a set of postulates that are essentially a reformulation of rational logic R: in this respect, the T-assertion T(C) v D is equivalent to the conditional assertion C |∼ D in R. A first semantic characterization of T can be given by means of a set of postulates that are essentially a restatement of axioms and rules of non-monotonic entailment in rational logic R. Given a domain ∆ and a valuation function I one can define the function fT (S) that selects the typical instances of S, and in case S = C I for a concept C, it selects the typical instances of C. In this semantics, (T(C))I = fT (C I ), and fT has the following intuitive properties for all subsets S of ∆: (fT − 1) enforces that typical elements of S belong to S. (fT − 2) enforces that if there are elements in S, then there are also typical such elements. (fT − 3) expresses a weak form of monotonicity, namely cautious monotonicity. The next properties constraint the behavior of fT wrt ∩ and ∪ in such a way that they do not entail monotonicity. Last, (fT − R) corresponds to rational monotonicity, and forces again a form of monotonicity: if there is a typical S having the property R, then all typical S and Rs inherit the properties of typical Ss. The semantics of ALC R T can be equivalently formulated in terms of rational models: models of ALC are equipped by 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). This semantics with one single preference relation < is the one that, as we will show, corresponds to rational closure5 . Definition 10 (Semantics of ALC R T). A model M of ALC R T is any structure h∆, < , Ii where: ∆ is the domain; < is an irreflexive, transitive and modular relation over ∆ (< is modular if, for all x, y, z ∈ ∆, if x < y then either x < z or z < y); I is the extension function that maps each concept C to C I ⊆ ∆, and each role R to RI ⊆ ∆I × ∆I . For concepts of ALC, C I is defined in the usual way. For the T operator, we have (T(C))I = Min < (C I ), where Min < (S) = {u : u ∈ S and @z ∈ S 5 One may think of considering a sharper semantics with several preference relations. We aim to explore this possibility in future works, for the moment, we just notice that (i) the definition of such a semantics is not straightforward (what does differentiate one preference relation from another? What are the dependencies between the different preference relations? Has the typicality operator to be made parametric?) (ii) it cannot be expected that the resulting semantics, being stronger than the one just proposed, can correspond to rational closure below. A semantics for Rational Closure: Preliminary Results 107 s.t. z < u}. Furthermore, < satisfies the Smoothness Condition, i.e., for all concepts C, C I is smooth. For S ⊆ ∆, we say that S is smooth iff for all x ∈ S, either x ∈ Min < (S) or ∃y ∈ Min < (S) such that y < x, Theorem 2. [Theorem 1 in [9]] A KB=(TBox,ABox) is satisfiable in a model described in Definition 10 iff it is satisfiable in a model h∆, I, fT i where fT satisfies (fT − 1) − (fT − 5) and (fT − R), and (T(C))I = fT (C I ). In the following, we will refer to the definition of the semantics given in Definition 10. Definition 11 (Model satisfying a Knowledge Base). Given a model M, I is extended to assign a distinct element aI of ∆ to each individual constant a of O (i.e. we assume the unique name assumption). We say that: a model M satisfies an inclusion C v D if it holds C I ⊆ DI ; M satisfies an assertion C(a) if aI ∈ C I ; and M satisfies an assertion R(a, b) if (aI , bI ) ∈ RI . We say that: M satisfies a knowledge base K=(TBox,ABox), if it satisfies both its TBox and its ABox, where: M satisfies TBox if M satisfies all inclusions in TBox and M satisfies ABox if M satisfies all assertions in ABox. From now on, in this section, we restrict our attention to ALC R T and to finite models. Given a knowledge base K and an inclusion CL v CR , we say that the inclusion is derivable from K (we write K |=ALC R T CL v CR ) if CLI ⊆ CR I holds in all models M = h∆, <, Ii satisfying K. Definition 12 (Rank of a domain element). The rank kM of a domain element x in a model M is the length of the longest chain x0 < · · · < x from x to a minimal x0 (s.t. for no x0 , x0 < x0 ). Finite ALC R T models can be equivalently defined by postulating the existence of a function k : ∆ → N, and then letting x < y iff k(x) < k(y). Definition 13 (Rank of a concept). Given a model M = h∆, <, Ii, the rank kM (CR ) of a concept CR in the model M is i = min{kM (x) : x ∈ CRI }. If CR I = ∅, then CR has no rank and we write kM (CR ) = ∞. Proposition 3. For any M = h∆, <, Ii, we have that M satisfies T(C) v D iff kM (C u D) < kM (C u ¬D). As already mentioned, although the typicality operator T itself is non-monotonic (i.e. T(C) v D does not imply T(C uE) v D), the logics ALC +T and ALC R T are mono- tonic: 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 non-monotonicity in ALC R T one cannot deal with irrelevance for instance. So one cannot derive from K = {Penguin v Bird , T(Bird ) v Fly, T(Penguin) v ¬Fly} that K |=min 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 jim is a bird (Bird(jim)), in ALC R T one cannot non-monotonically derive that it is a typical bird and therefore flies ( T(Bird)(jim) and F ly(jim) ). We investigate the possibility of overcoming this weakness by extending to ALC R T the notion of rational closure. We first consider the rational closure of the TBox alone. Next we will consider rational closure that also takes into account the ABox. 108 Laura Giordano, Valentina Gliozzi, Nicola Olivetti and Gian Luca Pozzato 3.2 Rational Closure of the TBox in ALC R T Let us first define the notion of query. Intuitively, a query is either an inclusion relation or an assertion of the ABox; we want to check whether it is entailed from a given KB. Definition 14 (Query). A query F is either an assertion CL (a) or an inclusion relation CL v CR . Given a model M = h∆, <, Ii, a query F holds in M if M satisfies F . Definition 15. Let TB be a TBox and C a concept. C is said to be exceptional for TB iff TB |=ALC R T T(>) v ¬C. A T-inclusion T(C) v D is exceptional for TB if C is exceptional for TB . The set of T-inclusions of TB which are exceptional in TB will be denoted as E(TB ). Given a DL knowledge base K=(TBox,ABox), it is possible to define a sequence of non-increasing subsets of TBox E0 ⊇ E1 , . . . by letting E0 = TBox and, for i > 0, Ei = E(Ei−1 ) ∪ {C v D ∈ TBox s.t. T does not occurr in C}. Observe that, being K finite, there is an n ≥ 0 such that for all m > n, Em = En or Em = ∅. Observe also that the definition of the Ei ’s is the same as the definition of the Ci ’s in Lehmann and Magidor’s definition of rational closure in Section 2.2, except for the fact that here, at each step, we also add all the strict inclusions. Definition 16. A concept C has rank i (denoted by rank (C) = i) for K=(TBox,ABox), iff i is the least natural number for which C is not exceptional for Ei . If C is exceptional for all Ei then rank (C) = ∞, and we say that C has no rank. As for propositional logic, the notion of rank of a formula allows to define the rational closure of the TBox of a knowledge base K. Definition 17 (Rational closure of TBox). Let K=(TBox,ABox) be a DL knowledge base. We define, TBox , the rational closure of TBox, as TBox = {T(C) v D | either rank (C) < rank (C u ¬D) or rank (C) = ∞} ∪ {C v D | K |=ALC C v D} It can be easily seen that the rational closure of TBox is a non-monotonic strengthening of ALC R T. For instance it allows to deal with irrelevance. If TBox = {Penguin v Bird , T(Bird ) v Fly, T(Penguin) v ¬Fly}, then it can be verified that T(Bird uBlack ) v Fly ∈ TBox . This is a non-monotonic inference that does no longer follow if we knew that indeed black birds are non typical birds that do not fly: in this case from TBox’= TBox ∪{T(Bird u Black ) v ¬Fly} (in this case T(Bird u Black ) v Fly 6∈ TBox 0 ). Similarly, as for the propositional case, rational closure is closed under rational monotonicity: from T(Bird ) v Fly ∈ TBox and T(Bird ) v ¬LivesEurope 6∈ TBox it follows that T(Bird u LivesEurope) v Fly ∈ TBox . As for the propositional case, in order to semantically characterize the rational closure, we first restrict our attention to minimal rational models that minimize the rank of domain elements. Informally, given two models of K, one in which a given domain element x has rank 2 (because for instance z < y < x) , and another in which it has rank 1 (because only y < x), we would prefer the latter, as in this model the element x is “more normal” than in the former. A semantics for Rational Closure: Preliminary Results 109 From now on, we restrict our attention to canonical minimal models. First, we define a set of concepts S closed under negation and subconcepts. We assume that all the concepts in K and in the query F belong to S. In order to define canonical models, we consider all the sets of concepts {C1 , C2 , . . . , Cn } ⊆ S that are consistent with K, i.e., s.t. K 6|=ALC C1 u C2 u · · · u Cn v ⊥. Definition 18 (Canonical model w.r.t. S). Given K=(TBox,ABox) and a query F , a model M = h∆, <, Ii satisfying K is canonical w.r.t. S if it contains at least a domain element x ∈ ∆ s.t. x ∈ (C1 u C2 u · · · u Cn )I , for each set of concepts {C1 , C2 , . . . , Cn } ⊆ S that are consistent with K. Definition 19 (Minimal canonical models (w.r.t. S)). Consider two models M = h∆, <, Ii and M0 = h∆0 , <0 , I 0 i, canonical w.r.t. S. We say that M is preferred to M0 (M < M0 ) if ∆ = ∆0 , and for all x ∈ ∆, kM (x) ≤ kM0 (x) whereas there exists y ∈ ∆ such that kM (y) < kM0 (y). Given a knowledge base K, we say that M is a minimal canonical model of K if it is a canonical model satisfying K and there is no canonical model M0 satisfying K such that M0 < M. The following results hold (more details and proofs can be found in [15, 16]): Theorem 3. For any K there exists a minimal canonical model w.r.t. TBox. Theorem 4. Let K=(TBox,ABox) be a knowledge base and C v D a query. We have that C v D ∈ TBox if and only if C v D holds in all minimal canonical models of K with respect to S. Theorem 5 (Complexity of rational closure over the TBox). Given a knowledge base K =(TBox,ABox), the problem of deciding whether T(C) v D ∈ TBox is in E XP T IME. 3.3 Rational Closure Over the ABox In this section we extend the notion of rational closure defined in the previous section in order to take into account the individual constants in the ABox. We address this question by first considering the semantic aspect, in order to treat individuals explicitly mentioned in the ABox in a uniform way with respect to the other domain elements: as for all the domain elements we would like to attribute to each individual constant named in the ABox the lowest possible rank. So we further refine Definition 19 of minimal canonical models with respect to TBox by taking into account the interpretation of individual constants of the ABox: given two minimal canonical models M and M0 , we prefer M to M0 if there is an individual constant b occurring in ABox such that 0 0 kM (bI ) < kM (bI ) (whereas kM (aI ) ≤ kM (aI ) for all other individual constants occurring in ABox). Definition 20 (Minimal canonical model of K minimally satisfying ABox). Given K=(TBox,ABox), let M = h∆, <, Ii and M0 = h∆0 , <0 , I 0 i be two canonical models of K which are minimal w.r.t. Definition 19. We say that M is preferred to M0 with respect to ABox (M