<!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>Ontology Partitioning Using E -Connections Revisited</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Extended Abstract</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Computer Science, University of Bremen</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Modular ontologies have received much attention in the past decade; they are usually easier to maintain, comprehend, and reason over. If an ontology is given as a monolithic entity, the task of decomposing it into modules is the first step towards making it modular. Several decomposition approaches have been developed, among them partitionings based on E -connections [2] (henceforth: E -partitions). E -partitions have been developed for the purpose of automatically and e ciently decomposing an ontology into a graph whose nodes are (pairwise disjoint and mutually covering) components (i.e., subsets) of the ontology, and whose edges represent “semantic links” between the components in the style of E -connections [5]. The adoption of the E -connection framework ensures that the resulting partitions provide strong logical guarantees, such as encapsulation. E -Connections have been defined for abstract description systems (ADSs), a notion that generalises description logics (DLs) and further formalisms. An E -connection is a combination of (heterogeneous) logical theories via semantic links established by a designated set of relations, called link relations. The semantics of such a combination is given by interpretations consisting of pairwise disjoint components. In contrast to the general nature of E -connections, E -partitions have been defined specifically for the DL SHOIQ(D), a fragment of the latest OWL 2 ontology language. The partitioning procedure starts from a monolithic ontology O and attempts to turn it into an (as fine as possible) E -connection by identifying link relations among the roles in O. In [1,2] an e cient algorithm is given. To ensure that the resulting E -partition and the input ontology are equivalent under the E -connection semantics, an additional condition has to be imposed on the input ontology, which was called safety and coincides with domainindependence (DI), as known from first-order logic and database theory. Contrary to DI in first-order logic, DI for SHOIQ(D) is decidable. The partitioning algorithm was implemented as an experimental feature of the (discontinued) ontology editor Swoop. Initial experiments [2] showed that some ontologies admit useful E -partitions, sometimes revealing modelling deficiencies. On the other hand, some modelling patterns - e.g., the use of few top-level concepts - are notoriously problematic: they admit only coarse E -partitions. The limited success of E -partitions may be due to this observation, but may also lie in the preliminary nature of the implementation. Hence some observed “poor” (i.e., coarse-grained) E -partitions might be due to code bugs and not “features” of the general approach.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        When pursuing this last question, we found a considerably simpler way of computing
E -partitions, based on the idea of creating an undirected graph G whose edges connect
concepts and/or roles that must be part of the same component, and reading the minimal
E -partition o G’s connected components. We were able to extend the underlying
framework to most of OWL 2, with the only exception of the universal role u. This
exception is unavoidable in some sense [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], but it is also insignificant because u “typically
plays a minor role in modelling” [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
      <p>
        Our new approach o ers the following advantages over the original one:
– Ready applicability to the latest OWL 2 standard, under two restrictions ensuring
equivalence (domain-independence, absence of the universal role)
– A simplified notation of the theoretical foundations
– A new deterministic partitioning algorithm that is based on a simple idea and can be
implemented to run in linear time (the original one is quadratic)
– Simple rigorous proofs that the algorithm is correct and outputs the maximal
equivalent E -connection
In the light of these advantages, we predict an easy implementation of the algorithm and
plan experiments on an up-to-date corpus of existing ontologies. The work reported here
is therefore in progress. This extended abstract summarises the submission [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] to the
Description Logic Workshop, which contains numerous additional details.
2
      </p>
      <p>
        E -Connections and Partitionings for S ROI Q
We consider SROIQ, the description logic (DL) underlying OWL, minus the universal
role (see above). We omit datatypes and keys, discussing their addition (and of further
non-OWL features) in [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. For the syntax and semantics of SROIQ, see [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. An
ontology is a set of axioms (no distinction between TBoxes, RBoxes, and ABoxes).
      </p>
      <p>Let be a signature, i.e., a finite set of terms (concept, role, and individual names).
Given a natural number n 1, an n-numbering of is a function that assigns to each
concept and individual name a number (A); (a) 2 f1; : : : ; ng and to each role name a
number (r) 2 f1; : : : ; ng2. Numberings are extended inductively to arbitrary concepts
and axioms. A concept C (axiom ) is called an i-concept (i-axiom) if (C) = i ( ( ) = i).</p>
      <p>Given an n-numbering , a -ontology is a tuple O = (O1; : : : ; On), each of whose
components Oi is a nonempty set of i-axioms. The semantics of -ontologies is given by
-interpretations, whose domain consist of n pairwise disjoint nonempty sets, and which
interpret every i-concept name and i-individual name in the i-th component, and every
(i; j)-role name as a relation between the i-th and j-th component. The interpretation
function is extended in the obvious way to arbitrary concepts; satisfaction of i-axioms is
defined as expected and denoted I j= . A -ontology I is a model of a -ontology O,
written I j= O, if I j= for all axioms in O. O is consistent if it has a model.</p>
      <p>The correspondence between simple and -ontologies is captured by compatibility
and equivalence (the former being syntactic and the latter semantic).</p>
      <p>Definition 1. Let O be an ontology, an n-numbering, and O = (O1; : : : ; On) a -ontol.
1. O and O are compatible, written O
2. O and O are equivalent, written O</p>
      <p>O, if O = Si n Oi .</p>
      <p>O if, for all -interpret. I: I j= O i I j= O.</p>
      <p>
        Compatibility implies equivalence under an additional assumption: domain-independence
as known from the first-order and database worlds. A concept C (axiom ) is
domainindependent (DI) if CI = CJ (I j= i J j= ) for all interpretations I; J with
XI = XJ for all terms X. An ontology is DI if so are all its axioms. For (most of)
SROIQ, DI can be decided e ciently via a syntactic characterisation, called locality
in [
        <xref ref-type="bibr" rid="ref1 ref2">1,2</xref>
        ]. DI links compatibility and equivalence as follows.
      </p>
      <p>Theorem 2. Let O be an ontology, an n-numbering, O = (O1; : : : ; On) a -ontology.
1. (a) If O is DI and O O, then O O.</p>
      <p>(b) If additionally O is consistent, then so is O.
2. If O is not DI and consistent and O O and O
3</p>
    </sec>
    <sec id="sec-2">
      <title>The New Partitioning Algorithm</title>
      <p>O, then n = 1, i.e., O = O.</p>
      <p>
        We now present the partitioning algorithm. As in [
        <xref ref-type="bibr" rid="ref1 ref2">1,2</xref>
        ], it receives as input an ontology
O and returns a -ontology O = (O1; : : : ; On) such that O O and n is maximal
with this property. If O is domain-independent, O O follows by Theorem 2. Let
sub(O) be the set of all concepts (atomic or complex) occurring in O. The main routine
partition(O) of Algorithm 1 first creates a graph G containing one node per concept
in sub(O) and two nodes r0; r1 per role r in O. It then adds all edges induced by the
structure of the concepts (addSubConceptEdges) and axioms (addAxiomEdges) in O
to G. For a given role R, both subroutines use the notation Ri, which equals ri if R = r
and r1 i if R = r , for i = 0; 1. Additionally, addAxiomEdges labels, for each axiom ,
one of the created edges with . Next, the CCs of G are determined. Then the partitioning
is read o the axiom labels in the CCs. We show in [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] that the algorithm runs in linear
time, is correct, and outputs the maximal compatible O.
      </p>
      <p>For example, let O = fA v 9r:B; B v B0g. Then G has nodes A; 9r:B; r0; r1; B; B0,
and edges fA; 9r:Bg; f9r:B; r0g; fr1; Bg; fB; B0g. Edges fA; 9r:Bg and fB; B0g are labelled
A v 9r:B and B v B0, respectively. Now G has 2 connected components (CCs): G1 with
nodes A; 9r:B; r0 and label ; G2 with r1; B; B0 and . Hence O = (fA v 9r:Bg; fB v B0g).
4</p>
    </sec>
    <sec id="sec-3">
      <title>Conclusions and Future Work</title>
      <p>
        We have extended the original approach underlying E -partitions in [
        <xref ref-type="bibr" rid="ref1 ref2">1,2</xref>
        ] to all of OWL
2 except the universal role (which cannot be accommodated, as shown in [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]). We
have presented a new simplified notation and a linear-time algorithm for computing
the maximal E -connection that is syntactically compatible (and, assuming
domainindependence, equivalent) with the input ontology. We show in [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] that theory and
algorithm extend to expressive operators on roles considered in the literature.
      </p>
      <p>For future work, we expect a straightforward implementation of our algorithm, as
a basis for experiments on a representative up-to-date ontology corpus. We conjecture
that existing ontologies generally decompose well when allowing slight deviations from
(syntactic) compatibility, to circumvent the notorious problematic modelling patterns, see
x1. We furthermore plan to revisit module extraction, extending the existing procedure
2
switch C do
case :D do E
case D u F do E
case &gt;m R:D do E
case 9R:Self do E
case fag do E
16 Function addAxiomEdges(G; ):
9 Function addSubConceptEdges(G; C):</p>
      <p>E [ fC; Dg
E [ ffC; Dg; fC; Fgg
E [ ffC; R0g; fR1; Dgg
E [ ffC; R0g; fC; R1gg</p>
      <p>E [ ffC; agg
1 Function partition(O):
input : O with signature</p>
      <p>output: -ontology O
V fC j C 2 sub(O)g [ fr0; r1 j r 2 Rg; E ;; L
forall C 2 sub(O) do addSubConceptEdges(G; C)
forall 2 O do addAxiomEdges(G; )
;
fG1; : : : ; Gng all connected components (CCs) of G with 1 axiom label
forall i n do Oi f j L(v; v0) = for some edge (v; v0) in Gig
O (O1; : : : ; On)</p>
      <p>D do E E [ fC; Dg;
S or Disjoint(R; S ) do</p>
      <p>E E [ ffR0; S 0g; fR1; S 1gg;</p>
      <p>L(C; D)
L(R0; S 0)
case R S v T
case C(a)
case R(a; b)
case a b or a 0 b
do E
do E
do E
do E</p>
      <p>E [ ffR1; S 0g; fR0; T0g; fS 1; T1gg; L(R0; T0)
E [ fC; ag; L(C; a)
E [ ffa; R0g; fR1; bgg; L(a; R0)</p>
      <p>
        E [ ffa; bgg; L(a; b)
in [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] to arbitrary E -connections, independently of a specific partitioning algorithm.
Given the linear runtime of our algorithm, module extraction might even compete in
performance with syntactic locality. Finally, we expect to transfer the overall approach
to logics with unary negation, such as frontier-one existential rules or even UNFO.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>Cuenca</given-names>
            <surname>Grau</surname>
          </string-name>
          ,
          <string-name>
            <surname>B.</surname>
          </string-name>
          :
          <article-title>Combination and integration of ontologies on the semantic web</article-title>
          .
          <source>Ph.D. thesis</source>
          , Universidad de Valencia (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>Cuenca</given-names>
            <surname>Grau</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            ,
            <surname>Parsia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            ,
            <surname>Sirin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            ,
            <surname>Kalyanpur</surname>
          </string-name>
          ,
          <string-name>
            <surname>A.</surname>
          </string-name>
          :
          <article-title>Modularity and web ontologies</article-title>
          .
          <source>In: Proc. of KR-06</source>
          . pp.
          <fpage>198</fpage>
          -
          <lpage>209</lpage>
          . AAAI Press (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Jongebloed</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schneider</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Ontology partitioning using E-connections revisited (</article-title>
          <year>2018</year>
          ),
          <article-title>DL 2018</article-title>
          . TR: http://www.informatik.uni-bremen.de/tdki/research/papers.html
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4. Kro¨tzsch, M.,
          <string-name>
            <surname>Simancˇik</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Horrocks</surname>
            ,
            <given-names>I.:</given-names>
          </string-name>
          <article-title>A description logic primer</article-title>
          .
          <source>CoRR abs/1201</source>
          .4089 (
          <year>2012</year>
          ), http://arxiv.org/abs/1201.4089
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Kutz</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wolter</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zakharyaschev</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>E-connections of abstract description systems</article-title>
          .
          <source>Artif. Intell</source>
          .
          <volume>156</volume>
          (
          <issue>1</issue>
          ),
          <fpage>1</fpage>
          -
          <lpage>73</lpage>
          (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>