• Aucun résultat trouvé

Extending Absorption to Nominal Schemas

N/A
N/A
Protected

Academic year: 2022

Partager "Extending Absorption to Nominal Schemas"

Copied!
23
0
0

Texte intégral

(1)

Extending Absorption to Nominal Schemas

Andreas Steigmiller1, Birte Glimm1, and Thorsten Liebig2

1 Ulm University, Ulm, Germany,<first name>.<last name>@uni-ulm.de

2 derivo GmbH, Ulm, Germany, liebig@derivo.de

Abstract. Nominal schemas have recently been introduced as a new approach for the integration of DL-safe rules into the Description Logic framework. The efficient processing of knowledge bases with nominal schemas remains, however, challenging. We address this by extending the well-known optimisation of ab- sorption as well as the standard tableau calculus to directly handle the (absorbed) nominal schema axioms. We implement the resulting extension of standard tab- leau calculi in a novel reasoning system and we integrate further optimisations.

In our empirical evaluation, we show the effect of these optimisations and we find that the proposed approach performs well even when compared to other DL reasoners with dedicated rule support.

1 Introduction

We address the problem of an efficient handling of so-called nominal schema axioms in tableau calculi for Description Logics (DLs). Nominal schemas have been introduced recently [11] as a feature for expressing arbitrary DL-safe rules (as specified in the W3C standards SWRL [5] or RIF [9]) natively in DLs and, consequently, in OWL ontologies [13]. Hence, DLs with nominal schemas provide a unified basis for OWL and rules.

Although some attempts (see, e.g., [10]) have been made to improve the performance of tableau calculi when extended with nominal schemas, handling of nominal schemas remains challenging. We tackle this problem by extending the well-know tableau opti- misation of absorption [7]. The resulting calculus extends a standard tableau calculus by additional rules to deal with the absorbed nominal schema axioms and shows a con- siderable performance improvement over existing techniques.

Nominal schemas extend the nominal constructor that is present in many DLs and which allows for specifying a concept as a singleton set with a named individual as member, e.g., the interpretation of the concept{a}consists of the element that represents the named individual a. Nominal schemas introduce a new concept constructor {x}, wherexis a variable that can only be bound to a named individual from the ABox of the knowledge base. This restriction ensures decidability and is common for nominal schemas as well as for SWRL rules.

We use the same running example as Krisnadhi and Hitzler [10], which describes a conflicting review assignment for an individual who has to review a paperxthat has an authorywith whom that individual has a joint publication in the same venuez:

∃hasReviewAssignment.({x} u ∃hasAuthor.{y} u ∃atVenue.{z}) u ∃hasSubmittedPaper.(∃hasAuthor.{y} u ∃atVenue.{z}) v ∃hasConflictingAssignedPaper.{x}.

(2)

For brevity, we shortenhasReviewAssignmenttor,hasAuthortoa,atVenuetov,has- SubmittedPaper to s, and hasConflictingAssignedPaper to cin the remainder. Obvi- ously, this axiom can neither be directly expressed in a DL knowledge base nor as ordinary DL-safe rule (e.g., if we were to express the complex concepts as role atoms, we would have to introduce a variable for the submitted paper, which then would only bind to known ABox individuals). However, such nominal schema axioms can be elimi- nated byupfront grounding, i.e., by replacing nominal schema axioms with all possible grounded axioms obtained by replacing nominal schemas with nominals, where the nominal schemas with the same variable are always replaced by the same nominal. Up- front grounding is, however, very inefficient. For example, a nominal schema axiom with 3 variables can be grounded for a knowledge base with 100 ABox individuals in 1003different ways, which is prohibitive even for small examples.

A promising approach for efficient reasoning in OWL DL ontologies extended with nominal schemas, i.e.,SROIQVknowledge bases withVdenoting nominal schemas, is to adapt established tableau algorithms (e.g., [4]), which are dominantly used for sound and complete reasoning systems for expressive DLs. One such approach extends a tableau algorithm such that grounding isdelayed until it isrequired [10]. However, this requires significant changes to the tableau algorithm and, thus, to existing optimisa- tions, which are crucial for a reasonable performance on real-world ontologies. Further- more, it is not clear in which way concepts have to be grounded for a well-performing implementation and some concepts even cannot be grounded efficiently.

In this paper, we present a novel approach that works by collecting possible bind- ings for the nominal schema variables during the application of tableau rules; then, these bindings are used to complete the processing of the nominal schema axioms. For this, we extend the widely used technique of absorption (Section 3) to handle nominal schemas (Section 4.1), and we adapt or add new rules to the tableau calculus (Sec- tion 4.2). We further sketch optimisations and empirically evaluate the proposed ap- proach (Section 5), before we conclude (Section 6). Further details and an extended evaluation are available in a technical report [15]. Proofs are also in the appendix.

2 Preliminaries

For brevity, we do not introduce DLs (see, e.g., [1]) and we only give a short overview about the used tableau algorithm in the following (for details see, e.g., [4]). We present our approach forALCOIQV, however, covering SROIQV is easily possible: role chains can be encoded [4] and the remainingSROIQfeatures are easy to support.

Roughly speaking, the tableau algorithm constructs for an input knowledge baseK a completion graphG =(V,E,L,,˙) by decomposing complex concepts with a set of expansion rules. Each nodex∈V(edgehx,yi ∈E) is labelled with the set of concepts L(x) (set of rolesL(hx,yi)) and ˙,records inequalities between nodes.Gis initialised with one node for each ABox individual/nominal in the input knowledge base (w.l.o.g.

we assume that the ABox is non-empty). In order to guarantee that each node of the completion graph indeed satisfies all TBox axioms, one can use a tableau rule that checks, for each general concept inclusion (GCI) C v D, whether C is satisfied for a node and only then addsDto the node label. Checking whether a complex left-hand

(3)

side is satisfied can, however, be non-trivial. In order to guarantee correctness, one treats such axioms whereCis complex as> v ¬CtD. Given that>is satisfied at each node, the disjunction¬CtDis then added to the label of each node. In practise, one uses elaborate transformations in a preprocessing step called absorption to avoid axioms of the form> v ¬CtD.

Roughly speaking, the absorption algorithm extracts those conditions of a disjunc- tion for which it can be ensured that if one of these conditions is not satisfied for a node in a completion graph, then at least one alternative of the disjunction is triv- ially satisfiable. These conditions are then used for expressing the disjunction in such a way that non-determinism can be avoided as much as possible in the tableau algo- rithm. For example, one would like to avoid treating ∃r.(A1tA2) v ∃s.Aas > v

∀r.(¬A1u ¬A2)t ∃s.A. Any node that doesnothave anr-neighbour trivially satisfies

∀r.(¬A1u ¬A2) and, hence, the overall disjunction. Thus, we could only add the dis- junction to nodes that have at least oner-successor. We can, however, go even further by first identifying nodes that satisfyA1orA2and then make sure that theirr-neighbour satisfies∃s.A. Hence, the disjunctive axiom can be rewritten intoA1 vT,A2 vT and T v ∀r.(∃s.A), whereTis a fresh atomic concept. Here,A1andA2have beenabsorbed (i.e., moved to the left-hand side of the axiom) and the conceptT is used to enforce the semantics of the original axiom. We call∀r.(¬A1u ¬A2)completely absorbablesince it no longer contributes a disjunct. The goal of the absorption preprocessing step is, therefore, the extraction of such easy to verify conditions that allow for expressing a GCI by possibly several axioms that ideally do not require a disjunction.

In order to absorb more complex concepts it is often necessary to join several con- ditions, sayA1 toAn. An efficient way to do this isbinary absorption [8], where two conceptsA1andA2imply a fresh atomic conceptT1by the axiom (A1uA2)vT1. We can then combineT1 with the next conditionA3and so on, until (Tn−2uAn) vTn−1, whereTn−1can then be used for further absorption.

3 Absorption Algorithm

Since our handling of nominal schemas is based on absorption methods, we next present an improved variant of a recursive binary absorption algorithm, which we then extend to nominal schemas in the next section. The improvements allow for absorbing parts of the axioms partially without creating additional disjunctions. For example, the TBox axiom∃r.(Au ∀r.C)vDis, without absorption, handled as> v ∀r.(¬At ∃r.¬C)tD.

None of the disjuncts can be absorbed completely, but it is nevertheless possible to delay the processing of the disjunction until there is anr-neighbour with the concept Ain its label. In order to capture this, the absorption rewrites the axiom such that the disjunction is propagated from a node withAin its label to allr-neighbours (if there are any), which results inAv ∀r.(∀r.(¬At ∃r.¬C)tD).

In the following,C(i),D(i)are (possibly complex) concepts,A(i),T(i)are atomic con- cepts withT(i)used for fresh concepts andS is a set of concepts. We assume that all con- cepts are in the well-known negation normal form (NNF) or we usennf(C) to transform a conceptCto an equivalent one in NNF. Our algorithm uses the following functions to absorb axioms of a TBoxT into a new (global) TBoxT0:

(4)

Algorithm 1isCA(C) andisPA(C) Output: Returns whether the concept C is

completely absorbable 1: procedureisCA(C) 2: ifC=C1tC2then

3: returnisCA(C1)∧isCA(C2) . 4: else ifC=C1uC2then

5: returnisCA(C1)∧isCA(C2) 6: else ifC=∀r.C0then

7: returnisCA(C0) .

8: else ifC=¬{a}then 9: returntrue

. . .

10: else ifC=¬Athen 11: returntrue 12: end if 13: returnfalse 14: end procedure

Output: Returns whether the conceptCis par- tially absorbable

1: procedureisPA(C) 2: ifC=C1tC2then

3: returnisPA(C1)∨isPA(C2) . 4: else ifC=C1uC2then

5: returnisPA(C1)∧isPA(C2) 6: else ifC=∀r.C0then

7: returntrue .

8: else ifC=¬{a}then 9: returntrue

. . .

10: else ifC=¬Athen 11: returntrue 12: end if 13: returnfalse 14: end procedure Algorithm 2collectDisjuncts(C,absorbable)

Output: Returns the absorbable/not absorbable disjuncts of the conceptC 1: S ← {C}

2: while(C1tC2)∈Sdo

3: S ←(S\(C1tC2))∪ {C1,C2} 4: end while

5: ifabsorbable=truethen return{C∈S|isPA(C)} 6: else return{C∈S | ¬isCA(C)}

7: end if

• isCA(C) (isPA(C)), shown in Algorithm 1, returns whether the conceptCis com- pletely (partially) absorbable. We have tagged the lines 3 and 7 with a comment symbol to highlight whereisPAmight allow additional absorption in comparison toisCA. We have indicated with “. . .” that the absorption can further be extended to other constructors, e.g., to constructors of more expressive DLs [15].

• collectDisjuncts(C,absorbable), shown in Algorithm 2, returns the set of (com- pletely or partially) absorbable disjuncts forCifabsorbable=trueand the set of not completely absorbable disjuncts otherwise. IfC is not a disjunction, then{C}

itself is returned, in case it conforms to the specifiedabsorbablecondition.

For simplicity, we assume here that axioms of the formC ≡ Dare rewritten into C v DandD v C. An extension that directly and, hence, more efficiently handles axioms of the formA≡Cis also possible [15].

To obtain the absorbed TBoxT0, we call for each axiomC v D ∈ T the func- tionabsorbJoinedfor the set of absorbable disjuncts, i.e.,collectDisjuncts(nnf(¬Ct D),true), which returns a fresh atomic concept that is used to imply a disjunction of the non-absorbable disjuncts, i.e.,collectDisjuncts(nnf(¬CtD),false). The methods absorbJoined(Algorithm 3) andabsorbConcept(Algorithm 4) are recursively calling

(5)

Algorithm 3absorbJoined(S)

Output: Returns the atomic concept that is implied by the join of the absorptions ofS 1: S0← ∅

2: for allC∈Sdo

3: A0absorbConcept(C) 4: S0←S0∪ {A0}

5: end for

6: whileA1∈S0 andA2∈S0 andA1,A2do 7: T ← fresh atomic concept

8: T0← T0∪ {(A1uA2)vT} 9: S0←(S0∪ {T})\ {A1,A2} 10: end while

11: ifS0=∅then return>

12: else returnthe elementA0∈S0 .S0is a singleton 13: end if

Algorithm 4absorbConcept(C)

Output: Returns the atomic concept for the absorption ofC 1: ifC=C1uC2then

2: A1absorbJoined(collectDisjuncts(C1,true)) 3: A2absorbJoined(collectDisjuncts(C2,true)) 4: T ← fresh atomic concept

5: T0← T0∪ {A1vT,A2vT} 6: returnT

7: else ifC=∀r.C0then

8: AnbabsorbJoined(collectDisjuncts(C0,true)) 9: T ← fresh atomic concept

10: T0← T0∪ {Anbv ∀r.T} 11: returnT

12: else ifC=¬{a}then

13: T ← fresh atomic concept 14: T0← T0∪ {{a} vT} 15: returnT

. . .

16: else returnA .Cis of the form¬A

17: end if

each other, wherebyabsorbJoinedis joining several atomic concepts with binary ab- sorption axioms andabsorbConceptcreates the absorption for a specific concept. For instance, a concept of the form∀r.Ccan be absorbed (lines 7–11 of Algorithm 4) by creating a propagation from the atomic conceptAnb, which is obtained for the absorp- tion ofC, back over ther-edge, to trigger a fresh atomic conceptT. Note, ifCcannot be absorbed, thenabsorbJoinedreturns>and the axiom> v ∀r.T is created, which corresponds to∃r.> vT and, thus, is similar to the well knownrole absorption[16].

TheabsorbJoinedfunction creates binary absorption axioms (Algorithm 3, lines 6- 10) for the atomic concepts returned byabsorbConcept. Thus,absorbJoinedis joining several conditions into one fresh atomic concept, which can be used for further absorp-

(6)

tion or to initiate the addition of the remaining and non-absorbable part of the axiom.

One can further reduce the number of produced axioms by reusing absorption axioms for concepts that occur more then once.

One can show that concept satisfiability is indeed preserved for the absorbed TBox:

Theorem 1 LetT denote a TBox, T0 the TBox obtained by absorbing T, and C a concept, then C is satisfiable with respect toT iffit is satisfiable with respect toT0.

4 Nominal Schema Absorption

In contrast to DL-safe SWRL rules, the left-hand side of axioms with nominal schemas can be satisfied on arbitrary nodes in the completion graph (even though variables can only bind to nodes that represent individuals/nominals). As a consequence, axioms with nominal schemas can influence arbitrary nodes in the completion graph and, thus, blocking, which ensures termination, easily becomes unsound when typical approaches for rule processing, such as Rete [3], are used naively. Our approach to overcome this issue is to emulate such rule processing mechanisms by adapted tableau rules, which propagate bindings of variables for concepts through the completion graph. As a nice side-effect, this propagation means that also complex roles can easily be supported.

4.1 Absorption of Axioms with Nominal Schemas

The absorption of axioms with nominal schema variables works very similar to the absorption of ordinary axioms. We could directly extend the absorption algorithm to handle the new concept construct, however, to avoid some special cases for conjunctions C1uC2 in an absorbable disjunct, where different nominal schema variables are used inC1andC2, we require that conjunctions in absorbable positions are eliminated. This can be done by duplicating the disjunction that is absorbed and by replacingC1uC2

once withC1and once withC2. For example, the axiom{x} tAv ∃r.{x}is handled as the disjunction (¬{x} u ¬A)t ∃r.{x}in the absorption and to eliminate¬{x} u ¬Awe replace the original axiom with{x} v ∃r.{x}andAv ∃r.{x}.

For our absorption algorithm of Section 3, the following two modifications are nec- essary in order to handle nominal schemas in the remaining axioms:

• isCA(C) (isPA(C)) is extended to return that a negated occurrence of a nominal schema¬{x}is completely (partially) absorbable.

• absorbConcept(C) of Algorithm 4 must now also handle a negated occurrence of a nominal schema¬{x}by absorbing it to O v ↓x.Tx for which the fresh atomic conceptTxis returned andOis a special concept that is added to the label of all ABox individuals.

The↓binder operator, as known from Hybrid Logics [2], is introduced to actually bind variables to individuals (or nodes in a completion graph). It is handled by a new tableau rule, which adds, for a node a with ↓x.Tx ∈ L(a), Tx to the label and records that xis bound toa. In the remainder, we assume that knowledge bases contain, for each

(7)

Table 1.Tableau rule extensions to propagate variable mappings

∀-rule: if ∀r.C ∈ L(v),vnot indirectly blocked, there is anr-neighbourwofvwithC <

L(w) orB(∀r.C,v)*B(C,w)

thenL(w)−→ L(w)∪ {C}andB(C,w)−→ B(C,w)∪ B(∀r.C,v)

v1-rule: if AvC∈ K,A∈ L(v),vnot indirectly blocked, andC<L(v) orB(A,v)*B(C,v) thenL(v)−→ L(v)∪ {C}andB(C,v)−→ B(C,v)∪ B(A,v)

v2-rule: if (A1uA2)vC∈ K,{A1,A2} ⊆ L(v),vnot indirectly blocked, and 1.B(A1,v)∪ B(A2,v)=∅andC<L(v), or

2. (B(A1,v)1 B(A2,v)),∅andC<L(v) or (B(A1,v)1 B(A2,v))*B(C,v) thenL(v)−→ L(v)∪ {C}andB(C,v)−→ B(C,v)∪(B(A1,v)1 B(A2,v))

↓-rule: if ↓x.C∈ L(v),vnot indirectly blocked, andC<L(v) or{x7→v}<B(C,v) thenL(v)−→ L(v)∪ {C}andB(C,v)−→ {{x7→v}}

gr-rule: if gr(C) ∈ L(v),v not indirectly blocked, there exists a variable mappingµ ∈ compKVars(C)(B(gr(C),v)) withC[µ]<L(v)

thenL(v)−→ L(v)∪ {C[µ]}

individuala, an axiom of the form{a} vO, whereOis a fresh atomic concept. Since the binders are, therefore, only added to ABox individuals (due to axioms of the formOv

↓x.Tx), the decidability is retained, whereas the unrestricted extension of a Description Logic with binders easily leads to undecidability of the standard reasoning problems.

Other concepts can be absorbed as before, however, the final atomic conceptAcre- ated by the absorption cannot initiate the addition of the remaining, non-absorbed part of the axiom in the same way. If the remaining disjunctsD1, . . . ,Dnstill contain nom- inal schemas, then the disjunction has to be grounded with those bindings of variables that have been propagated toA. In the tableau algorithm this can be done dynamically, e.g., with a new “grounding concept” and a corresponding rule. Therefore, ifD1, . . . ,Dn

still contain concepts with nominal schemas, thenAvgr(D1t. . .tDn) has to be added to the TBox, wheregr(·) is the new grounding concept. For simplicity, let us assume thatgr(C) is always used to add the remaining, non-absorbed part of the axiom, even if Cor the axiom does not contain any nominal schemas.

Example 1. Our running example∃r.({x}u∃a.{y}u∃v.{z})u∃s.(∃a.{y}u∃v.{z})v ∃c.{x}

can be almost completely absorbed into the following axioms:

Ov ↓x.Tx

Tzv ∀v.T2

T5v ∀r.T6

Ov ↓y.Ty

(T1uT2)vT3

(T4uT6)vT7

Tyv ∀a.T1

T3 v ∀s.T4

T7 vgr(∃c.{x}),

Ov ↓z.Tz

(T3uTx)vT5

whereTx,Ty,Tz,T1, . . . ,T7are fresh atomic concepts. Only∃c.{x}cannot be absorbed and has to be grounded on demand. To keep the example small, we have reused axioms for the absorption of the same concepts, whereas the algorithm of Section 3 would generate for each occurrence of¬{y}and¬{z}a separate binder concept.

4.2 Tableau Algorithm Extensions

We can now extend a standard tableau decision procedure to support (absorbed) nom- inal schema axioms. Note, we assume that GCIs are handled by two rules: thev1-rule

(8)

handles GCIs of the form A v C (i.e., a non-absorbable axiom C v D is handled as > v nnf(¬CtD)) and thev2-rule handles binary absorption axioms of the form (A1uA2) v C. These rules and the∀-rule (for transitivity support also the ∀+-rule) have to be adapted. The↓binders andgr(·) concepts are handled by new rules. In or- der to propagate variable bindings, we keep a set of mappings that records bindings for variables, for each concept in a node label.

Definition 1 (Variable Mapping).Avariable mappingµis a (partial) function from variable names to individual names. The set of elements on whichµis defined is the domain, writtendom(µ), ofµ. We usefor the empty variable mapping, i.e.,dom()=

∅. We associate a concept C in the label of a node v with a set of variable mappings, denoted byB(C,v).

When clear from the context, we simply write mapping instead of variable mapping.

Table 1 shows the adapted and new tableau rules and we describe the not so straight- forward extensions in more detail below. The mappings have to be propagated by the tableau rules for the concepts and axioms that are used in the absorption. For example, if we apply the adaptedv1-rule to an axiom of the formAvC, we keep the mappings also for the conceptC. Note that it is only necessary to extend those rules, which are related to concepts and axioms that are used in the absorption, because if the mappings are propagated to agr(·) concept, the remaining, non-absorbed part of the axiom is grounded and thus corresponds to an ordinary concept.

Some major adjustments are necessary for thev2-rule that handles binary absorp- tion axioms of the form (A1uA2)vC. First of all, we want to keep the default behaviour if there are no variable mappings associated to the concept facts for which the rule is applied, i.e., ifB(A1,v)∪ B(A2,v) = ∅, then we addC to the label ofv. In contrast, ifB(A1,v) ,∅orB(A2,v) ,∅, we propagate the join of the mapping sets to the im- plied concept. In the case B(A1,v) = ∅andB(A2,v) ,∅, we extendB(A1,v) by the empty mappingso that the join ofB(A1,v) andB(A2,v) results inB(A2,v), which is then propagated toC. We proceed analogously forB(A2,v) =∅andB(A1,v) , ∅. In principle, the join combines variable mappings that map common variables to the same individual name and to point out that the empty sets of mappings are specially handled, we have extended the join operator1with the superscript.

Definition 2 (Variable Mapping Join).Two variable mappingsµ1andµ2arecompat- ibleifµ1(x)=µ2(x)for all x∈dom(µ1)∩dom(µ2). For compatible mappingsµ1and µ21∪µ2is defined as(µ1∪µ2)(x)=µ1(x)if x∈dom(µ1), and(µ1∪µ2)(x)=µ2(x) otherwise. Given two (possibly empty) sets of variable mappings M1, M2, let M1={}

(M2 ={}) if M1=∅(M2=∅) and M1=M1(M2 =M2) otherwise. ThejoinM11 M2

is defined as{µ1∪µ21∈M1, µ2∈M2andµ1is compatible withµ2} \ {}.

For a conceptgr(C) thegr-rule groundsCbased on the variable mappings associ- ated togr(C). Since these mappings might not cover all nominal schema variables that occur inC, it is necessary to extend the mappings with every combination of named in- dividuals for the remaining variables. This so-called completion ensures that only fully grounded concepts are added, which can then be handled as ordinary concepts in the completion graph. Therefore, it is also not necessary to further propagate mappings to such newly added concepts.

(9)

a3 a4

a1 a2

a0

a v a v r,c s

L(a3)⊃

n↓y.Ty,Ty{{y7→a3}},(∀a.T1){{y7→a3}}o

L(a4)⊃

n↓z.Tz,Tz{{z7→a4}},(∀v.T2){{z7→a4}}o L(a1)⊃









↓x.Tx,Tx{{x7→a1}},T1{{y7→a3}},T2{{z7→a4}}, T3{{y7→a3,z7→a4}},T5{{x7→a1,y7→a3,z7→a4}},

(∀r.T6){{x7→a1,y7→a3,z7→a4}}









L(a2)⊃

(T1{{y7→a3}},T2{{z7→a4}},T3{{y7→a3,z7→a4}}, (∀s.T4){{{y7→a3,z7→a4}}}

) L(a0)⊃n

T4{{y7→a3,z7→a4}},T6{{x7→a1,y7→a3,z7→a4}},T7{{x7→a1,y7→a3,z7→a4}},gr(∃c.{x}){{x7→a1,y7→a3,z7→a4}},∃c.{a1}o

Fig. 1.Variable mapping propagation example

Definition 3 (Grounding, Completion).For a concept C,Vars(C)is the set of nominal schema variables that syntactically occur in C. A concept C isgroundedifVars(C)=∅.

Letµbe a variable mapping. We write C[µ]to denote the concept obtained by replacing each nominal schema{x}that occurs in C and x∈dom(µ)with the nominal{µ(x)}.

Given a set of variables Y and a variable mapping set M with Mas the extension by the empty mapping if M = ∅, the completion compKY(M) of M w.r.t. Y and a knowledge baseKcontaining the individualsInds(K)is

compKY(M) :={µ∪ {x17→v1, . . . ,xn7→vn} |µ∈M,x1, . . . ,xn∈(Y\dom(µ)), v1, . . . ,vn ∈Inds(K)}.

The unrestricted application of generating rules such as the∃-rule can lead to the in- troduction of infinitely many new tableau nodes. To guarantee termination, one uses a cycle detection technique called(pairwise) blocking[6] that restricts the application of such rules. To apply blocking, we distinguishblockable nodesfromnominal nodes, which have a nominal from the knowledge base in their label. A nodevwith predeces- sorv0isblockedby a nodewwith predecessorw0, ifv,v0,w,w0are all blockable and the labels of (i)vandw(ii)v0andw0and (iii)hv0,viandhw0,wicoincide. We extend the standard blocking conditions to also require that the bindings for the concepts in the labels of these nodes coincide.

The completion graph in Figure 1 is obtained in the course of testing the consistency of a knowledge base containing the axioms of Example 1 and the assertions:r(a0,a1), s(a0,a2),a(a1,a3),v(a1,a4),a(a2,a3),v(a2,a4). Note, Figure 1 shows only those con- cepts and variable mappings (in superscripts) that are relevant for the grounding of new concepts in this example. However, sinceOand thereby also the binder concepts are added to all ABox individuals, additional variable mappings are automatically created for every ABox individual. The joins of the mapping sets are created in the nodesa1 anda2for the conceptsT3andT5 and finally in nodea0for the conceptT7. Only the variable mapping{x 7→ a1,y 7→ a3,z 7→ a4}is propagated to the grounding concept gr(∃c.{x}) ∈ L(a0) and, thus, by replacing the nominal schema{x}with the nominal {a1}, we have∃c.{a1}as the only grounded concept. Hence, the individuala0 is found to have a conflicting review assignment with the papera1.

Roughly speaking, it is possible to prove the correctness of our nominal schema absorption technique by a reduction between a completion graph for a TBox with nom- inal schemas and a standard completion graph for the upfront grounded TBox. Blocking

(10)

still guarantees termination since only a limited number of variable mappings are intro- duced.

Theorem 2 LetT denote an absorbed TBox (possibly with nominal schema axioms), then a tableau decision procedure (as described above) extended by the rules in Table 1 is a decision procedure for the satisfiability ofT.

5 Implementation and Evaluation

We have implemented the techniques in the novel reasoning system Konclude that sup- portsSROIQVby (i) upfront grounding and (ii) tableau extensions with different op- timisations to handle the absorbed nominal schema axioms.

A detailed evaluation can be found in the technical report [15]. For brevity, we exemplarily show here some results for the University Ontology Benchmark (UOBM) [12] extended by DL-safe rules, which can straightforwardly be expressed as nominal schema axioms. The DL-safe rules allow for comparing Konclude to the DL reasoners HermiT 1.3.63and Pellet 2.3.0 [14]. To the best of our knowledge, these are the only reasoning systems that support DL-safe rules for such expressive ontologies. The used ontology (UOBM1\D, data properties removed) hasSH OINexpressivity and consists of 190,093 axioms, 69 classes, 36 properties, and 25,453 individuals. All experiments were performed on an Intel Core i7 940 quad core processor running at 2.93 GHz. The reasoners are restricted to use one core and all results are averaged over three runs.

Exceeding the time (memory) limit of 24 hours (10 GB) is shown astime(mem).

Table 2 shows the rules and the number of matches for each rule in the consistency check. However, since reasoning with UOBM1\D is non-deterministic, these numbers might vary between different executions and reasoners. Our system requires 1.03 s for preprocessing and 1.09 s for the consistency test for the ontology without rules. Table 3 then showsthe increasesin reasoning time for the ontology with nominal schema ax- ioms. In parenthesis we show the additional preprocessing time for the upfront ground- ing, which is mostly spend on absorption, lexical normalisation, etc. Upfront grounding fails for R5 since although two variables can be eliminated (see safety condition in [11]) it requires 647,855,209 new axioms. We have also implemented an optimisation where we create arepresentativefor a set of variable mappings. Only these representatives are then propagated and considered in the dependency directed backtracking, which saves memory. The direct propagation and the propagation of representatives are depicted (i) with and (ii) without the backward chaining (BC) optimisation, which is used to restrict the creation and propagation of variable mappings, i.e., variable mappings are only cre- ated if there is an opportunity to propagate them to a grounding concept. This is realised by additionally absorbing nominal schema axioms, where all nominal schemas are re- placed byO, and by using the created atomic concept from this absorption to identify

“interesting” individuals with possibly the grounding concept in the label. We then use a back propagation, whereby only binder concepts are activated that are in the scope of these “interesting” individuals. However, for example for rule R2, still nearly all vari- able mappings have to be created and propagated, and thus, the backward chaining only slightly improves the reasoning time.

3http://www.hermit-reasoner.com

(11)

Table 2.DL-safe Rules for UOBM-Benchmarks

Name DL-safe Rule Matches

R1 isFirendOf(?x,?y),like(?x,?z),like(?y,?z)→friendWithSameInterest(?x,?y) 4,037 R2 isFirendOf(?x,?y),takesCourse(?x,?z),takesCourse(?y,?z)→ 82

friendWithSameCourse(?x,?y)

R3 takesCourse(?x,?z),takesCourse(?y,?z),hasSameHomeTownWith(?x,?y)→ 940 classmateWithSameHomeTown(?x,?y)

R4 hasDoctoralDegreeFrom(?x,?z),hasMasterDegreeFrom(?x,?w), 369 hasDoctoralDegreeFrom(?y,?z),hasMasterDegreeFrom(?y,?w),

worksFor(?x,?v),worksFor(?y,?v),→workmateSameDegreeFrom(?x,?y) R5 isAdvisedBy(?x,?z),isAdvisedBy(?y,?z),like(?x,?w),like(?y,?w), 286

like(?z,?w)→personWithSameAdviserAllSameInterest(?x,?y)

Table 3.Comparison of the increases in reasoning time of the consistency tests in seconds Rule upfront direct propagation representative propagation HermiT Pellet

grounding withoutBC withBC withoutBC withBC 1.3.6 2.3.0

R1 (10.99) mem 9.12 7.10 5.06 3.38 31.46 6.33

R2 (10.92) 4.05 3.33 2.33 2.13 2.11 4.79 7.4

R3 (13.33) 3.55 1.98 0.62 2.20 0.76 1.67 142.25

R4 (16.44) 0.30 1.08 0.09 1.06 0.07 1.42 122.85

R5 (time) – 1.87 0.50 1.80 0.43 28.41 mem

Table 3 further shows the reasoning timeincreasefor HermiT and Pellet when a rule from Table 2 is added. Without rules Konclude requires 1.09 s, HermiT 23.24 s, and Pellet 2.22 s for a consistency test (ignoring loading and preprocessing time).

With backwards chaining and the propagation of representatives, the reasoning times for Konclude are significantly faster than HermiT’s or Pellet’s. HermiT uses, however, significantly less memory than the other systems. This might be because HermiT does not support complex roles, such ashasSameHomeTownWithin R3, in the body of rules and its results might be incomplete.

6 Conclusions

We have addressed the problem of practical reasoning with nominal schemas through an extended absorption algorithm and with slight modifications of standard tableau cal- culi. Our approach “collects” the bindings for nominal schema axioms that have to be grounded and considered for a specific node in the completion graph. The presented techniques have been implemented and our empirical evaluation, which focusses on DL-safe rules, shows that our approach works well even compared to reasoners with dedicated rule support.

Acknowledgements

The first author acknowledges the support of the doctoral scholarship under the Post- graduate Scholarships Act of the Land of Baden-Wuerttemberg (LGFG).

(12)

References

1. Baader, F., Calvanese, D., McGuinness, D., Nardi, D., Patel-Schneider, P. (eds.): The De- scription Logic Handbook: Theory, Implementation, and Applications. Cambridge Univer- sity Press, second edn. (2007)

2. Blackburn, P., Tzakova, M.: Hybridizing concept languages. Annals of Mathematics and Artificial Intelligence 24(1–4), 23–49 (1998)

3. Forgy, C.L.: Rete: A fast algorithm for the many pattern/many object pattern match problem.

Artificial Intelligence 19(1), 17–37 (1982)

4. Horrocks, I., Kutz, O., Sattler, U.: The even more irresistibleSROIQ. In: Proc. 10th Int.

Conf. on Principles of Knowledge Representation and Reasoning (KR’06). pp. 57–67. AAAI Press (2006)

5. Horrocks, I., Patel-Schneider, P.F., Boley, H., Tabet, S., Grosof, B.N., Dean, M.: SWRL:

A Semantic Web Rule Language. W3C Member Submission (21 May 2004), available at http://www.w3.org/Submission/SWRL/

6. Horrocks, I., Sattler, U.: A description logic with transitive and inverse roles and role hierar- chies. J. of of Logic and Computation 9(3), 385–410 (1999)

7. Horrocks, I., Tobies, S.: Reasoning with axioms: Theory and practice. In: Proc. 7th Int. Conf.

on Principles of Knowledge Representation and Reasoning (KR’00). pp. 285–296. Morgan Kaufmann (2000)

8. Hudek, A.K., Weddell, G.E.: Binary absorption in tableaux-based reasoning for description logics. In: Proc. 19th Int. Workshop on Description Logics (DL’06). vol. 189. CEUR (2006) 9. Kifer, M., Boley, H. (eds.): RIF Overview. W3C Working Group Note (22 June 2010), avail-

able athttp://www.w3.org/TR/rif-overview/

10. Krisnadhi, A., Hitzler, P.: A tableau algorithm for description logics with nominal schema.

In: Krötzsch, M., Straccia, U. (eds.) Proc. 6th Int. Conf. on Web Reasoning and Rule Systems (RR’12). LNCS, vol. 7497, pp. 234–237. Springer (2012)

11. Krötzsch, M., Maier, F., Krisnadhi, A., Hitzler, P.: A better uncle for OWL: nominal schemas for integrating rules and ontologies. In: Proc. 20th Int. Conf. on World Wide Web (WWW’11). pp. 645–654. ACM (2011)

12. Ma, L., Yang, Y., Qiu, Z., Xie, G., Pan, Y., Liu, S.: Towards a complete OWL ontology benchmark. In: Proc. 3rd European Semantic Web Conf. (ESWC’06). LNCS, vol. 4011, pp.

125–139. Springer (2006)

13. OWL Working Group, W.: OWL 2 Web Ontology Language: Document Overview.

W3C Recommendation (27 October 2009), available at http://www.w3.org/TR/

owl2-overview/

14. Sirin, E., Parsia, B., Cuenca Grau, B., Kalyanpur, A., Katz, Y.: Pellet: A practical OWL-DL reasoner. J. of Web Semantics 5(2), 51–53 (2007)

15. Steigmiller, A., Glimm, B., Liebig, T.: Nominal schema absorption. Tech.

Rep. UIB-2013-06, Ulm University, Ulm, Germany (2013), available online at http://www.uni-ulm.de/fileadmin/website_uni_ulm/iui/Ulmer_Informatik_

Berichte/2013/UIB-2013-06.pdf

16. Tsarkov, D., Horrocks, I.: Efficient reasoning with range and domain constraints. In: Proc.

17th Int. Workshop on Description Logics (DL’04). vol. 104. CEUR (2004)

(13)

A Correctness Proofs

A.1 Correctness of the Absorption Algorithm

In the following we prove the correctness of Theorem 1, i.e., the correctness of our mod- ified absorption algorithm presented in Section 3. We first show that the complete ab- sorption of a disjunct of an axiom is correct, i.e., it preserves the satisfiability (Lemma 1 and Lemma 2), and then we show that the correctness of a partially absorbed concept disjunct can be reduced to the complete absorption (Lemma 3).

Lemma 1 LetT denote a TBox,I=(∆II)an interpretation such thatI |=T, C a concept that is completely absorbable, A the concept returned byabsorbJoined({C}), andT0the extension ofT with all the axioms created byabsorbJoined({C}), then

1. for every extensionI0ofIsuch thatI0|=T0, it holds thatI0|=T,

2. for every extensionI0ofIsuch thatI0 |=T0, it holds for allδ∈∆I0thatδ∈AI0 ifδ<CI0, and

3. there exists an interpretationI0=(∆I0I0)such thatI0 |=T0with∆I0 =∆Iand δ∈AI0only ifδ<CI0.

Proof. (Claim 1) SinceT0is an extension ofT, it trivially follows thatI0|=T. (Claim 2) We first prove the simple cases whereCis completely absorbable and after- wards we show by induction that the lemma also holds for the complex cases.

• IfCis of the form¬A, thenabsorbConcept(C) directly returnsA, which is then also returned byabsorbJoined({C}). Thus, ifδ∈∆I0andδ<CI0, i.e.,δ<(¬A)I0, thenδ∈AI0. Hence, the lemma holds ifCis of the form¬A.

• IfCis of the form¬{a}, thenabsorbConcept(C) adds the axiom{a} vAtoT0and returnsA, which is then also returned byabsorbJoined({C}). Thus, ifδ<CI0, i.e., δ<(¬{a})I0, thenδ∈aI0and because, by assumption,I0|=T0, i.e.,I0|={a} vA, it follows thatδ∈AI0. Hence, the lemma holds ifCis of the form¬{a}.

For the complex cases we assume that all nested disjunctions are replaced by a sin- gle disjunction with all disjuncts, i.e., (C1 t(C2 tC3)) is replaced by (C1tC2 t C3). Furthermore, we automatically decompose a disjunction into the set of disjuncts by calling absorbJoined. This simplification is also done by the algorithm with the collectDisjunctsfunction, which is always called beforeabsorbJoined. Therefore, we can omitcollectDisjunctsfor callingabsorbJoined, which improves the readability.

Now, for a disjunct Cj, it follows that Cj is not a disjunction itself and it also fol- lows thatabsorbJoined({Cj}) only returns the atomic trigger concept that is returned byabsorbConcept(Cj).

LetC1, . . . ,Cn be completely absorbable concepts andA1, . . . ,An the atomic con- cepts returned byabsorbJoined({C1}), . . . ,absorbJoined({Cn}). By our induction hy- pothesis, the lemma holds forA1w.r.t.C1, . . . ,Anw.r.t.Cn.

• IfCis now of the formC1t. . .tCn, thenabsorbJoined({C1, . . . ,Cn}) collects the atomic conceptsA1, . . . ,Anby callingabsorbConcept(Cj) for eachCj, 16 j6n, and creates the binary absorption axioms (A1uA2)vT1,(T1uA3)vT2, . . . ,(Tn−2u

(14)

An)vA. Thus, ifδ<CI0, i.e.,δ<(C1t. . .tCn)I0, thenδ∈(¬C1u. . .u ¬Cn)I0 and as a consequenceδ ∈ (¬Cj)I0 for 1 6 j 6 n. Therefore, by the induction hypothesis we haveδ∈AIj0for all 16 j6n. Thus,δ∈AI10andδ∈AI20and since the interpretationI0|=T0with{(A1uA2)vT1,(T1uA3)vT2, . . . ,(Tn−2uAn)v A} ⊆ T0it follows thatδ∈ T1I0, δ∈T2I0, . . . , δ ∈AI0. Hence, the lemma holds by induction ifCis of the formC1t. . .tCn.

• IfC is of the formC1uC2, thenabsorbJoined({C}) returnsA, which is obtained by callingabsorbConcept(C), where additionally the axiomsA1 vAandA2 vA are created. Ifδ<CI0, i.e.,δ<(C1uC2)I0, thenδ∈(¬C1t ¬C2)I0. There are now two cases: Ifδ ∈ (¬C1)I0, then by the induction hypothesis we haveδ∈ AI10and due to the axiomA1 vAwe haveδ∈AI0. For the other case we haveδ∈(¬C2)I0 and by the induction hypothesisδ∈AI20and due to the axiomA2vAwe also have δ∈AI0. Hence, the lemma holds by induction ifCis of the formC1uC2.

• IfC is of the form∀r.C1, thenabsorbConcept(C) createsA1 v ∀r.A andAis returned by absorbJoined({C}). Thus, if δ < CI0, i.e., δ < (∀r.C1)I0, then δ ∈ (∃r.¬C1)I0. It follows that there existsγ ∈∆I0, (δ, γ)∈ rI0 withγ ∈(¬C1)I0and by the induction hypothesis we have γ ∈ AI10. As a consequence of the axiom A1 v ∀r.Awe also haveδ∈AI0. Hence, the lemma holds by induction ifCis of the form∀r.C1.

(Claim 3) We construct the interpretation I0 from I such that δ ∈ AI0 only if δ<CI0. Therefore, letI0=(∆I0I0) be an interpretation with∆I0=∆Iand·I0reduced from·Isuch that only the atomic concepts, atomic roles, and individuals occurring in T are interpreted. Obviously, it still holds thatI0 |=T since the interpretation of all axioms inT coincides withI. We now define the interpretation of the fresh atomic con- ceptsA1, . . . ,Amintroduced for the absorption ofCinI0. Note that we treat absorption axioms of the formA0v ∀r.Aiin their equivalent form∃r.A0vAi.

Now, for 16 i 6mand for each axiomH v Ai generated by the absorption, we exhaustively addδ∈∆I0toAIi0if (i)H =A0andδ∈A0I0, (ii)H ={a}andδ∈ {a}I0, (iii) H = (A0uA00) andδ ∈ A0I0∩A00I0, or (iv)H =∃r.A0andδ ∈ (∃r.A0)I0, i.e., δhas somer-neighbourγsuch that (γ, δ) ∈ rI0 andγ ∈ A0I0. We haveδ ∈ AIi0 only ifδsatisfies the left-hand side of an axiomA0 v Ai,{a} v Ai, or (A0uA00) v Ai, or

∃r.A0 vAi. Consequently, it follows thatI0 |=T0. Furthermore,δ< AI0ifδ∈ CI0, because of the following cases:

• IfCis of the form¬Aandδ∈CI0, i.e.,δ∈(¬A)I0, thenδ<AI0.

• IfC is of the form¬{a}for which the absorption has generated{a} v A and if δ∈CI0, i.e.,δ∈ (¬{a})I0, thenδ <{a}I0 and thenδ < AI0, because the left-hand side of{a} v A is not satisfied and there is also no other axiom that impliesA, becauseAis freshly used for{a} vA.

For the remaining cases, we again assume that the lemma holds forA1w.r.t.C1, . . . ,An w.r.t.Cn, whereA1, . . . ,Anare the atomic trigger concepts for absorbing the completely absorbable conceptsC1, . . . ,Cn. Therefore, it follows by induction thatδ< AI0 ifδ ∈ CI0, because:

• IfCis of the formC1t. . .tCnandδ∈CI0, i.e.,δ∈(C1t. . .tCn)I0, then there exists aCj, 16 j6nwithδ∈CIj0. By the induction hypothesis it follows thatδ< AIj0

(15)

and by the binary axiom chain (A1uA2)vT1,(T1uA3)vT2, . . . ,(Tj−2uAj)v Tj−1, . . . ,(Tn−2uAn)vA, which is generated for absorbingC1t. . .tCn, we have δ < AI0, because the left-hand side of the axiom (Tj−2 uAj) v Tj−1 cannot be satisfied.

• IfCis of the formC1uC2andδ ∈CI0, i.e.,δ ∈ (C1uC2)I0, thenδ ∈ C1I0 and δ∈CI20. By the induction hypothesis we haveδ <AI10 andδ <AI20. The left-hand side of the axiomsA1 vAandA2vAis not satisfied and the absorptions does not generate other axioms that implyA. Thus,δis not added toAI0.

• IfC is of the form∀r.C1 andδ ∈ CI0, i.e.,δ ∈ (∀r.C1)I0, then for all γ ∈ ∆I0 with (δ, γ)∈rI0 we also haveγ∈C1I0. By the induction hypothesis it follows that γ < AI1 and since the left-hand side of the generated axiom ∃r.A1 v Aiis not satisfied, and there are not any other axioms that implyA, we do not addδtoAI0

and, thus,δ<AI0. ut

We can now use Lemma 1 to show the correctness of the absorption for the case of a completely absorbable conceptCin an axiomCvD.

Lemma 2 ForT a TBox and CtD a disjunction, where C is completely absorbable and D is neither completely nor partially absorbable, letT1denote the TBox withT1= T ∪ {> vCtD}andT2denote the TBox withT2 =T ∪ {Av D} ∪X, where X are the axioms created by A ←absorbJoined({C}). Then, a concept C0is satisfiable with respect toT1iffit is satisfiable with respect toT2.

Proof. If direction: ForI2an interpretation withC0I2 ,∅andI2 |=T2, we show that I2|=T1. Because of the axiomAvD∈ T2for eachδ∈∆I2it holds that eitherδ<AI2 (and thusδ ∈ CI2 by Lemma 1) orδ ∈ DI2. Thus, the axiom> v (CtD) ∈ T1 is satisfied for everyδ∈∆I2and, therefore,I2|=T1.

Only if direction: ForI1an interpretation withC0I1,∅andI1|=T1, we construct an interpretationI01withC0I01 ,∅andI01 |=T2. SinceI1 |=T1andT1is an extension ofT, it follows thatI1 |=T. Because of Lemma 1, there exists an interpretationI01 that can be constructed fromI1for which it holds thatI01 |=T ∪Xand for allδ∈∆I01 thatδ∈AI01only ifδ<CI01. Thus, it also follows thatI01 |=AvD, because∆I01 =∆I1 and for allδ ∈ ∆I01it holds that eitherδ ∈ CI01 and thusδ < AI10 orδ ∈ DI01. Thus, if

C0I1,∅, thenC0I01,∅. ut

In order to show the correctness of the partial absorption of a disjunctionCtD, whereC is partially absorbable andDis neither completely nor partially absorbable, we reduce the problem to the complete absorption ofC0tCtD, where forC0it holds thatC0is completely absorbable andC0 vC. We show that the partial absorption of C is equivalent to the complete absorption of the concept C0. Therefore, the partial absorption ofCtDcorresponds to the complete absorption ofC0tCtD, which is obviously equisatisfiable toCtDsinceCsubsumesC0.

Lemma 3 Let C be a partially absorbable concept, thenabsorbJoined({C}) generates the absorption of a concept C0 for which it holds that C0 v C and C0 is completely absorbable.

(16)

Proof. IfCis already completely absorbable, then the lemma trivially holds since in this caseC0isC. Thus, we show in the following for all cases whereCis partially absorbable but not completely absorbable thatabsorbJoined({C}) generates the absorption of a more specific conceptC0for which it holdsC0vCandC0is completely absorbable.

• IfC is of the form ∀r.D0 and D0 (nnf(¬D0)) is neither completely nor partially absorbable, thenabsorbConcept(C) creates> v ∀r.A, which corresponds to the complete absorption of∀r.¬>for which it holds that∀r.¬> v ∀r.D0.

To prove the complex cases by induction, we assume that the conceptsD1, . . . ,Dmare partially absorbable and the lemma holds forD1, . . . ,Dm, i.e., the absorption completely absorbs the conceptsD01, . . . ,D0m, for which it holds thatD01vD1, . . . ,D0mvDm, and let A1, . . . ,Ambe the atomic trigger concepts that are achieved for absorbingD01, . . . ,D0m.

• IfCis of the form∀r.D1andD1is partially absorbable, thenabsorbConcept(C) creates A1 v ∀r.A, where A1 is the atomic trigger concept that is returned by absorbConcept(D1) for completely absorbingD01. The absorption ofCcorresponds to the complete absorption of∀r.D01 and, by the induction hypothesis, we have D01vD1. Thus, it also holds that∀r.D01v ∀r.D1.

• IfCis of the formD1t. . .tDmtC1t. . .tCnwithD1, . . . ,Dmpartially absorbable andC1, . . . ,Cm neither partially nor completely absorbable, then the absorption creates the binary axiom chain (A1uA2)vT1,(T1uA3)vT2, . . . ,(Tm−2uAm)vA, which corresponds to the complete absorption ofD01t. . .tD0m, whereA1, . . . ,Am

are again the atomic trigger concepts for absorbing D01, . . . ,D0m. Because of the induction hypothesis it holds thatD01t. . .tD0mvD1t. . .tDmtC1t. . .tCn.

• IfCis of the formD1uD2withD1,D2partially absorbable, then the absorption creates the axiomsA1vAandA2vA, which corresponds to the complete absorp- tion ofD01uD02, whereA1andA2are the atomic trigger concepts for absorbingD01 andD02. Because of the induction hypothesis it holds thatD01uD02vD1uD2. ut

A.2 Correctness of Nominal Schema Absorption

In the following we prove the correctness of Theorem 2, i.e., our nominal schema ab- sorption technique presented in Section 4. For this, we roughly proceed as follows:

Given a nominal schema axiomC vDand an absorbed TBoxT, then forTnsandTug as the TBoxes obtained from absorbingT ∪ {C v D}andT ∪ {U1, . . . ,Uh}, respec- tively, whereU1, . . . ,Uh are the upfront grounded axioms ofC v D, we show that a fully expanded and clash free completion graphGnsforTnscan be converted to a fully expanded and clash free completion graphGugforTug. Furthermore, we show that our extended tableau algorithm constructs a complete and clash free completion graphGns forTnsif there exists a fully expanded and clash free completion graphGugforTugthat is constructed by a standard tableau algorithm.

Please note that we only work with TBoxes instead of knowledge bases. This as- sumption is w.l.o.g. since in the presence of nominals ABoxes can be internalised (e.g., C(a) is equivalent to the GCI{a} vA,r(a1,a2) to{a} v ∃r.{b}, etc.). We assume, there- fore, that a completioncompTY(M) is analogously defined to the completioncompKY(M) withK =(T,∅).

(17)

To simplify the conversion between a completion graph forTnsand a standard com- pletion graph forTug, we ensure that all concept facts can directly be converted into con- cept facts for the other completion graph. Therefore, we make the following simplify- ing assumptions: We assume that the absorption of nominals of the form¬{a}generates {a} v > uAinstead of{a} vA(cf. Algorithm 4, line 14), which is obviously logically equivalent. As a result, binder concepts such as↓x.Acan be directly converted to con- cepts of the form> uA. We also assume that the absorption of the upfront grounded axiomC[µ] v D[µ], by the variable mappingµ, creates a new special grounding con- ceptgrµ(D) to add the remaining, non-absorbable part of the axiom instead of directly implying D[µ]. This new concept construct retains the mappingµand corresponds to the grounding conceptgr(D) that is created for the absorption of the nominal schema axiomCvD.

Before introducing the actual conversion, we first define the notion of concept and axiom set closure:

Definition 4 (Closure).Theclosureclos(C0)of a concept C0is a set of concepts that is closed under sub-concepts of C0and also contains C0. Additionally,fclos(Z)is the extension to a set of axioms Z:

fclos(Z) := [

C0vD0∈Z

clos(¬C0tD0).

For a TBoxT and an axiom C0vD0withnnf(¬C0)completely and D0not completely absorbable, theabsorption closureaclosT(C0 vD0) forT andC0 vD0contains the new concepts introduced by the absorption of C0vD0and is defined as:

aclosT(C0vD0) :=fclos(X01, . . . ,Xn0)\(fclos(T)∪clos(D0)), where X10, . . . ,Xn0are the axiom introduced by the absorption of C0vD0.

Note that the concepts in the absorption closure are those that are relevant for the con- version between completion graphs since these are the concepts with variable mappings.

Now, the actual conversion of concepts and axioms obtained from the absorption is defined as follows:

Definition 5 (Conversion).Let C vD be a nominal schema axiom wherennf(¬C)is completely and D not completely absorbable, and letµbe a mapping withdom(µ)= Vars(¬CtD). Furthermore, letT be an absorbed TBox,TnsandTugTBoxes obtained by absorbingT ∪ {CvD}andT ∪ {U1, . . . ,Uh}, respectively, where U1, . . . ,Uhare the axioms obtained by the upfront grounding of CvD. We denote the axioms (in creation order) and fresh atomic concepts obtained by absorbingnnf(¬CtD)with X1, . . . ,Xn

and A1, . . . ,Ag, respectively. Similarly, we use Xµ1, . . . ,Xnµand Aµ1, . . . ,Aµg for the case of absorbingnnf((¬CtD)[µ]).

For the concept C0, we inductively define theconcept conversionconvµ(C0) ofC0 w.r.t.T,CvDandµas

convµ(C0)=

















C0 if C0<aclosT(CvD) (> uconvµ(C00)) if C0=↓x.C00

grµ(D) if C0=gr(D) C0

[A1/Aµ1,...,Ag/Aµg] otherwise,

Références

Documents relatifs

Given a Hilbert space H characterise those pairs of bounded normal operators A and B on H such the operator AB is normal as well.. If H is finite dimensional this problem was solved

The Cluster File Access Workstation Agent is installed on each client workstation that has disks to be accessed by other workstations in the cluster. On the Executive command

d’attribution précisé par le Fournisseur d’Information et/ou le Contributeur externe d’Information conformément à ce qui est indiqué lorsque vous accédez au serveur de

Dans ces situations, la r ealisation d’une pr e-coupe papillaire pr ecoce, l’utilisation d’un fil guide pancr eatique ou d’une proth ese pancr eatique peuvent faciliter la

Our studies suggest that pinocytic uptake by AM represents a degradation pathway for inhaled proteins, which competes with absorption of proteins across lung epithelia and

2. Duty to harmonize the special or regional conventions with the basic principles of this Convention. It is a convenient flexibility to allow the amendment of the application of

As far as our understanding of integrable billiards is concerned, the most important related results are the above–mentioned theorem by Bialy [3] (see also [38]), a result by

In order to test our approach, we apply it in the context of stochastic optimisation, specifically as a means to derive both lower and upper bounds for stochastic network