<!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>OntoMerge: A System for Merging DL-Lite Ontologies</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Zhe Wang</string-name>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Kewen Wang</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Yifan Jin</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Guilin Qi</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Gri th University</institution>
          ,
          <country country="AU">Australia</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Southeast University</institution>
          ,
          <country country="CN">China</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>State Key Laboratory for Novel Software Technology Nanjing University</institution>
          ,
          <addr-line>Nanjing</addr-line>
          ,
          <country country="CN">China</country>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>University of Oxford</institution>
          ,
          <country country="UK">United Kingdom</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Merging multi-sourced ontologies in a consistent manner is an important and challenging research topic. In this paper, we propose a novel approach for merging DL-LitebNool ontologies by adapting the classical model-based belief merging approach, where the minimality of changes is realised via a semantic notion, model distance. Instead of using classical DL models, which may be in nite structures in general, we de ne our merging operator based on a new semantic characterisation for DL-Lite. We show that subclass relation w.r.t. the result of merging can be checked e ciently via a QBF reduction. We present our system OntoMerge, which e ectively answers subclass queries on the resulting ontology of merging, without rst computing the merging results. Our system can be used for answering subclass queries on multiple ontologies.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Ontologies are widely used for sharing and reasoning over domain knowledge,
and their underlying formalisms are often description logics (DLs). To e
ectively answer queries, ontologies from heterogeneous sources and contributed
by various authors are often needed. However, ontologies developed by multiple
authors under di erent settings may contain overlapping, con icting and
incoherent domain knowledge. The ultimate goal of ontology merging is to obtain
a single consistent ontology that preserves as much knowledge as possible from
two or more heterogeneous ontologies. This is in contrast to ontology matching
[
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], whose goal is to align entities (with di erent name) between ontologies, and
which is often a pre-stage of ontology merging.
      </p>
      <p>
        Existing merging systems often adopt formula-based approaches to deal with
logical inconsistencies [10; 9; 14]. Most of such approaches can be described as
follows: the system rst combine the ontologies by taking their union; then, if any
inconsistency is detected (through a standard reasoning), it pinpoints the axioms
which (may) cause inconsistency; and nally, remove certain axioms to retain
consistency. However, such an approach is sometimes unsatisfactory because it
is not ne-grained either in the way it measures the minimality of changes, and
thus it is often unclear how close the result of merging is to the source ontologies
semantically; or in the way it resolve inconsistency. In [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ], an attempt is made
to provide some semantic justi cation for the minimality of changes, however,
the result of merging is still syntax-dependant and is often a set of ontologies.
      </p>
      <p>
        On the other hand, model-based merging operators have been intensively
studied in propositional logic, which are syntax-independent and usually satisfy
more rationality postulates than formula-based ones. However, a major
challenge in adapting model-based merging techniques to DLs is that DL models
are generally in nite structures and the number of models of a DL ontology is
in nite. Several notions of model distance are de ned on classical DL models
for ontology revision [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. Mathematically, it is possible to de ne a distance o
classical DL models. Such a distance is computationally limited as it is unclear
how to develop an algorithm for the resulting merging operator. A desirable
solution is to de ne ontology merging operators based on a suitable nite semantic
characterisation instead of classical DL models.
      </p>
      <p>
        In this paper, we focus on merging ontologies expressed as DL-Lite TBoxes,
which can be also accompanied with the ontology-based data access (OBDA)
framework for data integration [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. We propose a novel approach for merging
ontologies by adapting a classical model-based belief merging approach, where
the minimality of changes is realised via a semantic notion, model distance.
Instead of using classical DL models, which may be in nite structures in general,
we de ne our merging operator based on the notion of types. We show that
subclass relation w.r.t. the result of merging can be checked e ciently via a
QBF reduction, which allows us to make use of the o -the-shelf QBF solvers [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ].
We present our system OntoMerge, which e ectively answers subclass queries
on merging results, without rst computing the merging results. Our system can
be used to answer subclass queries on multiple ontologies.
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>A New Semantic Characterisation</title>
      <p>
        [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]:
In our approach, it is su cient to consider a nite yet large enough signature.
A signature S is a union of four disjoint nite sets SC , SR, SI and SN , where
SC is the set of atomic concepts, SR is the set of atomic roles, SI is the set of
individual names and SN is the set of natural numbers in S. We assume 1 is
always in SN .
      </p>
      <p>Formally, given a signature S, a DL-LitebNool language has the following syntax
R</p>
      <p>P j P</p>
      <p>S</p>
      <p>P j :P</p>
      <p>B &gt; j A j &gt; n R C B j :C j C1 u C2
where n 2 SN , A 2 SC and P 2 SR. B is called a basic concept and C is called
a general concept. BS denotes the set of basic concepts on S. We write ? for
:&gt;, 9R for 1 R, and C1 t C2 for :(:C1 u :C2). Let R+ = P , where P 2 SR,
whenever R = P or R = P . A TBox T is a nite set of concept axioms of the
form C1 v C2, where C1 and C2 are general concepts. An ABox A is a nite set
of membership assertions of the form C(a) or S(a; b), where a; b are individual
names. In this paper, an ontology is represented as a DL TBox.</p>
      <p>The classical DL semantics are given by models. A TBox T is consistent
with an ABox A if T [ A has at least one model. A concept or role is satis able
in T if it has a non-empty interpretation in some model of T . A TBox T is
coherent if all atomic concepts and atomic roles in T are satis able. Note that
a coherent TBox must be consistent. TBox T entails an axiom C v D, written
T j= C v D, if all models of T satisfy C v D. Two TBoxes T1; T2 are equivalent,
written T1 T2, if they have the same models.</p>
      <p>Now, we introduce a semantic characterisation for DL-Lite TBoxes in terms
of types. A type BS is a set of basic concepts over S, such that &gt; 2 , and
&gt; n R 2 implies &gt; m R 2 for each pair m; n 2 SN with m &lt; n and each
(inverse) role R 2 SR [ f P j P 2 SR g. Type satis es basic concept B if
B 2 , :C if does not satisfy C, and C1 u C2 if satis es both C1 and C2.
Given a TBox T , type satis es T if satis es concept :C1 t C2 for each axiom
C1 v C2 in T .</p>
      <p>For a TBox T , de ne TM(T ) to be the maximal set of types satisfying
the following conditions: (1) all the types in TM(T ) satisfy T ; (2) for each
type 2 TM(T ) and each 9R in , there exists a type 0 2 TM(T ) (possibly
0 = ) containing 9R . A type is called a type model (T-model) of T if
2 TM(T ). Note that TM(T ) is uniquely de ned for each TBox T . Note that
for a coherent TBox T , TM(T ) is exactly the set of all types satisfying T . Let
TM( ) = TM(T1) TM(Tn) for = hT1; : : : ; Tni.</p>
      <p>Proposition 1. Given a TBox T , we have the following results:
{ T is consistent i TM(T ) 6= ;.
{ For a general concept C, C is satis able wrt T i there exists a T-model in</p>
      <p>TM(T ) satisfying C.
{ For two general concepts C; D, T j= C v D i either TM(T ) = ; or all</p>
      <p>T-models in TM(T ) satisfy C v D.
{ T T 0 i TM(T ) = TM(T 0), for any TBox T 0.</p>
      <p>Given a type , an individual a and an ABox A, we say is a type of a
w.r.t. A if there is a model I of A such that = fB j aI 2 BI ; B 2 BS g. For
example, given A = fA(a); :B(b); C(c)g, type = fA; Bg is a type of a, but
not a type of either b or c in A. For convenience, we will say a type of a when
the ABox A is clear from the context. Let TMa(A) be the set of all the types
of a in A if a occurs in A; and otherwise, TMa(A) be the set of all the types.
A set M of T-models satis es an ABox A if there is a type of a in M , i.e.,
M \ TMa(A) 6= ;, for each individual a in A.</p>
      <p>Proposition 2. Given a TBox T and an ABox A, T [ A is consistent i
TM(T ) \ TMa(A) 6= ; for each a in A.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Merging Operator</title>
      <p>In this section, we introduce an approach to merging DL-Lite ontologies to obtain
a coherent uni ed ontology.</p>
      <p>
        An ontology pro le is of the form = hT1; : : : ; Tni, where Ti is the ontology
from the source n.o. i (1 i n). There are two standard de nitions of integrity
constraints (ICs) in the classical belief change literature [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], the
consistencyand entailment-based de nitions. We also allow two types of ICs for merging,
namely the consistency constraint (CC), expressed as a set Ac of data, and the
entailment constraint (EC), expressed as a TBox Te. We assume the IC is
selfconsistent, that is, Te [ Ac is always consistent. For an ontology pro le , a
CC Ac and a EC Te, an ontology merging operator is a mapping ( ; Te; Ac) 7!
r( ; Te; Ac), where r( ; Te; Ac) is a TBox, s.t. r( ; Te; Ac)[Ac is consistent,
and r( ; Te; Ac) j= Te.
      </p>
      <p>
        In classical model-based merging approaches, merging operators are often
de ned by certain notions of model distances [11; 6]. We use S4S0 to denote the
symmetric di erence between two sets S and S0, i.e., S4S0 = (S n S0) [ (S0 n S).
Given a set S and a tuple S = hS1; : : : ; Sni of sets, the distance between S and
S is de ned to be a tuple d(S; S) = hS4S1; : : : ; S4Sni: For two n-element
distances d and d0, d d0 if di d0i for each 1 i n, where di is the i-th element
in d. Given two sets S and S0, de ne (S; S0) = S if S0 is empty, and otherwise,
(S; S0) = f e0 2 S j 9e00 2 S0 s.t. 8e 2 S; 8e0 2 S0; d(e; e0) 6 d(e0; e00) g: In [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ],
given a collection = f'1; : : : ; 'ng of propositional formulas, and some ECs
expressed as a propositional theory , the result of merging '1; : : : ; 'n w.r.t.
is the theory whose models are exactly (mod( ); mod( )), i.e., those models
satisfying and having minimal distance to .
      </p>
      <p>Inspired by classical model-based merging, we introduce a merging
operator in terms of T-models. For an ontology pro le and an EC Te, we could
de ne the T-models of the merging to be a subset of TM(Te) (so that Te is
entailed) consisting of those T-models which have minimal distance to , i.e.,
(TM(Te); TM( )). However, this straightforward adoption does not take the
CC into consideration, and the merging result obtained in this way may not
be coherent. For example, let T1 = fA v :Bg, T2 = f&gt; v Bg, Te = ;, and
Ac = fA(a); B(a)g. Then, (TM(Te); TM(hT1; T2i)) consists of only one type
fBg. Clearly, the corresponding TBox fA v ?; &gt; v Bg does not satisfy the CC,
and it is not coherent.</p>
      <p>Note that in the above example, once the merging result satis es the CC, then
it is also coherent, because both concepts A and B are satis able. In general,
it is also the case that coherency can be achieved by applying certain CC to
merging. We introduce an auxiliary ABox Ay in addition to the initial CC Ac,
in which each concept and each role is explicitly asserted with a member. That
is, Ay = fA(a) j A 2 SC ; a 2 SI is a fresh individual for Ag [ fP (b; c) j P 2
SR; b; c 2 SI are fresh individuals for P g: As assumed, SI is large enough for
us to take these auxiliary individuals. From the de nition of CCs, the merged
TBox T must be consistent with all the assertions in Ay, which assures all the
concepts and roles in T to be satis able. Based on this observation, we have the
following lemma.</p>
      <sec id="sec-3-1">
        <title>Lemma 1. T is coherent i</title>
      </sec>
      <sec id="sec-3-2">
        <title>T [ Ay is consistent for any TBox T .</title>
        <p>To ensure the coherence of merging, we only need to include Ay into the CC.</p>
        <p>For the merging to be consistent with the CC Ac, from Proposition 2, the
T-model set M of the merging needs to satisfy Ac. That is, M needs to contain a
type of a for each individual a in Ac. However, (TM(Te); TM( )) does not
necessarily satisfy this condition, as can be seen from the above example: TMa(Ac)
consists of a single type fA; Bg and (TM(Te); TM( )) \ TMa(Ac) = ;.
Intuitively, for the merging to satisfy the CC, type fA; Bg need to be added to the
T-models of merging. In general, the T-models of merging can be obtained by
extending (if necessary) the set (TM(Te); TM( )) with at least one type of a
w.r.t. Ac for each individual a in Ac, and if there are multiple such types, choose
those with minimal distances.</p>
        <p>Based on the above intuitions, the de nition of TBox merging is presented
as follows.</p>
        <p>De nition 1. Let be an ontology pro le, Te be a TBox, and Ac be an ABox.
Denote A = Ac [ Ay. The result of merging w.r.t. the EC Te and the CC
Ac, denoted r( ; Te; Ac), is de ned as follows</p>
        <p>TM(r( ; Te; Ac)) = (TM(Te); TM( ))[
[</p>
        <p>(TM(Te) \ TMa(A ); TM( )):
From the de nition, the T-models of the merging are constituted with two parts.
The rst part consists of those T-models of Te (for the satisfaction of the EC)
with minimal distances to . The second part consists of types of a, for each
individual a in A , which are added to the rst part for the satisfaction of the CC.
These types are also required to be T-models of Te and have minimal distances
to . It is clear from Proposition 1 that the result of merging is unique up to
TBox equivalence.
4</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>QBF Reduction</title>
      <p>
        In this section, we consider a standard reasoning problem for ontology
merging, namely the subclass queries : whether or not the result of merging entails a
subclass relation C v D. We present a QBF reduction for this problem, which
allows us to make use of the o -the-shelf QBF solvers [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. We assume that every
TBox in the ontology pro le is coherent, and in this case, the T-models of a
TBox T are exactly those satisfying T .
      </p>
      <p>
        We achieve the reduction in three steps. Firstly, we introduce a novel
propositional transformation for DL-Lite TBoxes. The transformation is inspired by [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ],
which contains a transformation from a DL-Lite TBox into a theory in the one
variable fragment of rst order logic. Considering T-models instead of classical
DL models allows us to obtain a simpler transformation to propositional logic
than theirs to rst order logic.
      </p>
      <p>Function ( ) maps a basic concept to a propositional variable, and a general
concept (resp., a TBox axiom) to a propositional formula.</p>
      <p>(?) = ?;
(:C) = : (C);
(C1 v C2) = (C1) !</p>
      <p>(C2):
(A) = pA;
(&gt; n R) = pnR;
(C1 u C2) = (C1) ^ (C2);
Here, pA and pnR are propositional variables. We use VS to denote the set
of propositional variables corresponding to the basic concepts over S, and we
omit the subscript S in what follows for simplicity. We can see that ( ) is a
bijective mapping between the set of DL-LitebNool general concepts and the set of
propositional formulas only referring to symbols in VS and boolean operators :,
^ and !.</p>
      <p>Naturally, given the mapping ( ), an arbitrary propositional model may not
correspond to a type. We de ne a formula whose models are exactly the set of
types. Let
=
^</p>
      <p>^
R+2SR and m&lt;k&lt;n for no k2SN
m;n2SN with m&lt;n
pnR ! pmR:
Then, mod( ) = f ( ) j is a typeg where (S) stands for for f (B1) j B 2 Sg
for a set S of basic concepts.</p>
      <p>Given a coherent DL-Lite TBox T , let (T ) = V 2T ( ) ^ : The models of
(T ) correspond to the T-models of T . For a DL-Lite ABox A and an individual
name a in A, let
a(A) =</p>
      <p>^
C(a)2A
(C) ^</p>
      <p>^ (puP ^ pvP )
P 2SR
where u and v are respectively, the maximal number in SN s.t. u jfbi j P (a; bi) 2
Agj and v jfbi j P (bi; a) 2 Agj. Note that we are not transforming an ABox
into a propositional theory, but using the encodings a(A) as constraints over
the models.</p>
      <p>It is worth noting that the sizes of (T ) and (a; A) are both polynomial in
the size of T [ A. The intuition behind (T ) and (a; A) can be shown by the
following lemma.</p>
      <p>Lemma 2. Given a coherent TBox T and an ABox A, then,
1. mod( (T )) = f ( ) j 2 TM(T )g;
2. mod( a(A) ^ ) = f ( ) j 2 TMa(A)g.</p>
      <p>This transformation essentially allows us to build a connection between our
merging operator and propositional belief merging.</p>
      <p>
        Secondly, as we have a transformation from T-models to propositional
models, we can encode (minimal) distances between them using QBFs, by extending
the encoding in [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], which was introduced for a di erent purpose. In particular,
we need to encode the distances between the models of and the models of
'1; : : : ; 'n (n 1), where and 'i's are propositional formulas in signature V .
We make n-fresh copies of V to, informally, encode the models of '1; : : : ; 'n,
respectively; let V i = fpi j p 2 V g for 1 i n where each pi is a fresh variable
for p, and V N = S1 i n V i. For a propositional formula ' and 1 i n, 'i
denotes the formula obtained from ' by replacing each occurrence of p with pi.
We also need another n-fresh copies of V , Vdi = fpid j p 2 V g to represent the
distances. An assignment to Vdi is expected to capture the di erence between a
model of and a model of 'i, and in particular, pid is assigned true if the truth
values of p and pi are di erent. Let VdN = S1 i n Vdi. De ne
      </p>
      <p>F ( ; h'1; : : : ; 'ni) =
^</p>
      <p>^
1 i n</p>
      <p>i
'i ^
^ (p $ :pi) ! pid</p>
      <p>:
p2V
A model M of F ( ; h'1; : : : ; 'ni) consists of the assignments to three sets of
variables V , V N and VdN . For a set S V [ V N [ VdN , m(S) is the set obtained
from S by eliminating the super- and subscripts. Then, M \ V is a model of ,
and m(M \V i) is a model of 'i. From (p $ :pi) ! pid, m(M \Vdi) subsumes the
symmetric di erence between the former two models. We use ! instead of $
here, as we will further constraint the assignments of VdN to minimal distances.</p>
      <p>Furthermore, de ne a QBF
D( ; h'1; : : : ; 'ni) =(9V 9V N F ( ; h'1; : : : ; 'ni)) ^
^</p>
      <p>pid ! :9V 9V N F ( ; h'1; : : : ; 'ni) ^ (p $ pi) ;
1p2iV n
where 9V with V = fp1; : : : ; pkg is an abbreviation for 9p1 : : : 9pk. A model Md
of D( ; h'1; : : : ; 'ni) is an assignment to VdN representing a minimal distance
between the models of and the model tuples of h'1; : : : ; 'ni. The rst
conjunct of D( ; h'1; : : : ; 'ni) says that there is a model of and a model tuple
of h'1; : : : ; 'ni such that the distance between them is subsumed by m(Md).
The second conjunct checks that m(Md) is minimal, i.e., there is no distance
properly subsumed by m(Md).</p>
      <p>Lemma 3. Given propositional formulas and '1; : : : ; 'n, let M D( ; h'1; : : : ; 'ni)
be the set of minimal distances (w.r.t. ) between and h'1; : : : ; 'ni (of the form
hM 4M1; : : : ; M 4Mni with M 2 mod( ) and Mi 2 mod('i)). Then,
mod(D( ; h'1; : : : ; 'ni)) = fMd</p>
      <p>V N</p>
      <p>d j 9d 2 M D( ; h'1; : : : ; 'ni) s.t.
m(Md \ Vdi) = di for each 1
i
ng:</p>
      <p>Finally, with the encoding of minimal distances, we can encode the T-models
of the merging and we are ready to encode the entailment relation. Given an
ontology pro le = hT1; : : : ; Tni and a TBox Te, all the types in (TM(Te); TM( ))
satisfy TBox axiom if and only if QBF :9VdN E( ; Te; ) evaluates to true,
with</p>
      <p>E( ; Te; ) = D( (Te); h (T1); : : : ; (Tn)i) ^
:8V</p>
      <p>9V N F ( (Te); h (T1); : : : ; (Tn)i) ! ( ) :
This QBF can be understood as follows. A model M of E( ; Te; ) is an
assignment to VdN , and represents, by the rst conjunct of E( ; Te; ), a minimal
distance between the T-models of Te and the T-model tuples of . The second
conjunct states the non-entailment, that is, not all of the T-models of Te
having such a distance satisfy . The QBF as a whole essentially says that there
does not exists a minimal distance d such that a type (in (TM(Te); TM( )))
selected with d fails to satisfy . Similarly, given an ABox A and an
individual a in A, all the types in (TM(Te) \ TMa(A); TM( )) satisfy i QBF
:9VdN Ea( ; Te; A; ) evaluates to true, where Ea( ; Te; A; ) is obtained from
E( ; Te; ) by replacing (Te) with (Te) ^ a(A).</p>
      <p>Now, we can reduce the subclass query answering for TBox merging to QBF
as follows.</p>
      <p>Theorem 1. Let be an ontology pro le with coherent source TBoxes, Te be
a TBox and Ac be an ABox in DL-LitebNool. Let A = Ac [ Ay. Given a TBox
axiom , we have r( ; Te; Ac) j= i the following QBF evaluates to true
_
We have implemented the algorithm for answering subclass queries in
ontology merging, called OntoMerge, and it is publicly available for test at http:
//www.ict.griffith.edu.au/~kewen/OntoMerge/. The ultimate goal of our
system OntoMerge is to transform the entailment over merged ontologies to the
validity of QBFs as given in Eq.(1). If the input ontologies are T1; : : : ; Tn and
the query is , then the corresponding QBF can be split into two parts: one is
the formula E( ; Te; ), and the other is a disjunction of formulas of the form
Ea( ; Te; A ; ). The size of the rst part is only determined by the sizes of the
input ontologies, the input EC and the query , and the size of is often small
compared to the ontologies. In the second part of the resulting QBF, the number
of disjuncts is essentially determined by the number of unsatis able concepts in
the union of input ontologies (as will be explained later) and the input CC. Thus,
the number of unsatis able concepts plays a crucial role in the complexity of the
reduction algorithm.</p>
      <p>
        In OntoMerge, we rst check whether the given ontologies can be simply
jointed without causing any incoherency using an o -the-shelf DL reasoner
(HermiT [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] is used in the current program). The set of unsatis able concepts will
be stored for being used later. If the union of input ontologies is coherent, the
query answering can be done by the DL reasoner; otherwise, the system
generates the QBF speci ed in Eq.(1). For this purpose, the system will rst scan
all input ontologies to obtain the set of basic concepts occurring in these
ontologies and assign a propositional variable with each basic concept. Then the
QBF is generated in QBF 1.0 format5. The structure of OntoMerge is depicted
in Figure 1.
However, as most of e cient QBF solvers accept only input QBFs in the prenex
normal form, the QBF generated in this way cannot be directly fed to a QBF
solver. So we need to convert the QBF into the prenex normal form rst.
Unfortunately, the standard translation from a given QBF into its prenex normal
form is very ine cient and thus several heuristics based on the speci c QBF
are used to optimize the e ciency in our implementation. For instance, from
Eq.(1), we can see that the major source for introducing a large number of new
variables is from the construction of the ABox A . So we introduce new variables
for only those concepts that are unsatis able and add new assertions for such
new variables to A in the reduction algorithm. This optimization signi cantly
reduces the number of new variables.
      </p>
      <sec id="sec-4-1">
        <title>5 http://qbflib.org/boole.html</title>
        <p>Once the QBF is generated, a publicly available program is used to convert
it from QBF 1.0 format to QDIMACS format6 or ISCAS format7 and then an
e cient QBF solver is used to decide the validity of the QBF.
6</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Experimental Results</title>
      <p>To test the e ciency of OntoMerge, we used the DL-LitebNool fragment of the
medical ontology Galen8, which is of medium size. Our experimental results show
that the system is relatively e cient, while further optimization is still under
way. Speci cally, various randomly modi ed fragments of Galen were merged
using OntoMerge and the following three types of experiments were conducted:
{ Fixed total number of axioms in the input ontologies but varied number of
unsatis able concepts.
{ Fixed total number of unsatis able concepts but varied total number of
axioms in the input ontologies.
{ Fixed number of unsatis able concepts but varied total number of input
ontology axioms.</p>
      <p>
        A PC with Intel Core 2 Duo E8400, 4GB RAM, running Linux Mint 13
64bit, and CirQit QBF solver [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] were used in our tests. For each test, the time
is limited to one hour (i. e. the program will be terminated after one hour no
matter a result is returned or not).
      </p>
      <sec id="sec-5-1">
        <title>6 http://www.qbflib.org/qdimacs.html</title>
        <p>7 http://logic.pdmi.ras.ru/~basolver/rtl.html
8 http://www.co-ode.org/galen/
gure we can see that the program is quite fast according to the time used for
generating the QBF and the time used for deciding the validity of the QBF. This
is because when the number of unsatis able concepts increases, the size of the
QBF generated increases linearly. However, when the number of unsatis able
concepts is over 18, OntoMerge can still generate the QBF but the QBF solver
is unable to decide the validity of such a QBF.</p>
        <p>In the second set of tests, we xed the number of unsatis able concepts to
1 but increased the total number of axioms from 26 to 174. Figure 3 shows
that when the number of axioms is increased, the time cost for generating QBF
increases faster than in the rst set of tests. This is partly due to the fact that
with the increase of the total axioms, the size of the QBF signi cantly increases
too. Similar to the case for the rst set of tests, when the total number of axioms
is over 174, the QBF solver fails again.</p>
        <p>In the third set of tests, we x the ratio of total number of axioms to the
number of unsatis able concepts to around 0:15 but let the total number of
axioms varied from 26 to 92 as well as the number of unsatis able concepts.
Figure 4 shows a similar pattern to Figure 3. When the total number of axioms
is over 92, the QBF solver failed to return an answer.</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>Conclusion</title>
      <p>We have developed a novel approach for merging ontologies in DL-Lite, in terms
of types instead of classical DL models. We have also presented algorithms to
reduce subclass queries of DL-Lite merging to the evaluation of QBFs and thus
provided a novel way of reasoning with the result of ontology merging using
e cient QBF solvers. We have implemented a preliminary merging system
OntoMerge, and reported some experimental results in the paper. Currently we are
extending the approach in two directions: (1) merging DL-Lite ontologies with
both TBoxes and ABoxes, and (2) merging ontologies in expressive DLs.</p>
      <p>Acknowledgement: We would like to thank the three anonymous referees
for their helpful comments. Special thanks to Rodney Topor for various
discussions with him. Kewen Wang was partially supported by the ARC grants
DP1093652 and DP110101042. Guilin Qi was partially supported by the NSFC
grant 61272378.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>A.</given-names>
            <surname>Artale</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Calvanese</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Kontchakov</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Zakharyaschev</surname>
          </string-name>
          .
          <article-title>The DL-Lite family and relations</article-title>
          .
          <source>J. Artif. Intell. Res.</source>
          ,
          <volume>36</volume>
          :1{
          <fpage>69</fpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>D.</given-names>
            <surname>Calvanese and G. De Giacomo</surname>
          </string-name>
          .
          <article-title>Data integration: A logic-based perspective</article-title>
          .
          <source>AI Magazine</source>
          ,
          <volume>26</volume>
          (
          <issue>1</issue>
          ):
          <volume>59</volume>
          {
          <fpage>70</fpage>
          ,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>J. P.</given-names>
            <surname>Delgrande</surname>
          </string-name>
          and
          <string-name>
            <given-names>T.</given-names>
            <surname>Schaub</surname>
          </string-name>
          .
          <article-title>A consistency-based approach for belief change</article-title>
          .
          <source>Artif</source>
          . Intell.,
          <volume>151</volume>
          (
          <issue>1-2</issue>
          ):1{
          <fpage>41</fpage>
          ,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>J. P.</given-names>
            <surname>Delgrande</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Schaub</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Tompits</surname>
          </string-name>
          , and
          <string-name>
            <given-names>S.</given-names>
            <surname>Woltran</surname>
          </string-name>
          .
          <article-title>On computing belief change operations using quanti ed boolean formulas</article-title>
          .
          <source>J. Log. Comput.</source>
          ,
          <volume>14</volume>
          (
          <issue>6</issue>
          ):
          <volume>801</volume>
          {
          <fpage>826</fpage>
          ,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>J.</given-names>
            <surname>Euzenat</surname>
          </string-name>
          and
          <string-name>
            <given-names>P.</given-names>
            <surname>Shvaiko</surname>
          </string-name>
          . Ontology matching. Springer-Verlag,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>P.</given-names>
            <surname>Everaere</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Konieczny</surname>
          </string-name>
          , and
          <string-name>
            <given-names>P.</given-names>
            <surname>Marquis</surname>
          </string-name>
          .
          <article-title>Con ict-based merging operators</article-title>
          .
          <source>In Proc. KR</source>
          ,
          <volume>348</volume>
          {
          <fpage>357</fpage>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>I.</given-names>
            <surname>Horrocks</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Motik</surname>
          </string-name>
          and
          <string-name>
            <given-names>Z.</given-names>
            <surname>Wang</surname>
          </string-name>
          .
          <article-title>The HermiT OWL Reasoner</article-title>
          .
          <source>Proc. IJCARORE workshop</source>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>R.</given-names>
            <surname>Goultiaeva</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Iverson</surname>
          </string-name>
          , and
          <string-name>
            <given-names>F.</given-names>
            <surname>Bacchus. Beyond</surname>
          </string-name>
          <string-name>
            <surname>CNF</surname>
          </string-name>
          :
          <article-title>A circuitbased QBF solver</article-title>
          .
          <source>In Proc. SAT</source>
          ,
          <volume>412</volume>
          {
          <fpage>426</fpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>A.</given-names>
            <surname>Kalyanpur</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Parsia</surname>
          </string-name>
          , E. Sirin, and
          <string-name>
            <given-names>B. Cuenca</given-names>
            <surname>Grau</surname>
          </string-name>
          .
          <article-title>Repairing unsatis able concepts in OWL ontologies</article-title>
          .
          <source>In Proc. of ESWC</source>
          , pages
          <volume>170</volume>
          {
          <fpage>184</fpage>
          ,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <given-names>A.</given-names>
            <surname>Kalyanpur</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Parsia</surname>
          </string-name>
          , E. Sirin, and
          <string-name>
            <given-names>J. A.</given-names>
            <surname>Hendler</surname>
          </string-name>
          .
          <article-title>Debugging unsatis able classes in owl ontologies</article-title>
          .
          <source>J. Web Semantics</source>
          ,
          <volume>3</volume>
          (
          <issue>4</issue>
          ):
          <volume>268</volume>
          {
          <fpage>293</fpage>
          ,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <given-names>S.</given-names>
            <surname>Konieczny</surname>
          </string-name>
          and
          <string-name>
            <given-names>R. Pino</given-names>
            <surname>Perez</surname>
          </string-name>
          .
          <article-title>Merging information under constraints: A logical framework</article-title>
          .
          <source>J. Log. Comput.</source>
          ,
          <volume>12</volume>
          (
          <issue>5</issue>
          ):
          <volume>773</volume>
          {
          <fpage>808</fpage>
          ,
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12. T. Meyer,
          <string-name>
            <given-names>K.</given-names>
            <surname>Lee</surname>
          </string-name>
          , and
          <string-name>
            <given-names>R.</given-names>
            <surname>Booth</surname>
          </string-name>
          .
          <article-title>Knowledge integration for description logics</article-title>
          .
          <source>In Proc. AAAI</source>
          ,
          <volume>645</volume>
          {
          <fpage>650</fpage>
          ,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13. G. Qi and
          <string-name>
            <given-names>J.</given-names>
            <surname>Du</surname>
          </string-name>
          .
          <article-title>Model-based revision operators for terminologies in description logics</article-title>
          .
          <source>In Proc. IJCAI</source>
          ,
          <fpage>891</fpage>
          -
          <lpage>897</lpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <given-names>S.</given-names>
            <surname>Schlobach</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Huang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Cornet</surname>
          </string-name>
          , and
          <string-name>
            <surname>F. van Harmelen.</surname>
          </string-name>
          <article-title>Debugging incoherent terminologies</article-title>
          .
          <source>J. Autom. Reasoning</source>
          ,
          <volume>39</volume>
          (
          <issue>3</issue>
          ):
          <volume>317</volume>
          {
          <fpage>349</fpage>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <given-names>Z.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Wang</surname>
          </string-name>
          , and
          <string-name>
            <given-names>R.</given-names>
            <surname>Topor</surname>
          </string-name>
          .
          <article-title>A new approach to knowledge base revision in DL-Lite</article-title>
          .
          <source>In Proc. AAAI</source>
          ,
          <volume>369</volume>
          {
          <fpage>374</fpage>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>