<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>S HOI Q with transitive closure of roles is decidable</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Chan Le Duc</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Myriam Lamolle</string-name>
          <email>myriam.lamolleg@iut.univ-paris8.fr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Olivier Cure´</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>LIASD Universite ́ Paris 8 - IUT de Montreuil</institution>
          ,
          <country country="FR">France</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>LIGM Universite ́ Paris-Est</institution>
          ,
          <country country="FR">France</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>The Semantic Web makes an extensive use of the OWL DL ontology language, underlied by the SHOIQ description logic, to formalize its resources. In this paper, we propose a decision procedure for this logic extended with the transitive closure of roles in concept axioms, a feature needed in several application domains. To address the problem of consistency in this logic, we introduce a new structure for characterizing models which may have an infinite non-tree-like part.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1 Introduction</title>
      <p>
        The ontology language OWL-DL [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] is widely used to formalize data resources on the
Semantic Web. This language is mainly based on the description logic SHOIN which
is known to be decidable [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Although SHOIN provides transitive roles to model
transitivity of relations, we can find several applications in which the transitive closure
of roles, that is more expressive than transitive roles, is needed. For instance, if we
denote by R and R+ the inverse and transitive closure of a role R respectively then
it is obvious that the concept 9R+:8R :? is unsatisfiable w.r.t. an empty TBox. If we
now substitute R+ for a transitive role Rt such that R v Rt (i.e. we substitute each
occurrence of R+ in axioms for Rt) then the concept 9Rt:8R :? is satisfiable. The
point is that an instance of R+ represents a sequence of instances of R but an instance
of Rt corresponds to a sequence of instances of itself.
      </p>
      <p>
        In this paper, we consider an extension of SHOIQ by enabling transitive closure
of roles in concept axioms. In the general case, transitive closure is not expressible in
the first order logic [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], the logic from which DL is a sublanguage, while the second
order logic is sufficiently expressive to do so.
      </p>
      <p>
        In the DL literature ([
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]; [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]), there have been works dealing with transitive closure
of roles. Recently, Ortiz [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] has proposed an algorithm for deciding consistency in the
logic ALCQIbr+eg which allows for transitive closure of roles. However, nominals are
disallowed in this logic. It is known that reasoning with a DL including number
restrictions, inverse roles, nominals and transitive closure of roles is hard. The reason for this
is that there exists an ontology in that DL whose models have an infinite non-tree-like
part. Calvanese et al. [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] have presented an automata-based technique for dealing with
the logic ZOIQ that includes transitive closure of roles, and showed that the sublogics
ZIQ, ZOQ and ZOI are decidable. To obtain this result, the authors have introduced
the quasi-forest model property to characterize models of ontologies in these sublogics.
Although they are very expressive, none of these sublogics includes SHOIQ with
transitive closure of roles, namely SHOIQ(+). The following example3, noted K1, shows
that there is an ontology in SHOIQ(+) which does not enjoy the quasi-forest model
property. We consider the following axioms:
(1) fog v A; A u B v ?; A v 9R:A u 9R0:B; B v 9S+: o
f g
(2) fog v 8X :?; &gt; v 1 X:&gt;; &gt; v 1 X :&gt; where X 2 fR; R0; Sg
Figure 1 shows an infinite non-tree-like model of K1. In fact, each individual x that
satisfies 9S+: o
      </p>
      <p>f g must have two distinct paths from x to the individual satisfying nominal
o. Intuitively, we can see that (i) such a x must satisfy 9S+:fog and B, (ii) an individual
satisfying B must connect to another individual satisfying A which must have a R-path
to nominal o, and (iii) two concepts A and B are disjoint.</p>
      <p>
        This example shows that methods ([
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]) based on the hypothesis which says
that if an ontology is consistent it has a quasi-forest model, could fail to address the
problem of consistency in a DL including simultaneously O (nominals), I (inverse
roles), Q (number restrictions) and transitive closure of roles.
      </p>
      <p>
        In this paper, we propose a decision procedure for the problem of consistency in
SHOIQ with transitive closure of roles in concept axioms. The underlying idea of our
algorithm is founded on the star-type and frame notions introduced by Pratt-Hartmann
[
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. This technique uses star-types to represent individuals and “tiles” them together
to form a frame for representing a model. For each star-type , we maintain a
function ( ) which stores the number of individuals satisfying this star-type. To obtain
termination condition, we introduce two additional structures into a frame : (i) the first
one, namely cycles, describes duplicate parts of a model resulting from interactions of
logic constructors in SHOIQ, (ii) the second one, namely blocking-blocked cycles,
describes parts of a model bordered by cycles which allow a frame to satisfy transitive
closure of roles occurring in concepts of the form 9R+:C.
2
      </p>
      <sec id="sec-1-1">
        <title>The Description Logic SHOI Q(+)</title>
        <p>In this section, we present the syntax, the semantics and main inference problems of
SHOIQ(+). In addition, we introduce a tableau structure for SHOIQ(+), which
allows us to represent a model of a SHOIQ(+) knowledge base.
3 This example is initially proposed by Sebastian Rudolph from an informal discussion</p>
        <sec id="sec-1-1-1">
          <title>Definition 1. Let R be a non-empty set of role names and R+ R be a set of tran</title>
          <p>sitive role names. We use RI = fP j P 2 Rg to denote a set of inverse roles, and
R = fQ+ j Q 2 R [ RIg to denote a set of transitive closure of roles. Each element
of R [ RI [ R is called a SHOIQ(+)-role. A role inclusion axiom is of the form
R v S for two SHOIQ(+)-roles R and S such that R 2= R and S 2= R . A role
hierarchy R is a finite set of role inclusion axioms. An interpretation I = ( I ; I )
consists of a non-empty set I (domain) and a function I which maps each role name
to a subset of I I such that</p>
          <p>R I = fhx; yi 2 I I j hy; xi 2 RI g for all R 2 R,
hx; zi 2 SI ; hz; yi 2 SI implies hx; yi 2 SI for each S 2 R+, and</p>
          <p>(Q+)I = [ (Qn)I with (Q1)I = QI ,
(Qn)I = fhx; yi 2 ( I )2 j 9z 2
n&gt;0</p>
          <p>I ; hx; zi 2 (Qn 1)I ; hz; yi 2 QI g for Q+ 2 R</p>
          <p>An interpretation I satisfies a role hierarchy R if RI SI for each R v S 2 R.
Such an interpretation is called a model of R, denoted by I j= R. To simplify notations
for nested inverse roles and transitive closures of roles, we define two functions and
as follows:
R = &gt;:&gt;&lt;&gt;8&gt; (SSRS+ )+ iiiiffff RRRR 2=== R(SSS+;,a)Sn+d2,SSR22; RR; R = &gt;:&gt;&gt;&lt;&gt;8 ((SRSS++ ))++ iiiiffff RRRR 2=== R((SSS;++a))n+daaSnndd2SSR22; RR;</p>
          <p>A relation v is defined as the transitive-reflexive closure R+ of v on R [ fR v
S j R v S 2 Rg [ fR v S j R v S 2 Rg [ fQ v Q j Q 2 R [ RIg. We
define a function Trans(R) which returns true iff there is some Q 2 R+ [ fP j P 2
R+g [ fP j P 2 R [ RIg such that QvR 2 R+. A role R is called simple w.r.t. R
if Trans(R) = false.</p>
          <p>
            The reason for the introduction of two functions and in Definition 1 is that
they avoid using R and R++. Moreover, it remains a unique nested case (R )+.
According to Definition 1, axiom R v Q is not allowed in a role hierarchy R since
this may lead to undecidability [
            <xref ref-type="bibr" rid="ref10">10</xref>
            ]. Notice that the closure R+ may contain R v Q
if R v Q belongs to R+.
          </p>
          <p>Definition 2 (terminology). Let C be a non-empty set of concept names with a
nonempty subset Co C of nominals. The set of SHOIQ(+)-concepts is inductively
defined as the smallest set containing all C in C, &gt;, C u D, C t D, :C, 9R:C, 8R:C,
( n S:C) and ( n S:C) where n is a positive integer, C and D are
SHOIQ(+)concepts, R is an SHOIQ(+)-role and S is a simple role w.r.t. a role hierarchy. We
denote ? for :&gt;. The interpretation function I of an interpretation I = ( I ; I ) maps
each concept name to a subset of I such that &gt;I = I , (C u D)I = CI \ DI ,
(C tD)I = CI [DI , (:C)I = I nCI , jfoI gj = 1 for all o 2 Co, (9R:C)I = fx 2</p>
          <p>I j 9y 2 I ; hx; yi 2 RI ^ y 2 CI g, (8R:C)I = fx 2 I j 8y 2 I ; hx; yi 2
RI ) y 2 CI g, ( n S:C)I = fx 2 I j jfy 2 CI j hx; yi 2 SI j ng,
( n S:C)I = fx 2 I j jfy 2 CI j hx; yi 2 SI j ng where jSj is denoted for the
cardinality of a set S. An axiom C v D is called a general concept inclusion (GCI)
where C; D are SHOIQ(+)-concepts (possibly complex), and a finite set of GCIs is
called a terminology T . An interpretation I satisfies a GCI C v D if CI DI and I
satisfies a terminology T if I satisfies each GCI in T . Such an interpretation is called
a model of T , denoted by I j= T . A pair (T ; R) is called a SHOIQ(+) knowledge
base where R is a SHOIQ(+) role hierarchy and T is a SHOIQ(+) terminology. A
knowledge base (T ; R) is said to be consistent if there is a model I of both T and R,
i.e., I j= T and I j= R. A concept C is called satisfiable w.r.t. (T ; R) iff there is some
interpretation I such that I j= R, I j= T and CI 6= ;. Such an interpretation is called
a model of C w.r.t. (T ; R). A concept D subsumes a concept C w.r.t. (T ; R), denoted
by C v D, if CI DI holds in each model I of (T ; R). C</p>
          <p>
            Since unsatisfiability, subsumption and consistency w.r.t. a SHOIQ(+) knowledge
base can be reduced to each other, it suffices to study knowledge base consistency. For
the ease of construction, we assume all concepts to be in negation normal form (NNF),
i.e., negation occurs only in front of concept names. Any SHOIQ(+)-concept can be
transformed to an equivalent one in NNF by using DeMorgan’s laws and some
equivalences as presented in [
            <xref ref-type="bibr" rid="ref11">11</xref>
            ]. According to [
            <xref ref-type="bibr" rid="ref12">12</xref>
            ], nnf(C) can be computed in polynomial
time in the size of C. For a concept C, we denote the nnf of C by nnf(C) and the nnf of
:C by :_C. Let D be a SHOIQ(+)-concept in NNF. We define cl(D) to be the smallest
set that contains all sub-concepts of D including D. For a knowledge base (T ; R), we
reuse cl(T ; R), which was introduced by Horrocks et al. [
            <xref ref-type="bibr" rid="ref7">7</xref>
            ], to denote all sub-concepts
occurring in the axioms of (T ; R). We have cl(T ; R) is bounded by O(j(T ; R)j) [
            <xref ref-type="bibr" rid="ref7">7</xref>
            ].
To translate star-type and frame structures presented by Pratt-Hartmann (2005) for C2
into those for SHOIQ, we need to add new sets of concepts, denoted cl1(T ; R) and
cl2(T ; R), to the signature of a SHOIQ(+) knowledge base (T ; R).
cl1(T ; R) = f mS:C j f( nS:C); ( nS:C)g \ cl(T ; R) 6= ;; 1 m ng [
f mS:C j f( nS:C); ( nS:C)g \ cl(T ; R) 6= ;; 1 m ng
          </p>
          <p>For a generating concept ( nS:C) and a set I f0; ; log n + 1g, we denote
C(I nS:C) = l C(i nS:C) u l :C(j nS:C) where C(i nS:C) are new concept names
for 0</p>
          <p>i
cl2(T ; R) = fC(i S:C) j (</p>
          <p>
            i2I j2=I
log n + 1. We define cl2(T ; R) as follows:
nS:C) 2 cl(T ; R) [ cl1(T ; R); 0
i
log n + 1g[
fC(I nS:C) j (
nS:C) 2 cl(T ; R) [ cl1(T ; R); I
f0; ; log n + 1gg
Remark 1. If numbers are encoded in binary then the number of new concept names
C(i nS:D) for 0 i log n + 1, is bounded by O(j(T ; R)j) since n is bounded by
O(2j(T ;R)j). This implies that jcl2(T ; R)j is bounded by O(2j(T ;R)j). Note that two
concepts C(I nS:C) and C(J nS:C) are disjoint for all I; J f0; ; log n + 1g, I 6= J .
The concepts C(9S:C) and C(I nS:C) will be used for building chromatic star-types. This
notion will be clarified after introducing the frame structure (Definition 5).
Finally, we denote CL(T ; R) = cl(T ; R) [ cl1(T ; R) [ cl2(T ; R), and use R(T ; R)
to denote the set of all role names occurring in T ; R with their inverse. The definition
of CL(T ; R) is inspired from the Fischer-Ladner closure that was introduced in [
            <xref ref-type="bibr" rid="ref13">13</xref>
            ].
The closure CL(T ; R) contains not only sub-concepts syntactically obtained from T
but also sub-concepts that are semantically derived from T w.r.t. R. For instance, if
8S:C is a sub-concept from T and RvS 2 R then 8R:C 2 CL(T ; R).
          </p>
          <p>
            To describe a model of a SHOIQ(+) knowledge base in a more intuitive way, we
use a tableau structure that expresses semantic constraints resulting directly from the
logic constructors in SHOIQ(+). A tableau definition for SHOIQ(+) can be found
in [
            <xref ref-type="bibr" rid="ref14">14</xref>
            ].
3
          </p>
        </sec>
      </sec>
      <sec id="sec-1-2">
        <title>A Decision Procedure For SHOI Q(+)</title>
        <p>This section starts by translating star-type and frame structures presented by
PrattHartmann (2005) for C2 into those for SHOIQ(+).</p>
        <p>Definition 3 (star-type). Let (T ; R) be a SHOIQ(+) knowledge base. A star-type
is a pair = h ( ); ( )i, where ( ) 2 2CL(T ;R) is called core label, ( ) =
(hr1; l1i; ; hrd; ldi) is a d-tuple over 2R(T ;R) 2CL(T ;R). A pair hr; li is a ray of
if hr; li = hri; lii for some 1 i d. We use hr( ); l( )i to denote a ray = hr; li
where r( ) = r and l( ) = l.</p>
        <p>– A star-type is nominal if o 2 ( ) for some o 2 Co.
– A star-type is chromatic if 6= 0 implies l( ) 6= l( 0) for two rays ; 0 of .</p>
        <sec id="sec-1-2-1">
          <title>When a star-type is chromatic, ( ) can be considered as a set of rays.</title>
          <p>– Two star-types ; 0 are equivalent if ( ) = ( 0), and there is a bijection
between ( ) and ( 0) such that ( ) = 0 implies r( 0) = r( ) and l( 0) = l( ).</p>
        </sec>
        <sec id="sec-1-2-2">
          <title>We denote</title>
          <p>for the set of all star-types for (T ; R).</p>
          <p>Note that for a chromatic star-type , ( ) can be considered as a set of rays since
rays are distinct and not ordered. We can think of a star-type as the set of individuals
x satisfying all concepts in ( ), and each ray of corresponds to a “neighbor”
individual xi of x such that r( ) is the label of the link between x and xi; and xi
satisfies all concepts in l( ). In this case, we say that x satisfies .</p>
          <p>Definition 4 (valid star-type). Let (T ; R) be a SHOIQ(+) knowledge base. Let be
a star-type for (T ; R) where = h ( ); ( )i. The star-type is valid if is chromatic
and the following conditions are satisfied:
1. If C v D 2 T then nnf(:C t D) 2 ( );
2. fA; :Ag 6 for every concept name A where = ( ) or = l( ) for each
2 ( );
3. If C1 u C2 2 ( ) then fC1; C2g ( );
4. If C1 t C2 2 ( ) then fC1; C2g \ ( ) 6= ;;
5. If 9R:C 2 ( ) then there is some ray 2 ( ) such that C 2 l( ) and R 2 r( );
6. If ( nS:C) 2 ( ) and there is some ray 2 ( ) such that S 2 r( ) then</p>
          <p>C 2 l( ) or :_C 2 l( );
7. If ( nS:C) 2 ( ) and there is some ray 2 ( ) such that C 2 l( ) and S 2
r( ) then there is some 1 m n such that f( mS:C); ( mS:C)g ( );
8. For each ray 2 ( ), if R 2 r( ) and RvS then S 2 r( );
C
( ) and R 2 r( ) for some ray 2 ( ) then C 2 l( );</p>
          <p>( ), SvR, Trans(S) and R 2 r( ) for some ray
9. If 8R:C 2
10. If 8R:D 2</p>
          <p>8S:D 2 l( );
11. If 8Q :C 2 ( ), RvQ and R 2 r( ) for some ray
12. If 9Q :C 2 ( ) then (9Q:C t 9Q:9Q :C) 2 ( );
13. If ( nS:C) 2 ( ) then there are n distinct rays 1; ; n 2
fC; C(Ii nS:C)g l( i), S 2 r( i) for all 1 i n; and Ij ; Ik
1g, Ij 6= Ik for all 1 j &lt; k n.
14. If ( nS:C) 2 ( ) and there do not exist n + 1 rays 0;</p>
          <p>C 2 l( i) and S 2 r( i) for all 0 i n.
2 ( ) then 8Q :C 2 l( );</p>
          <p>( ) such that
f0; ; log n +
; n 2 ( ) such that</p>
          <p>C
( ) then</p>
          <p>Roughly speaking, a star-type is valid if each individual x satisfies semantically
all concepts in ( ). In fact, each condition in Definition 4 represents the semantics of a
constructor in SHOIQ(+) except for transitive closure of roles. From valid star-types,
we can “tile” a model instead of using expansion rules for generating nodes as described
in tableau algorithms. Before presenting how to “tile” a model from star-types, we need
some notation that will be used in the remainder of the paper.</p>
          <p>Notation 1 We call P = h( 1; 1; d1);
i 2 ( i) and di 2 N for 1 i k.</p>
          <p>; ( k; k; dk)i a sequence where i 2
– tail(P) = ( k; k; dk), tail (P) = k, tail (P) = k, tail (P) = dk and jPj = k.</p>
          <p>We denote L(P) = (tail (P)).
– pi(P) = ( i; i; di), pi (P) = i, pi (P) = i and pi (P) = di for each 1 i k.
– an operation add(P; ( ; ; d)) extends P to a new sequence with add(P; ( ; ; d)) =
hP; ( ; ; d)i.</p>
          <p>Definition 5 (frame). Let (T ; R) be a SHOIQ(+) knowledge base. A frame for (T ; R)
is a tuple F = hN ; No; ; i, where
1. N is a set of valid star-types such that is not equivalent to 0 for all ; 0 2 N ;
2. No N is a set of nominal star-types;
3. is a function that maps each pair ( ; ) with 2 N and 2 ( ) to a sequence
( ; ) = h( 1; 1; d1); ; ( m; m; dm)i with i 2 N , i 2 ( i), di 2 N for
1 i m such that for each i with 1 i m, it holds that l( ) = ( i),
l( i) = ( ) and r( i) = r ( ) where r ( ) = fR j R 2 r( )g.
4. is a function : N ! N. By abuse of notation, we also use to denote a function
which maps each pair ( ; ) with 2 N and 2 ( ) into a number in N, i.e.,
( ; ) 2 N. C
The frame structure, as introduced in Definition 5, allows us to compress individuals
of a model into star-types. For each star-type and each ray 2 ( ), a list ( ; ) of
triples ( i; i; di) with i 2 ( i) is maintained where i is a “neighbor” star-type of
via 2 ( ), and di indicates the di-th “layer” of rays of i. We can think a layer of
rays of i as an individual that connects to its neighbor individuals via the rays of i.
The following definition presents how to connect such layers to form paths in a frame.
Definition 6 (path). Let F = hN ; No; ; i be a frame for a SHOIQ(+) knowledge
base (T ; R). A path is inductively defined as follows:</p>
          <p>We define P P0 if tail (P) = tail (P0) and tail (P) = tail (P0). Since is an
equivalence relation over the set of all paths, we use P to denote the set of all
equivalence classes [P] of paths in F . For [P]; [Q] 2 P, we define:
1. [P] is a neighbor ( 0-neighbor) of [Q] if there are P0 2 [P] and Q0 2 [Q] such that</p>
          <p>Q0 is a neighbor ( 0-neighbor) of P0;
2. [Q] is a reachable path of [P] if there are [P1]; ; [Pn] 2 P such that [Pi+1] is
a neighbor of [Pi] for all 1 i &lt; n where [P1] = [P] and [Q] = [Pn].
3. [Q] is a Q-neighbor of [P] if there are P0 2 [P] and Q0 2 [Q] such that Q0 is a</p>
          <p>Q-neighbor of P0, or P0 is a Q -neighbor of Q0;
4. [Q] is a Q-reachable path of [P] if there are [P1]; ; [Pn] 2 P such that [Pi+1]
is a Q-neighbor of [Pi] for all 1 i &lt; n where [P1] = [P] and [Q] = [Pn]. C
Note that for two paths P; P0 with tail (P) 6= tail (P0), we have P P0 if
tail (P) = tail (P0) and tail (P) = tail (P0). This does not allow for extending
tail (P) to tail ([P]). As a consequence, there may be several “predecessors” of an
equivalence class [P]. However, we can define tail ([P]) = tail (P), tail ([P]) =
tail (P) and L([P]) = L(P). In the sequel, we use P instead of [P] whenever it is
clear from the context.</p>
          <p>Definition 7 (cycle). Let F = hN ; No; ; i be a frame for a SHOIQ(+) knowledge
base (T ; R) with a set P of paths in F .
1. A cycle is a set of triples (P; ; Q) with P; Q 2 P and 2 (tail (P)) such
that for each (P; ; Q) 2 the following conditions are satisfied:
(a) tail (P) &gt; 1 and tail (Q) &gt; 1;
(b) If P0 is the -neighbor of P then tail (P0) = tail (Q);
(c) for each sequence P1; ; Pn 2 P such that P1 = P, P2 is not the
neighbor of P, and Pi+1 is a neighbor of Pi for 1 i &lt; n, there is some
(P00; 00; Q00) 2 such that
i. either Q00 = Pj , tail (Pj+1) = tail (P00), tail (Pj+1) tail (P00) and</p>
          <p>Pj is the -neighbor of Pj+1 for some 1 &lt; j &lt; n,
ii. or there are Pn+1; ; Pn+m 2 P with Q00 = Pn+m 1, tail (Pn+m) =
tail (P00), tail (Pn+m) tail (P00) and Pi+1 is a neighbor of Pi for
n i &lt; n + m.</p>
          <p>
            In this case, we say that Q is cycled by P via .
2. A cycle 0 is a reachable cycle of if for each (P; ; Q) 2 and for each sequence
P1; ; Pn 2 P such that P1 = P, P2 is not a -neighbor of P, and Pi+1 is a
neighbor of Pi for 1 i &lt; n, there is some (P00; 00; Q00) 2 0 such that
(a) either Q00 = Pj , tail (Pj+1) = tail (P00), tail (Pj+1) tail (P00) and Pj is
a -neighbor of Pj+1 for some 1 &lt; j &lt; n,
(b) or there are Pn+1; ; Pn+m 2 P with Q00 = Pn+m 1, tail (Pn+m) =
tail (P00), tail (Pn+m) tail (P00) and Pi+1 is a neighbor of Pi for n i &lt;
n + m. C
Note that cycles may encapsulate loops if tail (Pj+1) = tail (P00) holds in
Conditions 1(c)i and 1(c)ii, Definition 7. Let be a cycle in a frame. Definition 7 ensures
that each reachable path of some path P with (P; ; Q) 2 goes through a star-type
= tail (Q0) with some (P0; 0; Q0) 2 . Such a cycle, which is similar to
blockingblocked nodes in completion graphs for SHOIQ [
            <xref ref-type="bibr" rid="ref7">7</xref>
            ], allows for “unravelling” infinitely
the frame to obtain a model of a KB in SHOIQ (without transitive closure of roles).
This means that we can extend the set P of paths by adding infinitely paths which
lengthen Q such that (P; ; Q) 2 and P is not a neighbor of Q. However, such a
cycle structure is not sufficient to represent models of a KB with transitive closure of roles
since a concept such as 9Q :D 2 L(P) can be satisfied by a Q-reachable path P0 of
P which is arbitrarily far from P. There are the following possibilities for an algorithm
which builds a frame: (i) the algorithm stops building the frame as soon as a cycle
is detected such that each concept of the form 9Q :D occurring in L(P) for each
cycling path P of is satisfied, i.e., P has a Q-reachable path P0 with 2 9Q:D 2 L(P),
(ii) despite of several detected cycles, the algorithm continues building the frame
until each concept of the form 9Q :D occurring in L(P) is satisfied for each cycling
path P of . If we adopt the first possibility, the completeness of such an algorithm
cannot be established since there are models in which paths satisfying concepts of the
form 9Q :D can spread over several “iterative structures” such as cycles. For this
reason, we adopt the second possibility by introducing into frames an additional structure,
namely blocking-blocked cycles, which determines a sequence of cycles 1; ; k
such that i+1 is a reachable cycle of i. Reachability of cycles allows for
“unravelling” the frame between cycled paths Q0 with (P0; 0; Q0) 2 k and cycling paths P
with (P; ; Q) 2 1.
          </p>
          <p>Definition 8 (blocking). Let F = hN ; No; ; i be a frame for a SHOIQ(+)
knowledge base (T ; R) with a set P of all paths in F .</p>
        </sec>
        <sec id="sec-1-2-3">
          <title>1. A cycle 0 is blockable by a cycle if 0 is a reachable cycle of , and for</title>
          <p>each (P0; 0; Q0) 2 0 there is some (P; ; Q) 2 such that L(P) = L(P0),
L(Q) = L(Q0) and r( ) = r( 0). In this case, we say that Q0 is blockable by P
via .
2. A cycle 0 is blocked by a cycle if there are 1; ; k with = 1, 0 =
k such that i+1 is blockable by i for 1 i &lt; k, and for each ( ; s; 0) 2
2CL(T ;R) 2R(T ;R) 2CL(T ;R) with 9Q :D 2 ,
– if there is some path Pk with (Pk; k; Qk) 2 k, L(Pk) = , L(Qk) = 0,
s = r( k) such that Pk has no Q-reachable path Pk0 with 9Q:D 2 L(Pk0),
– then there is some P1 with (P1; 1; Q1) 2 1, L(P1) = , L(Q1) = 0,
r( 1) = s such that for each 9P :C 2 L(P1),
there is a P -reachable path Q00 of P1 with 9P:C 2 L(Q00), and
there are two triples (Pj ; j ; Qj ) 2 j and (Pj+1; j+1; Qj+1) 2 j+1
for some 1 j &lt; k,
which satisfy that Q00 is a reachable path of Qj and Qj+1 is a reachable path
of Q00.</p>
          <p>In this case, we say that P1 blocks Pk via k. C
According to Definition 8, there are a sequentially reachable cycles between a
blocking cycle 1 and a blocked cycle k, which allows for unravelling the frame
between k and 1. Condition 2 Definition 8 says that if (P; ; Q) 2 k and L(P)
contains concepts of the form 9Q :D which are not satisfied by reachable paths of P
then there exists some P0 with (P0; 0; Q0) 2 1 which allows for satisfying these
concepts 9Q :D in L(P) by unravelling. We would like to note that a path P is blocked if
there is some blocked cycle k such that (P; ; Q) 2 k.</p>
          <p>Definition 9 (valid frame). Let (T ; R) be a SHOIQ knowledge base. A frame F =
hN ; No; ; i is valid if the following conditions are satisfied:</p>
          <p>P0.
1. For each o 2 Co there is a unique o 2 No such that o 2 ( o) and ( o) = 1;
2. For each 2 N , is valid;
3. If 9Q :C 2 (tail (P0)) for some P0 2 P then there are P; P0 2 P such that
one of the following conditions is satisfied:
(a) P0 = P = P0 and 9Q:C 2 L(P0);
(b) P0 is a Q-reachable of P, and 9Q:C 2 L(P0) where P = P0 or P blocks P0;
(c) P is a Q -reachable of P0, and 9Q:C 2 L(P0) where P = P0 or P blocks
C</p>
          <p>
            Conditions 1-3 in Definition 9 ensure satisfaction of tableau properties [
            <xref ref-type="bibr" rid="ref14">14</xref>
            ]. In
particular, Condition 3 takes into account satisfaction of transitive closure of roles. In fact,
for each blocking path P with 9Q :D 2 L(P), this condition says that P must be
satisfied by a Q-reachable path P0 of P between a blocking cycle 1 and a blocked
cycle k. If there is some path Q between 1 and k with 9S :C 2 L(Q) that is not
satisfied, due to the construction of star-types and frames, a concept 9S :C is
propagated along S-reachable paths of Q. This implies that Q has a S-reachable path Q0
such that Q0 is blocked and 9S :C 2 L(Q0). By unravelling (details will be given
in soundness proof), we can build an (extended) S-reachable path Q00 of Q0 such that
9S:C 2 L(Q00).
          </p>
          <p>
            We now present Algorithm 1 for building a frame which is valid if the conditions
in Definition 9 are satisfied. This algorithm starts by adding nominal star-types to the
frame. For each non blocked path P with a ray 2 (tail (P)) such that (tail (P)) is
minimal and there is a difference between (tail (P)) and (tail (P); ), the algorithm
picks in a nondeterministic way a valid star-type ! that matches tail (P) via , and
updates (tail (P); ), (!; 0), (tail (P); ), (!; 0), eventually, (tail (P)) and
(!) by calling updateFrame( )[
            <xref ref-type="bibr" rid="ref14">14</xref>
            ]. The algorithm terminates when a blocked cycle
is detected.
          </p>
          <p>Figure 2 depicts a frame when executing Algorithm 1 for K1 in the example
presented in Section 1. The algorithm builds a frame F = hN ; No; ; i where N =
f 0; 1; 2; 3; 4g and No = f 0g. The dashed arrows indicate how the function
( ; ) can be built. For example, ( 0; 0) = f( 1; 0; 1)g, ( 0; 1) = f( 2; 00; 1)g
where 0 and 1 are the respective horizontal and vertical rays of 0; 0 is the left ray of
1; 00 is the vertical ray of 2. Moreover, the directed dashed arrow from 0 to 1
indicates that the ray 0 of 0 can match the ray 0 on the left ray of 1 since l( 0) = ( 1),
r( 0) = ( 0), r( 0) = r ( 0).</p>
          <p>Then, the algorithm generates ( 0) = 1, ( 1) = 1, ( 2) = 1 and forms a cycle
consisting of the following triples : (( 3; 2); 1; ( 3; 3)) ( 1 is the left ray of 3)),
(( 3; 2); 3; ( 4; 1)) ( 3 is the vertical ray of 3), (( 4; 1); 4; ( 4; 2)) ( 4 is the left ray
of 4) and (( 4; 1); 5; ( 3; 2)) ( 5 is the vertical ray of 4). Note that for the sake of
brevity, we use just tail (P) and tail (P) to denote a path in the triples. We can check
that any path that is an extension of a path P gets through a path Q where P is the first
component of a triple and Q is the third component of a triple.</p>
          <p>The algorithm may add some more paths that go through 3 and 4 to form a
blocked cycle. A model of the ontology can be built by starting from 0 and getting
(i) 4 via 1, (ii) 3 via 1, and (iii) 3 via 2. From 3 and 4, the model goes through
3 and 4 infinitely. Note that from any individual x satisfying 3 (or 4), i.e. the
“label” of x contains 9Q+:fog, there is a path containing S which goes back the individual
satisfying 0. Thus, the concept 9Q+:fog is satisfied for each individual whose label
contains 9Q+:fog.</p>
          <p>Lemma 1. Let (T ; R) be a SHOIQ(+) knowledge base.</p>
        </sec>
        <sec id="sec-1-2-4">
          <title>1. Algorithm 1 terminates.</title>
          <p>2. If Algorithm 1 can build a valid frame for (T ; R) then (T ; R) is consistent.
3. If (T ; R) is consistent then Algorithm 1 can build a valid frame F for (T ; R).
Proof (sketch). Since the functions ( ) and ( ; hr; li) is increased monotonously by
Algorithm 1, termination of the algorithm can be proved if we can show that : (i) the
fog; A</p>
          <p>
            R0
number of different star-types is bounded; (ii) the detection of a blocked cycle
according to Definition 8 terminates. For the soundness of Algorithm 1, we can extend the set
P of paths to a set Pcof extended paths by “unravelling” the frame between
blockingblocked cycles. A tableau [
            <xref ref-type="bibr" rid="ref14">14</xref>
            ] can be built from Pc. The main argument is that when
extending a path P if tail (P) 6= tail (P0) for all blocked path P0 then this
extension process can be continued up to a star-type 0 = tail (P00) for some blocked path
P00. This holds due to the definition of cycles and blockable cycles. Otherwise, i.e.,
tail (P) = tail (P0) for some blocked path P0 by Q then P can be extended by
getting through tail (Q).
          </p>
          <p>
            Regarding completeness, a tableau can guide the algorithm (i) to choose valid
startypes, (ii) to ensure that ( ) = 1 for each nominal star-type , and (iii) to detect a pair
( 1; k) of blocking and blocked cycles as soon as each concept of the form 9Q :D
in 1 is satisfied. We refer the readers to [
            <xref ref-type="bibr" rid="ref14">14</xref>
            ] for a complete proof of Lemma 1.
The following theorem is a consequence of Lemma 1.
          </p>
          <p>Theorem 1. SHOIQ(+) is decidable.
4</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>Conclusion</title>
      <p>
        In this paper, we have presented a decision procedure for the description logic SHOIQ
with transitive closure of roles in concept axioms, whose decidability was not known.
The most significant feature of our contribution is to introduce a structure for
characterizing models which have an infinite non-tree-like part. This structure would provide
an insight into regularity of such models which would be enjoyed by a more expressive
DL, such as ZOIQ [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], whose decidability remains open. In future work, we aim to
improve the algorithm by making it more goal-directed and aim to investigate another
open question about the hardness of SHOIQ(+).
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Patel-Schneider</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hayes</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Horrocks</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          :
          <article-title>OWL web ontology language semantics and abstract syntax</article-title>
          .
          <source>In: W3C Recommendation</source>
          . (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Tobies</surname>
            ,
            <given-names>S.:</given-names>
          </string-name>
          <article-title>The complexity of reasoning with cardinality restrictions and nominals in expressive description logics</article-title>
          .
          <source>Journal of Artificial Intelligence Research</source>
          <volume>12</volume>
          (
          <year>2000</year>
          )
          <fpage>199</fpage>
          -
          <lpage>217</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Aho</surname>
            ,
            <given-names>A.V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ullman</surname>
            ,
            <given-names>J.D.</given-names>
          </string-name>
          :
          <article-title>Universality of data retrieval languages</article-title>
          .
          <source>In: Proceedings of the 6th of ACM Symposium on Principles of Programming Language</source>
          . (
          <year>1979</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Baader</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Augmenting concept languages by transitive closure of roles: An alternative to terminological cycles</article-title>
          .
          <source>In: Proceedings of the Twelfth International Joint Conference on Artificial Intelligence</source>
          . (
          <year>1991</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Ortiz</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>An automata-based algorithm for description logics around SRIQ</article-title>
          .
          <source>In: Proceedings of the fourth Latin American Workshop on Non-Monotonic Reasoning</source>
          <year>2008</year>
          , CEURWS.org (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Eiter</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ortiz</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Regular path queries in expressive description logics with nominals</article-title>
          .
          <source>In: IJCAI</source>
          . (
          <year>2009</year>
          )
          <fpage>714</fpage>
          -
          <lpage>720</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Horrocks</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sattler</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          :
          <article-title>A tableau decision procedure for SHOIQ</article-title>
          .
          <source>Journal Of Automated Reasoning</source>
          <volume>39</volume>
          (
          <issue>3</issue>
          ) (
          <year>2007</year>
          )
          <fpage>249</fpage>
          -
          <lpage>276</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Motik</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shearer</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Horrocks</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          :
          <article-title>Hypertableau reasoning for description logics</article-title>
          .
          <source>J. of Artificial Intelligence Research</source>
          <volume>36</volume>
          (
          <year>2009</year>
          )
          <fpage>165</fpage>
          -
          <lpage>228</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Pratt-Hartmann</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          :
          <article-title>Complexity of the two-variable fragment with counting quantifiers</article-title>
          .
          <source>Journal of Logic, Language and Information</source>
          <volume>14</volume>
          (
          <issue>3</issue>
          ) (
          <year>2005</year>
          )
          <fpage>369</fpage>
          -
          <lpage>395</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Le Duc</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lamolle</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Decidability of description logics with transitive closure of roles</article-title>
          .
          <source>In: Proceedings of the 23rd International Workshop on Description Logics (DL</source>
          <year>2010</year>
          ),
          <article-title>CEUR-WS.org (</article-title>
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Horrocks</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sattler</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tobies</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Practical reasoning for expressive description logics</article-title>
          .
          <source>In: Proceedings of the International Conference on Logic for Programming</source>
          ,
          <source>Artificial Intelligence and Reasoning</source>
          (LPAR
          <year>1999</year>
          ), Springer (
          <year>1999</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Baader</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nutt</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          :
          <article-title>Basic description logics</article-title>
          .
          <source>In: The Description Logic Handbook: Theory, Implementation and Applications (2nd edition)</source>
          , Cambridge University Press (
          <year>2007</year>
          )
          <fpage>47</fpage>
          -
          <lpage>104</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Fischer</surname>
            ,
            <given-names>M.J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ladner</surname>
            ,
            <given-names>R.I.</given-names>
          </string-name>
          :
          <article-title>Propositional dynamic logic of regular programs</article-title>
          .
          <source>Journal of Computer and System Sciences</source>
          <volume>18</volume>
          (
          <issue>18</issue>
          ) (
          <year>1979</year>
          )
          <fpage>174</fpage>
          -
          <lpage>211</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Le Duc</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lamolle</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cure´</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          :
          <article-title>A decision procedure for SHOIQ with transitive closure of roles in concept axioms</article-title>
          .
          <source>In: Technical Report</source>
          , http://www.iut.univparis8.fr/ leduc/papers/RR-SHOIQTr.pdf (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>