<!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>The Logical Difference for EL: from Terminologies towards TBoxes?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Shasha Feng</string-name>
          <email>fengss@jlu.edu.cn</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Michel Ludwig</string-name>
          <email>michel@tcs.inf.tu-dresden.de</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Dirk Walther</string-name>
          <email>dirk@tcs.inf.tu-dresden.de</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Jilin University</institution>
          ,
          <country country="CN">China</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Theoretical Computer Science TU Dresden</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <fpage>31</fpage>
      <lpage>41</lpage>
      <abstract>
        <p>In this paper we are concerned with the logical difference problem between ontologies. The logical difference is the set of subsumption queries that follow from a first ontology but not from a second one. We revisit our solution to logical difference problem for EL-terminologies based on finding simulations between hypergraph representations of the terminologies, and we investigate a possible extension of the method to general EL-TBoxes.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Ontologies are widely used to represent domain knowledge. They contain
specifications of objects, concepts and relationships that are often formalised using
a logic-based language over a vocabulary that is particular to an application
domain. Ontology languages based on description logics [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] have been widely
adopted, e.g., description logics are underlying the Web Ontology Language
(OWL) and its profiles.3 Numerous ontologies have already been developed, in
particular, in knowledge intensive areas such as the biomedical domain, and they
are made available in dedicated repositories such as the NCBO bioportal.4
      </p>
      <p>Ontologies constantly evolve, they are regularly extended, corrected and
refined. As the size of ontologies increases, their continued development and
maintenance becomes more challenging as well. In particular, the need to have
automated tool support for detecting and representing differences between versions
of an ontology is growing in importance for ontology engineering.</p>
      <p>
        The logical difference is taken to be the set of queries that produce
different answers when evaluated over distinct versions of an ontology. The language
and vocabulary of the queries can be adapted in such a way that exactly the
differences of interest become visible, which can be independent of the
syntactic representation of the ontologies. We consider ontologies formulated in the
? The second and third authors were supported by the German Research Foundation
(DFG) within the Cluster of Excellence ‘Center for Advancing Electronics Dresden’.
3 http://www.w3.org/TR/owl2-overview/
4 http://bioportal.bioontology.org
lightweight description logic E L [
        <xref ref-type="bibr" rid="ref1 ref3">1, 3</xref>
        ] and queries that are E L-concept
inclusions. The relevance of E L for ontologies is emphasised by the fact that many
ontologies are largely formulated in E L. For instance, the dataset of the ORE
2014 reasoner evaluation comprises 8 805 OWL-EL ontologies.5
      </p>
      <p>
        The logical difference problem was introduced in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] and investigated for
E L-terminologies [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. A hypergraph-based approach for E L-terminologies was
presented in [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], which was subsequently extended to E L-terminologies with
additional role inclusions, domain and range restrictions of roles in [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. In this
paper we investigate a possible extension of the method to general E L-TBoxes.
Clearly, such an extension needs to account for the additional expressivity of
general TBoxes w.r.t. terminologies. After normalisation, a terminology may
contain at most one axiom of the form ∃r.A v X or A1 u . . . u An v X for any
concept name X, whereas a general TBox does not impose such a restriction.
      </p>
      <p>
        We first show that for every concept inclusion C v D that follows from a
TBox T , there exists a concept name X in T that acts as an interpolant between
the concepts C and D, i.e., we have that T |= C v X and T |= X v D. Then we
describe the set of all subsumees C of X in T using a concept of E L extended
with disjunction and a least fixpoint operator, and the set of all subsumers D of
X in T using a concept of E L extended with greatest fixpoint operators. Finally,
we reduce the problem of deciding the logical difference between two E L-TBoxes
to fixpoint reasoning w.r.t. TBoxes in a hybrid μ-calculus [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ].
      </p>
      <p>The paper is organised as follows. We start by recalling some notions
regarding the description logic E L and its extensions with disjunction and
fixpoint operators. In Section 3, we discuss how the logical difference problem for
E L-terminologies could be extended to general E L-TBoxes, and we establish a
witness theorem for general E L-TBoxes. In Section 4, we show how fixpoint
reasoning can be used to decide whether two general E L-TBoxes are logically
different, and how witnesses to the logical difference can be computed. Finally
we conclude the paper.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Preliminaries</title>
      <p>We start by briefly reviewing the lightweight description logic E L and some
notions related to the logical difference, together with some basic results.</p>
      <p>Let NC, NR, and NV be mutually disjoint sets of concept names, role names,
and variable names, respectively. We assume these sets to be countably infinite.
We typically use A, B to denote concept names and r to denote role names.</p>
      <p>The sets of E L-concepts C, E LU μ-concepts D, and E Lν -concepts E are built
according to the following grammar rules:</p>
      <p>C ::= &gt; | A | C u C | ∃r.C
D ::= &gt; | A | D u D | D t D | ∃r.D | x | μx.D</p>
      <p>E ::= &gt; | A | E u E | ∃r.E | x | νx.E
5 http://dl.kr.org/ore2014/
where A ∈ NC, r, s ∈ NR, and x ∈ NV. For an ELU μ-concept C, the set of free
variables in C, denoted by FV(C) is defined inductively as follows: FV(&gt;) = ∅,
FV(A) = ∅, FV(D1 u D2) = FV(D1) ∪ FV(D2), FV(D1 t D2) = FV(D1) ∪
FV(D2), FV(∃r.D0) = FV(D0), FV(x) = {x}, FV(μx.D0) = FV(D0) \ {x}.
The set FV(E) of free variables occurring in an ELν -concept E can be defined
analogously. An ELU μ-concept C (an ELν -concept D) is closed if C (D) does
not contain free occurrences of variables, i.e. FV(C) = ∅ (FV(D) = ∅). In the
following we assume that every ELU μ-concept C and every ELν -concept D is
closed.</p>
      <p>An EL-TBox T is a finite set of axioms, where an axiom can be a concept
inclusion C v C0, or a concept equation C ≡ C0, where C, C0 range over
ELconcepts. An EL-terminology T is an EL-TBox consisting of axioms α of the
form A v C and A ≡ C, where A is a concept name, C an EL-concept and no
concept name A occurs more than once on the left-hand side of an axiom.</p>
      <p>The semantics of EL, ELU μ, and ELν is defined using interpretations I =
(ΔI , ·I ), where the domain ΔI is a non-empty set, and ·I is a function mapping
each concept name A to a subset AI of ΔI and every role name r to a binary
relation rI ⊆ ΔI ×ΔI . Interpretations are extended to concepts using a function
·I,ξ that is parameterised by an assignment function that maps variables x ∈ NV
to sets ξ(x) ⊆ ΔI . Given an assignment ξ, the extension of an EL, ELU μ, or
ELν -concept is defined inductively as follows: &gt;I,ξ := ΔI , xI,ξ := ξ(x) for
x ∈ NV, (C1 u C2)I,ξ := C1I ∩ C2I , (∃r.C)I,ξ := { x ∈ ΔI | ∃y ∈ CI,ξ : (x, y) ∈
rI }, (μx.C)I,ξ = T{ W ⊆ ΔI | CI,ξ[x7→W ] ⊆ W }, and (νx.C)I,ξ = S{ W ⊆
ΔI | W ⊆ CI,ξ[x7→W ] }, where ξ[x 7→ W ] denotes the assignment ξ modified by
mapping x to W .</p>
      <p>
        An interpretation I satisfies a concept C, an axiom C v D or C ≡ D if,
respectively, CI,∅ 6= ∅, CI,∅ ⊆ DI , or CI,∅ = DI,∅. We write I |= α iff I
satisfies the axiom α. An interpretation I satisfies a TBox T iff I satisfies all
axioms in T ; in this case, we say that I is a model of T . An axiom α follows
from a TBox T , written T |= α, iff for all models I of T , we have that I |= α.
Deciding whether T |= C v C0, for two EL-concepts C and C0, can be done in
polynomial time in the size of T and C, C0 [
        <xref ref-type="bibr" rid="ref1 ref3">1, 3</xref>
        ]. For an ELU μ-concept D and
an ELν -concept E, it is known that T |= D v E can be decided in exponential
time in the size of T , D and E [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ].
      </p>
      <p>A signature Σ is a finite set of symbols from NC and NR. The signature
sig(C), sig(α) or sig(T ) of the concept C, axiom α or TBox T is the set of
concept and role names occurring in C, α or T , respectively. An ELΣ-concept C
is an EL-concept such that sig(C) ⊆ Σ.</p>
      <p>
        An EL-TBox T is normalised if it only contains EL-concept inclusions of the
forms &gt; v B, A1 u . . . u An v B, A v ∃r.B, or ∃r.A v B, where A, Ai, B ∈ NC,
r ∈ NR, and n ≥ 1. Every EL-TBox T can be normalised in polynomial time in
the size of T with a linear increase in the size of the normalised TBox w.r.t. T
such that the resulting TBox is a conservative extension of T [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Note that in
a normalised terminology T , we have that for every axiom of the form ∃r.A v
B ∈ T , there exists an axiom of the form B v ∃r.A ∈ T ; similarly for axioms of
the form A1 u . . . u An v B with n ≥ 2. When convenient, we will abbreviate
two axioms A v ∃r.B and ∃r.B v A by the single axiom A ≡ ∃r.B; similarly for
A ≡ B1 u . . . u Bn.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>Towards Logical Difference between General</title>
      <p>E L-TBoxes
The logical difference between two TBoxes witnessed by concept inclusions over
a signature Σ is defined as follows.</p>
      <p>Definition 1. The Σ-concept difference between two EL-TBoxes T1 and T2 for
a signature Σ is the set cDiffΣ(T1, T2) of all EL-concept inclusions α such that
sig(α) ⊆ Σ, T1 |= α, and T2 6|= α.</p>
      <p>
        EL-TBoxes can be translated into directed hypergraphs by taking the
signature symbols as nodes and treating the axioms as hyperedges connecting
the nodes. For normalised EL-TBoxes, the axiom &gt; v B is translated into
the hyperedge ({x&gt;}, {xB}), the axiom A1 u . . . u An v B into the hyperedge
({xB1 , . . . , xBn }, {xA}), the axiom A v ∃r.B into the hyperedge ({xA}, {xr, xB}),
and the axiom ∃r.A v B into the hyperedge ({xr, xB}, {xA}), where each node
xY corresponds to the signature symbol Y , respectively. A feature of the
translation of axioms into hyperedges is that all information about the axiom and
the logical operators in it is preserved. In fact we can treat the ontology and its
hypergraph representation interchangeably. The existence of certain simulations
between hypergraphs for EL-terminologies characterises the fact that the
corresponding terminologies are logically equivalent and, thus, no logical difference
exists [
        <xref ref-type="bibr" rid="ref4 ref8">4, 8</xref>
        ].
      </p>
      <p>
        As the set cDiffΣ(T1, T2) is infinite in general, we make use of the following
“primitive witnesses” theorem from [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] that states that we only have to
consider two specific types of concept differences. If there is an inclusion C v D ∈
cDiffΣ(T1, T2) for two terminologies T1 and T2, then we know that there is a
concept name A ∈ Σ such that A occurs either on the left-hand or the right-hand
side of an inclusion in the set C v D ∈ cDiffΣ(T1, T2). For checking whether
cDiffΣ(T1, T2) = ∅, we only have to consider such simple inclusions. However, if
T1 and T2 are general EL-TBoxes, the situation is different.
      </p>
      <p>Example 1. Let T1 = {X ≡ A1 u A2, X v ∃r.&gt;}, T2 = ∅, and let Σ =
{A1, A2, r}. Note that T1 is not a terminology as the concept name X occurs
twice on the left-hand side of an axiom. Then every difference α ∈ cDiffΣ(T1, T2)
is equivalent to the inclusion A1 u A2 v ∃r.&gt;. In particular, there does not exist
a difference of the form ψ v θ, where ψ or θ is a concept name from Σ.</p>
      <p>As illustrated by the example, we need to account for a new kind of differences
C v C0 ∈ cDiffΣ(T1, T2) which are induced by a concept name X ∈ sig(T1)
such that X 6∈ Σ, T1 |= C v X, and T1 |= X v C0. We obtain the following
witness theorem for EL-TBoxes as an extension of the witness theorem for
ELterminologies.
Theorem 1 (Witness Theorem). Let T1, T2 be two normalised EL-TBoxes
and let Σ be a signature. Then, cDiffΣ(T1, T2) 6= ∅ iff there exists an
ELΣinclusion α = ϕ v ψ such that T1 |= α and T2 6|= α, where
(i) ϕ is an ELΣ-concept and ψ = A ∈ Σ,
(ii) ϕ = A ∈ Σ and ψ is an ELΣ-concept, or
(iii) there exists X ∈ sig(T1) \ Σ such that T1 |= ϕ v X and T1 |= X v ψ.</p>
      <p>
        The proof of the witness theorem for terminologies [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] is based on analysing
the subsumption T1 |= ϕ v ψ syntactically, using a sequent calculus [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. A similar
technique can be used for the proof of Theorem 2.
      </p>
      <p>For deciding whether cDiffΣ(T1, T2) = ∅ in the case of general TBoxes, we now
have to additionally consider differences of Type (iii). Differences of types (i)
or (ii) can be checked by using forward or backward simulations adapted to
normalised EL-TBoxes, respectively, whereas Type (iii) differences require a
combination of both techniques.</p>
      <p>Before we illustrate how Type (iii) differences can be dealt with, we first
introduce some auxiliary notions. We define cWtnlΣhs(T1, T2) as the set of all
concept names A from Σ such that there exists an ELΣ-concept C with A v
C ∈ cDiffΣ(T1, T2). Similarly, cWtnrΣhs(T1, T2) is the set of all concept names
A ∈ Σ such that there exists an ELΣ-concept C with C v A ∈ cDiffΣ(T1, T2).
The concept names in cWtnlΣhs(T1, T2) are called left-hand side witnesses and
the concept names in cWtnrΣhs(T1, T2) right-hand side witnesses. Additionally, we
define cWtnmΣid(T1, T2) as the set of all concept names X from sig(T1) but not
from Σ such that there exists C v C0 ∈ cDiffΣ(T1, T2) and T1 |= C v X and
T1 |= X v C0. The concept names in cWtnmΣid(T1, T2) are called interpolating
witnesses. To summarise, we have the following sets:
cWtnlΣhs(T1, T2) = { A ∈ Σ | ∃ C ∈ ELΣ : A v C ∈ cDiffΣ(T1, T2) }
cWtnrΣhs(T1, T2) = { A ∈ Σ | ∃ C ∈ ELΣ : C v A ∈ cDiffΣ(T1, T2) }
cWtnmΣid(T1, T2) = { X ∈ sig(T1) \ Σ | ∃ C, C0 ∈ ELΣ : T1 |= C v X,
T1 |= X v C0, T2 6|= C v C0 }</p>
      <p>We illustrate the witness sets with the following example.</p>
      <p>Example 2. Let T1 = {X ≡ A1 u A2, X v ∃r.&gt;, A3 v A2, A3 v ∃r.A2}, T2 =
{A2 v ∃r.&gt;}, and let Σ = {A1, A2, r}. Then it holds that cWtnlΣhs(T1, T2) = {A3}
(e.g. {A3 v A2, A3 v ∃r.A2} ⊆ cDiffΣ(T1, T2)), cWtnrΣhs(T1, T2) = {A2} (e.g.
A3 v A2 ∈ cDiffΣ(T1, T2)), and cWtnmΣid(T1, T2) = {X} (e.g. T1 |= A1 u A3 v X,
T1 |= X v ∃r.&gt; and T2 6|= A1 u A3 v ∃r.&gt;).</p>
      <p>We obtain as a corollary of Theorem 2 that, to decide the logical difference
between two EL-TBoxes, it is sufficient to check the emptiness of the witness
sets.</p>
      <p>Corollary 1. Let T1, T2 be two normalised EL-TBoxes and let Σ be a signature.
Then it holds that cDiffΣ(T1, T2) = ∅ iff cWtnlΣhs(T1, T2) = cWtnrΣhs(T1, T2) =
cWtnmΣid(T1, T2) = ∅.</p>
      <p>
        To characterise an interpolating witness of a Type-(iii) difference, we use
the sets of its of subsumees and subsumers formulated using certain signature
symbols only. A similar approach was used for the construction of uniform
interpolants of E L-TBoxes in [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
      </p>
      <p>Definition 2. Let T be an E L-TBox, let Σ be a signature and let C be an
E L-concept. We define PremisesTΣ (C) := { E ∈ E LΣ | T |= E v C } and
ConclusionsΣ (C) := { E ∈ E LΣ | T |= C v E }.</p>
      <p>T
The set PremisesΣ (C) contains all E L-concepts formulated using Σ-symbols only</p>
      <p>T
that entail C w.r.t. T ; or are entailed by C in the case of ConclusionsΣ (C). The
T
elements of PremisesΣ (C) are also called Σ-implicants or Σ-subsumees of C</p>
      <p>T
w.r.t. T , and the elements of ConclusionsTΣ (C) are also named Σ-implicates or
Σ-subsumers of C w.r.t. T .</p>
      <p>
        In [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], it was established that a concept name X is forward simulated by a
concept name Y in an E L-terminology T iff it holds that ConclusionsΣ (X) ⊆
ConclusionsΣ (Y ); and similary, X is backward simulated by Y iff PremiseTsΣ (X) ⊆
      </p>
      <p>T T
PremisesΣ (Y ). We aim now at lifting this result to general E L-TBoxes.</p>
      <p>T
Example 3. Let T1 = {A v X, ∃r.X v X, X v B1, X v B2} and T2 = {A v
Y, ∃r.Y v Y 0, ∃r.Y 0 v Y, ∃r.Y v Z1, ∃r.Y v Z2, Y v B1, Y v B2, Z1 v
B1, Z2 v B2} be two E L-TBoxes. Let Σ = {A, B1, B2, r} be a signature. Note
that X in T1 is cyclic and intuitively, the interpretation of X in a model I of T1
contains all finite r-chains “ending in A”. In T2 the concept name Y is cyclic
and its interpretation contains all r-chains ending in A that are of even length,
whereas the interpretations of the concept names Z1 and Z2 contain all r-chains
ending in A that are of odd length. Formally, we have that:</p>
      <p>{A, ∃r.A, ∃r.∃r.A, . . . } ⊆ PremisesTΣ1 (X)
{A, ∃r.∃r.A, ∃r.∃r.∃r.∃r.A, . . . } ⊆ PremisesTΣ2 (Y )</p>
      <p>{∃r.A, ∃r.∃r.∃r.A, . . . } ⊆ PremisesTΣ2 (Zi) for i ∈ {1, 2}
In particular, for i ∈ {1, 2}, we have</p>
      <p>PremisesTΣ1 (X) = PremisesTΣ2 (Y ) ∪ PremisesTΣ2 (Zi).</p>
      <p>Intuitively, the set of Σ-implicants of X in T1 are distributed over the concept
names Y and Zi in T2. Moreover it holds that</p>
      <p>ConclusionsTΣ1 (X) = ConclusionsTΣ2 (Y ) = ConclusionsTΣ2 (Z1 u Z2).
The concept name X in T1 could be forward simulated either by Y or Z1 u Z2
in T2. Note that Z1 or Z2 individually are not sufficient. Analogously, X could be
backward simulated by Y t Z1 or Y t Z2. None of the concept names X, Z1, or
Z2 are sufficient individually for the backward simulation. Combining backward
and forward simulation, X could be simulated by Y t (Z1 u Z2).</p>
      <p>In general, we hypothesise that non-Σ-concept names X in T1 need to be
“simulated” by concepts of the form Fin=1 Ci, where Ci are E L-concepts.</p>
    </sec>
    <sec id="sec-4">
      <title>Finding Logical Differences via Fixpoint Reasoning</title>
      <p>We now show how fixpoint reasoning can be used to find difference witnesses
between general EL-TBoxes.</p>
      <p>Given Theorem 2, we know that any difference C v C0 ∈ cDiffΣ(T1, T2), for
two ELΣ-concepts C and C0, is connected to some concept name X occurring
in T1 for which either T1 |= C v X, or T1 |= X v C0 (or both) holds. To check
whether X is indeed a difference witness, we construct concepts BTΣ1 (X) and
FTΣ1 (X) formulated in ELU μΣ and in ELν , respectively, to describe the
(potenΣ
tially infinite) disjunction of Σ-concepts that are subsumed by X w.r.t. T1, and
the conjunction of all the Σ-concepts that subsume X w.r.t. T1, respectively.
Note that the use of fixpoint allows for a finite description of infinite
disjunctions or conjunctions. The ELU μΣ-concept BTΣ1 (X) hence is a finite representation
of the set PremisesTΣ1 (X), whereas the ELνΣ-concept FTΣ1 (X) represents the set
PremisesTΣ1 (X) in a finite way. Using the fixpoint descriptions of the premises
and conclusions of X w.r.t. T1, we can verify whether X is a difference witness
by checking T2 |= BTΣ1 (X) v FTΣ1 (X).</p>
      <p>We first turn our attention to the set PremisesTΣ1 (X). Before we can give a
formal definition for the concept BTΣ1 (X), we have to introduce the following
auxiliary notion to handle concept names X in the definition of BTΣ1 (X) for
which there exist axioms of the form Z1 u . . . u Zn v Z in a normalised TBox T
such that T |= Z v X. Intuitively, given a concept name X, we construct a
set ConjT (X) containing sets of concept names which has the property that for
every EL-concept D with T |= D v X, there exists a set S = {Y1, . . . , Ym} ∈
ConjT (X) such that T |= D v Yi follows without involving any axioms of the
form Z1 u . . . u Zn v Z. Nested implications between such axioms also have to
be taken into account.</p>
      <p>Definition 3. Let T be a normalised EL-TBox and let X ∈ NC. We define the
set ConjT (X) ⊆ 2sig(T )∩NC to be smallest set inductively defined as follows:
– {X} ∈ ConjT (X);
– if S ∈ ConjT (X), Y ∈ S, and Z1 u . . . u Zn v Z ∈ T such that n ≥ 2 and
T |= Z v Y , then S \ {Y } ∪ {Z1, . . . , Zn} ∈ ConjT (X).</p>
      <p>Note that for every concept name X the set ConjT (X) is finite as sig(T ) ∩ NC
is finite.</p>
      <p>Example 4. Let T1 = {A v X, ∃r.X v X}. Then ConjT1 (X) = {{X}}. For
T2 = {X1 u X2 v X, X3 u X4 v X1, Y1 u Y2 v X}, we have that</p>
      <p>ConjT2 (X) = {{X}, {X1, X2}, {X3, X4, X2}, {Y1, Y2}}.</p>
      <p>We can now give a formal definition of the concept BΣ(X).</p>
      <p>T
Definition 4. Let T be a normalised EL-TBox, let Σ be a signature, and let
μ
X ∈ sig(T ). For a mapping η : NC → NV, we define a closed ELU Σ-concept
BTΣ(X, η) as follows. We set BTΣ(X, η) = &gt; if T |= &gt; v X; otherwise BTΣ(X, η)
is defined recursively in the following way:
– If X ∈ dom(η), then
– If X 6∈ dom(η), we set</p>
      <p>BΣ(X, η) = η(X)</p>
      <p>T</p>
      <p>G
S∈ConjT (X)</p>
      <p>S={Y1,...,Ym}
BΣ(X, η) = μx.</p>
      <p>T
(Y10 u . . . u Y m0)
where x is a fresh variable, and Yi0 (1 ≤ i ≤ n) is defined as follows for
η0 := η ∪ {X 7→ x}:</p>
      <p>Yi0 =</p>
      <p>G
T |=BvYi</p>
      <p>B∈Σ</p>
      <p>B t</p>
      <p>G
∃r.Zrv∈ΣY ∈T
T |=Y vYi
∃r.BTΣ(Z, η0)
Finally, we set BΣ(X) = BΣ(X, ∅).</p>
      <p>T T
Intuitively, the construction of BΣ(X) starts from X and recursively collects</p>
      <p>T
all the concept names contained in Σ and all the left-hand sides of axioms in T
that could be relevant for X to be entailed by a concept w.r.t. T . By taking
into account all possible axioms that could lead to a logical entailment, it is
guaranteed that we capture every Σ-concept from which X follows w.r.t. T .
Reasoning involving axioms of the form Z1 u . . . u Zn v Z is handled by the set
ConjT (X). Infinite recursion over concepts of the form ∃r.C is avoided by keeping
track of the concept names that been visited already using the mapping η.</p>
      <p>We note that for a normalised EL-terminology T , the concept BTΣ(X) is of a
simpler form than for normalised EL-TBoxes. This is because the concept name
X can occur on the right-hand side of at most one axiom of the form ∃r.A v X
or A1 u . . . u An v X with n ≥ 2 in T , whereas in a TBox several such axioms
may occur.</p>
      <p>We illustrate the concept BΣ(X) with the following examples.</p>
      <p>T
Example 5. Let T1 = {A1 u A2 v X, A3 v A2, ∃r.A2 v A1, ∃r.A2 v X}, T2 μ=
T1 ∪ {∃r.X v A2}, and let Σ = {A1, A2, A3, r}. We obtain the following ELU
Σconcepts. We write ϕ instead of μx.ϕ if x does not occur freely in ϕ.</p>
      <p>BTΣ1 (A1) = A1 t ∃r.(A2 t A3)</p>
      <p>BTΣ1 (A2) = A2 t A3
BTΣ1 (X) = ((A1 t ∃r.(A2 t A3)) u (A2 t A3)) t ∃r.(A2 t A3)
BTΣ2 (X) = μx.(((A1 t ∃r.(A2 t A3 t ∃r.x)) u (A2 t A3 t ∃r.x))</p>
      <p>t ∃r.(A2 t A3 t ∃r.x))
Example 6. Let T1, T2 be defined as in Example 3, and let Σ = {A, B1, B2, r}.
We have that for i ∈ {1, 2}:</p>
      <p>BTΣ1 (X) = μx.(A t ∃r.x)
BTΣ2 (Y ) = μy.(A t ∃r.∃r.y)</p>
      <p>BTΣ1 (Bi) = Bi t A t ∃r.μx.(A t ∃r.x)</p>
      <p>BTΣ2 (Zi) = ∃r.μy.(A t ∃r.∃r.y)
BTΣ2 (Bi) = Bi t A t ∃r.μy1.(∃r.(A t ∃r.y1)) t ∃r.μy2.(A t ∃r.∃r.y2)
By inspecting Definition 4 it is easy to see that |= BΣ (X) ≡ ⊥ if there does
T
not an E LΣ -concept C with T |= C v X. Overall, one can establish the following
correctness and completeness properties.</p>
      <p>Lemma 1. Let T be a normalised E L-TBox, let Σ be a signature, and let X ∈
sig(T ). Then the E LU μΣ -concept BΣ (X) satisfies the following properties:</p>
      <p>T
(i) T |= BΣ (X) v X, and</p>
      <p>T
(ii) for every D ∈ PremisesΣ (X),</p>
      <p>T
T |= D v X iff |= D v BΣ (X).</p>
      <p>T</p>
      <p>The following lemma states that the E LU μ-concept BΣ (X) exactly captures
the infinite set PremisesΣ (X). More formally, the concept TBΣ (X) is equivalent to</p>
      <p>T T
the infinite disjunction over all the concepts contained in the set PremisesΣ (X).
T
Lemma 2. Let T be a normalised E L-TBox, let Σ be a signature, and let X ∈
sig(T ). Then for every interpretation I it holds that
(BTΣ (X))I,∅ = [{ CI,∅ | C ∈ PremisesΣ (X) }.</p>
      <p>T
Analogously to the concept BΣ (X), it is possible to construct an E Lν
Σ
concept FTΣ (X) which exactly captTures the set ConclusionsTΣ (X) for a concept
name X and an E L-TBox T . Due to lack of space, we cannot give a full definition
of the concept FΣ (X). Instead, we state its existence and its essential property</p>
      <p>T
in the following lemma.</p>
      <p>Lemma 3. Let T be a normalised E L-TBox, let Σ be a signature, and let
X ∈ sig(T ). Then there exists an E Lν -concept FΣ (X) such that for every
interT
pretation I it holds that
(FTΣ (X))I,∅ = [{ CI,∅ | C ∈ ConclusionsΣ (X) }.</p>
      <p>T</p>
      <p>We can now state the following theorem, which establishes how the concepts
BΣ (X) and FΣ (X) can be used to search for difference witnesses.</p>
      <p>T T
Theorem 2. Let T1, T2 be two normalised E L-TBoxes. Then it holds that:
(i) A 6∈ cWtnlΣhs(T1, T2) iff T2 |= A v FTΣ1 (A), for every A ∈ Σ;
(ii) A 6∈ cWtnrΣhs(T1, T2) iff T2 |= BTΣ1 (A) v A, for every A ∈ Σ; and
(iii) X 6∈ cWtnmΣid(T1, T2) iff T2 |= BTΣ1 (X) v FTΣ1 (X), for every X ∈ sig(T1) \ Σ.</p>
      <p>
        Theorem 2 together with Corollary 1 give rise to an algorithm for deciding the
logical difference between E L-TBoxes. Procedure 1 is such an algorithm based
on reasoning in the hybrid μ-calculus, which allows for fixpoint reasoning w.r.t.
TBoxes [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ].
      </p>
      <p>
        Theorem 3. Procedure 1 runs in ExpTime.
Procedure 1 Deciding existence of logical difference
Input: Normalised EL-TBoxes T1, T2 and signature Σ
Output: true or false
1: for every concept name X ∈ sig(T1) ∪ Σ do
2: B := BTΣ1 (X)
3: F := FTΣ1 (X)
4: if X ∈ Σ then
5: if T2 6|= X v F or T2 6|= B v X then
6: return true
7: end if
8: else if T2 6|= B v F then
9: return true
10: end if
11: end for
12: return false
We note that the lower bound for the running time of Procedure 1 may also be
exponential as the underlying problem of deciding the logical difference of two
EL-TBoxes is ExpTime-complete [
        <xref ref-type="bibr" rid="ref6 ref7">6, 7</xref>
        ].
      </p>
      <p>Example 7. Continue Example 3, where sig(T1) ∪ Σ = {A, X, B1, B2, r}. For
A, B = BTΣ1 (A) = A, and F = FTΣ1 (A) = B1 u B2. As T2 |= A v F and
T2 |= B v A, the loop continues. Then for X, B = BTΣ1 (X) = μx.(A t ∃r.x)
and F = FTΣ1 (X) = B1 u B2 (cf. Example 6). Since it holds that T2 |= B v F ,
the loop continues. For B1, B = B1 t A t ∃r.μx.(A t ∃r.x) and F = B1. As
T2 |= B1 v F and T2 |= B v B1, the loop continues. The case of B2 is similar to
that of B1. Finally, the algorithm returns false.</p>
      <p>Procedure 1 can be modified to obtain witnesses to difference subsumption.
Example 8. We run Procedure 1 on T1, T3 = T2 \{Z1 v B1} and Σ, where T1, T2
and Σ are the same as in Example 3. Then, for X, we have that B = BTΣ1 (X) =
μx.(A t ∃r.x) and F = FTΣ1 (X) = B1 u B2. However, T3 6|= B v F , which means
X ∈ cWtnmΣid(T1, T3). Similarly, it can readily be seen that B1 ∈ cWtnrΣhs(T1, T3).
5</p>
    </sec>
    <sec id="sec-5">
      <title>Conclusion</title>
      <p>
        We have revisited our solution to logical difference problem for EL-terminologies
which was based on finding simulations between hypergraph representations of
the terminologies [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. We have shown that there is a new type of witness in
the logical difference between two EL-TBoxes. We have shown that deciding the
logical difference between two EL-TBoxes can be reduced to fixpoint reasoning
w.r.t. TBoxes.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Baader</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Brandt</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Pushing the EL envelope</article-title>
          .
          <source>In: Proceedings of the Nineteenth International Joint Conference on Artificial Intelligence IJCAI-05</source>
          . Morgan-Kaufmann Publishers, Edinburgh, UK (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Baader</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>McGuinness</surname>
            ,
            <given-names>D.L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nardi</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Patel-Schneider</surname>
            ,
            <given-names>P.F</given-names>
          </string-name>
          . (eds.):
          <article-title>The description logic handbook: theory, implementation, and applications</article-title>
          . Cambridge University Press,
          <volume>2</volume>
          <fpage>edn</fpage>
          . (
          <year>June 2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Brandt</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Polynomial time reasoning in a description logic with existential restrictions, GCI axioms, and-what else</article-title>
          ? In: de Manta´ras, R.L., L. Saitta (eds.)
          <source>Proceedings of the 16th European Conference on Artificial Intelligence (ECAI2004)</source>
          . pp.
          <fpage>298</fpage>
          -
          <lpage>302</lpage>
          . IOS Press (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Ecke</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ludwig</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Walther</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>The concept difference for EL-terminologies using hypergraphs</article-title>
          .
          <source>In: Proceedings of DChanges'13</source>
          .
          <string-name>
            <surname>CEUR-WS.org</surname>
          </string-name>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Hofmann</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Proof-theoretic approach to description-logic</article-title>
          .
          <source>In: Proceedings of the 20th Annual IEEE Symposium on Logic in Computer Science</source>
          . pp.
          <fpage>229</fpage>
          -
          <lpage>237</lpage>
          . LICS '05, IEEE Computer Society, Washington, DC, USA (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Konev</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ludwig</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Walther</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wolter</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>The logical difference for the lightweight description logic EL</article-title>
          .
          <source>Journal of Artificial Intelligence Research (JAIR) 44</source>
          ,
          <fpage>633</fpage>
          -
          <lpage>708</lpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Konev</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Walther</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wolter</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>The logical difference problem for description logic terminologies</article-title>
          .
          <source>In: Proceedings of IJCAR'08: the 4th international joint conference on Automated Reasoning</source>
          . pp.
          <fpage>259</fpage>
          -
          <lpage>274</lpage>
          . Springer-Verlag, Berlin, Heidelberg (
          <year>2008</year>
          ), http://dx.doi.org/10.1007/978-3-
          <fpage>540</fpage>
          -71070-7_
          <fpage>21</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Ludwig</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Walther</surname>
            ,
            <given-names>D.:</given-names>
          </string-name>
          <article-title>The logical difference for elhr-terminologies using hypergraphs</article-title>
          . In: Schaub,
          <string-name>
            <given-names>T.</given-names>
            ,
            <surname>Friedrich</surname>
          </string-name>
          ,
          <string-name>
            <surname>G.</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O</given-names>
            <surname>'Sullivan</surname>
          </string-name>
          ,
          <string-name>
            <surname>B</surname>
          </string-name>
          . (eds.)
          <source>Proceedings of the 21st European Conference on Artifical Intelligence (ECAI</source>
          <year>2014</year>
          ).
          <source>Frontiers in Artificial Intelligence and Applications</source>
          , vol.
          <volume>263</volume>
          , pp.
          <fpage>555</fpage>
          -
          <lpage>560</lpage>
          . IOS Press (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Nikitina</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rudolph</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          : Expexpexplosion:
          <article-title>Uniform interpolation in general EL terminologies</article-title>
          .
          <source>In: ECAI</source>
          . pp.
          <fpage>618</fpage>
          -
          <lpage>623</lpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Sattler</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vardi</surname>
          </string-name>
          , M.Y.:
          <article-title>The hybrid μ-calculus</article-title>
          .
          <source>In: Proceedings of IJCAR'01: the First International Joint Conference on Automated Reasoning. Lecture Notes in Computer Science</source>
          , vol.
          <year>2083</year>
          , pp.
          <fpage>76</fpage>
          -
          <lpage>91</lpage>
          . Springer (
          <year>2001</year>
          ), http://dx.doi.org/10. 1007/3-540-45744-
          <issue>5</issue>
          _
          <fpage>7</fpage>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>