<!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>DeaLing with Ontologies using CODs</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Chiara Del Vescovo</string-name>
          <email>delvescc@cs.man.ac.uk</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Rafael Pen~aloza</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>School of Computer Science, The University of Manchester</institution>
          ,
          <country country="UK">UK</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Theoretical Computer Science, TU Dresden, Germany Center for Advancing Electronics Dresden</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>A major challenge in knowledge representation is to manage the access to knowledge: users should not be presented with knowledge that is irrelevant to their topic of interest, or have no right to access. Two general strategies exist for providing access restrictions: (1) the ontology engineers describe the conditions that allow access to speci c fragments of the ontology, or (2) fragments are automatically identi ed through their logical properties. The former is prone to miss logical connections between axioms, while the latter can fail to capture relevant knowledge that has no logical connection with the topic of interest. We de ne the Context-Oriented Decomposition (COD) of an ontology as a technique that combines the bene ts of both approaches: it allows authors to identify relevant fragments, while guaranteeing the strong semantic properties of the logic-based Atomic Decomposition.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Description Logics (DLs) [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] have been successfully used to represent the
knowledge of an application domain in a structured and usable manner. This
knowledge is encoded through an ontology : a nite set of axioms that restrict the
possible interpretations of the terms that are relevant for the domain. Di
erent reasoning tasks can then be applied to extract knowledge that is implicitly
encoded in this ontology.
      </p>
      <p>
        In general, ontologies can be very large and contain a high level of detail of
di erent topics within the same general domain. For example, the large-scale
ontology Snomed CT [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] describes knowledge about anatomy, disorders, and
processes, among many others. A user that is interested in only one topic or
a general view might be overwhelmed by the additional information, irrelevant
to her, available. It would thus be helpful to provide this user with just the
knowledge that is relevant with her, without obscuring any relevant knowledge.
A related, dual problem in using ontologies consists of restricting the access to
sensitive knowledge: users have reasoning capabilities, thus removing an explicit
axiom that describes sensitive knowledge is not su cient to preserve secrecy, as
it might be the case that the same knowledge can be inferred from the rest of
? Funded by the EPS Strategic Fund 2014 provided by the University of Manchester
?? Partially supported by the DFG within the Cluster of Excellence `cfAED'
the ontology. These two problems o er the same kind of challenge: to provide
di erent users with the view to this knowledge that best suits their needs.
      </p>
      <p>
        One strategy for tacking these issues is to decompose the ontology into
meaningful fragments that can be provided to or hidden from users, depending on their
interests and access rights. Current approaches for decomposing an ontology
can be divided in two main categories: manual author-de ned decompositions
like [
        <xref ref-type="bibr" rid="ref2 ref3">3,2</xref>
        ], where the strong human component makes the fragments obtained
liable to miss key information, or to include irrelevant one; and automated
logicbased approaches, where the decomposition obtained satis es logical properties,
but it is likely to be very di erent from the one that authors have in mind.
The main drawbacks of these two approaches are clear. The manual approach
requires an expert to explicitly describe the full decomposition in detail, which
is infeasible, specially for large or complex ontologies. The automated approach,
on the other hand, must rely on semantic properties of the ontology without the
intervention of an expert. Such an automated procedure cannot, e.g., combine
two axioms with two disparate signatures into one common topic.
      </p>
      <p>In this paper we present a new approach to ontology partitioning, called
context-oriented (atomic) decomposition (COD ), that combines the bene ts of
both kinds of approaches, while minimizing their drawbacks: it allows authors
to identify fragments of an ontology that may be provided to users under some
conditions; and it is based on a well-de ned ontology partitioning, namely the
atomic decomposition, that can be e ciently computed and guarantees the
fragments obtained to satisfy strong logical properties.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Preliminaries</title>
      <p>
        We assume familiarity with Description Logics (DLs) [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], and discuss the central
notions of locality-based modularity [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] and Atomic Decompositions (ADs) [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
For the rest of this paper, L denotes an arbitrary but xed DL language, e.g.
ALC, and O, M, or R, stand for an L-ontology, i.e., a nite set of L-axioms.
For an axiom or ontology O, we denote as e and Oe the signature of and O,
respectively; i.e., Oe is the set of concept-, role-, and individual-names that appear
in O, and similarly for e. A seed signature is any user-selected or
applicationdriven set of terms occurring in Oe. A logical module M for a seed signature
in O is a subset of O such that, for all axioms with e , M j= i
O j= ; i.e., M preserves all the entailments of O over the seed signature .
This property is usually known as coverage.
      </p>
      <p>
        In general, we call module any subset M of an ontology O such that there
exists a signature Oe for which M is a logical module in O. This notion
of module is based upon the well-known notion in logics of deductive
Conservative Extensions (dCEs), rst discussed for DLs in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. Unfortunately, deciding
whether a set of axioms is a module is, in general, hard or even impossible for
expressive DLs [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. In particular, it is hard to identify minimal such modules:
due to the monotonicity of DLs, once a module M for in O is found, then
all its supersets in O are also modules for in O. Clearly, all the axioms in a
minimal module play some role in preserving the entailments over .
      </p>
      <p>
        Some (not necessarily minimal) modules satisfy two additional properties:
(1) a module M is depleting if O n M entails only tautologies over the signature
; and (2) M is self-contained if it is a module in O for the signature [ Mf.
Intuitively, depleting modules encapsulate the knowledge of O about , and
no information about is disclosed if the remainder O n M is published; and
self-containment guarantees that all the terms in Mf have the same status w.r.t.
entailments, so that all the terms in Mf are as much constrained in M as they are
in O. Modules satisfying these two properties also satisfy uniqueness : for each
ontology O, a depleting and self-contained module for a signature is uniquely
determined, under some mild conditions on the language used that are always
satis ed by DL ontologies [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. These properties, originally introduced in [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]
are important for knowledge reuse, as discussed in [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ].
      </p>
      <p>
        The hardness results for minimal modules transfer to the computation of
minimal self-contained and depleting modules. To identify feasible module
extraction algorithms, one line of research in module extraction has been to restrict
the expressivity of the DL to regain decidability; this approach has led to the
identi cation of a polynomial algorithm to extract modules from DL-Lite
ontologies using QBF solvers [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ], and to the MEX system that allows for the
extraction of modules from terminological ELI ontologies [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ].
      </p>
      <p>
        A di erent approach, aiming to allow module extraction from ontologies as
expressive as SROIQ, consists of identifying conditions under which computing
a module is cheap, and the resulting modules are \not too large"; i.e., do not
contain too many super uous axioms. A prominent approach in this direction
exploits the notion of syntactic locality [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], or locality for short. Locality-based
modules (LBMs) come in many avours, but for the sake of this paper we will
focus on the three main notions named ?, &gt;, and &gt;? .
      </p>
      <p>
        Let 2 f&gt;; ?g, and let 0 denote the formula obtained by replacing with the
concept all the terms in that are not in . A syntactic check for -locality
can be performed by testing whether 0 matches one of the syntactical patterns
that guarantee that is a tautology, that can be found in [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. In contrast to
determining whether a formula is a tautology, which is as hard as reasoning,
the syntactic approximation provided by the patterns table makes the locality
check purely syntactic, and hence the check can be performed in linear time. As
an example, consider the axiom = C v D. Then, is ?-local w.r.t. 1 = fDg
since 0 = ? v D is clearly a tautology for any (possibly complex) concept D.
Similarly, is &gt;-local w.r.t. 2 = fCg since 0 = C v &gt; is a tautology for any
concept C. The following proposition lays down the foundation for using locality
to identify modules in ontologies.
      </p>
      <p>
        Proposition 1 ([
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]). If M O is such that all the axioms in O n M are -local
w.r.t. [ Mf, then M is a depleting module for in O.
      </p>
      <p>The extraction of a module can be thus performed as follows: (1) de ne M as the
set consisting of all the axioms in O that are non -local w.r.t. ; (2) enlarge
with Mf; (3) repeat steps (1) and (2) until a xpoint is reached. By Proposition 1,
the set M obtained is a depleting module. Moreover, the enlargement of by
Mf guarantees that M is also self-contained. The resulting module is called the
-module of in O, and is denoted by -mod( ; O).</p>
      <p>Due to the coverage property, the extraction of the ?-module for a signature
from the &gt;-module for in O is still a module for in O. The converse is also
true; that is, the &gt;-module for in the ?-module for in O is still a module
for in O. Hence, by iteratively nesting ?- and &gt;-extraction until a xpoint
is reached one can get rid of more axioms that are not needed to preserve the
entailments of O over . It can be shown that the xpoint does not depend on
which notion is applied rst. This uniquely determined new notion of module is
called the &gt;? -module of in O, and is denoted by &gt;? -mod( ; O).</p>
      <p>
        Roughly speaking, a &gt;-module for in O gives a view \from above" to
the knowledge about : it contains all the named sub-concepts of any concept
name in ; dually, a ?-module for in O gives a view \from below" since it
contains all the named super-concepts of any concept name in ; a &gt;? -module,
instead, is a subset of both the corresponding &gt;- and ?-modules, containing all
the axioms needed to entail that two concepts in are one a sub-concept of
the other, but not necessarily all their sub- or super-concepts. The results in
this paper can be easily extended to all notions of self-contained and depleting
modules, but for simplicity we restrict our attention to LBMs. For a deeper
discussion on LBMs, see [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
      <p>
        OWL [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] and its successor OWL 2 are syntactic variants of DLs. For OWL
ontologies, module extraction systems have been implemented and are available,
both as part of the ontology editor Protege,3 and online.4
The Atomic Decomposition of an Ontology. For the purposes of this paper,
it is relevant to investigate on the logical relationships between modules. This
task, though, cannot be performed by pairwise comparisons of modules, as there
are, in principle and in practice, exponentially many modules in the number of
axioms of an ontology O [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ].
      </p>
      <p>
        We can restrict our attention to the building blocks of modules, as de ned
in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]: a -atom is a maximal set of axioms a O such that, for each -module
M, either a M, or a\M = ; (for 2 f?; &gt;; &gt;? g). Atoms are thus fragments
of an ontology that show a tight logical interrelation as they never split across
two or more modules. Notably, atoms are disjoint, and cover the whole ontology.
As a consequence, the set A of all the atoms of an ontology O is a partition of
O, thus there are at most as many atoms as axioms in O.
      </p>
      <p>For each atom a, there is a unique smallest module Ga that contains a. Such
a module is called genuine. Notably, the set G of the genuine modules of O forms
a base of the set F of all the modules of O. In particular, every module of O can
be decomposed in a unique way as the union of one or more genuine modules.
Moreover, G induces a partial order relation over the set A which is de ned
as follows: we say that an atom a depends on another, distinct atom b, and
write a b, i for every genuine module G 2 G such that a G, we have that
b G. The partially ordered set (A; ) is called the Atomic Decomposition (AD)
3 http://www.co-ode.org/downloads/protege-x
4 http://owlapi.sourceforge.net/
35 10 21
of O, and its well-foundedness derives from the depletion and self-containment
properties of modules. ADs are usually represented by their Hasse diagrams as
the one shown in Figure 1. Each genuine module Ga can be found by identifying
the corresponding atom a and by taking the union of atoms obtained by chasing
the dependence relation .</p>
      <p>
        Example 2. The Common Anatomy Reference Ontology (CARO) is a simple
ontology, available in the ontology repository BioPortal,5 that, in the words of
its developers, aims at \facilitating interoperability between existing ontologies
for di erent species, and at providing a template for building new anatomy
ontologies" [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. CARO consists of 54 axioms written in EL with transitive roles.
      </p>
      <p>Figure 1 depicts the ?-AD of CARO, which re ects the hierarchical structure
of the ontology. As it can be seen, CARO decomposes into 50 di erent ?-atoms.
46 of these atoms contain only one axiom, and the remaining atoms (a3; a7; a19;
and a37 in the gure) contain 2 axioms each. Looking at the graph, we can
identify the di erent genuine modules. For instance, a20 de nes the genuine module
G20 = a20 [ a38. The atom a39 contains only epithelium v portion of tissue.
Three atoms depend on a39:
a12 = fatypical epithelium v epitheliumg;
a13 = fmultilaminar epithelium v epitheliumg; and
a16 = funilateral epithelium v epitheliumg:
Although a31 contains the axiom epithelial cell v cell, no logical dependence
among a31 and a39 is shown since the ontology does not describe any logical
relationship between an epithelial cell and the epithelium.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Contexts and Rhemes</title>
      <p>
        Modules are widely used for ontology reuse as they provide a powerful tool to
identify a part of an ontology preserving the meaning of a signature of interest.
For other tasks, though, the user must understand how the module M relates
to the rest of the ontology. In the following, we describe two such tasks, and
discuss the limitations of using purely logical modules for them.
5 http://bioportal.bioontology.org/
Knowledge Completion (KC). An ontology is an explicit, formal
representation that accounts for the ontological commitment of a particular
conceptualization of the knowledge about a domain [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. As such, it can only approximate
the intended models; moreover, even if the di erence between the intensional
and extensional models could be eliminated, for many purposes this would mean
super uous work, as a partial representation may su ce for a given
application. In other words, some relations between the objects of the domain can be
underspeci ed in the logical formalisation, as it occurs in the CARO ontology
(see Example 2). However, the users may still want their fragments to preserve
not only the logical aspects, but also the ontological commitment of their
subdomain of interest, which purely logical modules are not designed to preserve.
In this case, domain knowledge is required to include the relevant terms for the
sub-domain of interest in the seed signature of the module.
      </p>
      <p>
        Access Control (AC). As discussed in Section 2, the signature of a module M
is usually larger than the seed signature , as the reasons for an entailment over
to hold can arise from axioms where no term in is mentioned. Since users are
capable of reasoning, they can then derive logical consequences over the signature
Mf. Thus, the knowledge engineer must ensure that users can only access those
modules that do not implicitly encode any sensitive information, whose access
should be denied. This task is in general infeasible given the exponential number
of possible modules. Restricting the inspection only to genuine modules can still
be impractical since their number is usually close to the number of axioms of
the ontology [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. Most importantly, even distinct genuine modules can be dealing
with related topics as shown in Example 2, and users are likely to have the right
to access a combination of them.
      </p>
      <p>Technically, both KC and AC can be carried out with the help of contexts,
and more precisely, modules that preserve the knowledge from a context.
De nition 3. Let O be an ontology, L a nite set of labels and lab : O ! 2L
a function that maps every axiom to a set of labels. A context is a nite subset
C = fC1; : : : ; C g L. Every context C de nes the subontology</p>
      <p>RC := f 2 O j lab( ) \ C 6= ;g:
This set RC is called the rheme of the context C.6
Intuitively, the set C expresses the conditions under which the ontology RC is
accessible to a user. Every user will be associated also to a set of labels from L.
If she has at least one label from C, then she can access the whole rheme RC .</p>
      <p>If there is no ambiguity regarding the context C, or specifying it is irrelevant
in the discussion, we will usually drop the symbol C and write R. In some cases,
we may deal with sets of contexts C1; : : : ; C ; to ease the notation, we will then
write Ri to denote the rheme of the context Ci, for i 2 f1; : : : ; g.
De nition 4. Let O be an ontology, a notion of module, and C a context. The
contextual -module for C in O is the set -mod(C; O) = -mod(RfC ; O) [ RC .
The signature of this set, C , is called the contextual signature of C.
6 The term rheme is borrowed from linguistics; it refers to \what is said about a
theme", in contrast to the theme itself, which may be seen as the title for the rheme.</p>
      <p>;</p>
      <p>against RfC [ MgC is negative) or ( 2 RC) then</p>
      <p>If the ontology O is clear, we will use the notation MC. If, instead, we have a set
of contexts C1; : : : ; C , then we denote the corresponding contextual signatures
by 1; : : : ; . As the name suggests, a contextual module is also a module.
Proposition 5. The contextual -module for a context C in an ontology O is a
self-contained and depleting logical module in O for the signature RfC.
Proof. By de nition, -mod(RfC; O) is a module for RfC. Then, the result
follows by monotonicity of DLs since the contextual module MC is a superset of
-mod(RfC; O), and hence since RfC is contained in the signature of the module,
it is also a module for RfC with the same properties as -mod(RfC; O).
tu
Notice that in general MC 6= -mod(RfC; O): in principle the rheme RC could
contain tautologies, like OWL declarations, which have no logical in uence on
the represented knowledge, but can be helpful for simplifying the work of the
reasoners. Since tautologies are logically unnecessary for preserving entailments
over RfC, minimal modules over this signature will not include any of them.7
Tautologies, though, can be of interest for users, for example if they are annotated
with useful information. For this reason, it is crucial to leave at the discretion
of the ontology engineer the choice of including them in rhemes or not.</p>
      <p>Contextual modules can be computed by making use of Algorithm 1, which
we prove to compute in nite time the contextual module MC for a context C.
Proposition 6. Let O be an ontology, a notion of module, and C a context.
Algorithm 1 computes the contextual -module for the context C.
Proof. Termination follows from the niteness of the ontology: the repeat loop
on lines 2-7 terminates when no more axioms can be added to the set MC, and
this eventually happens since there is a nite number of axioms in O. Lines 5
and 6 ensure that the output MC of the algorithm contains -mod(RfC; O) [ RC.
We need only to prove that the converse inclusion holds.</p>
      <p>Suppose that there is some axiom 2 MC n ( -mod(RfC; O) [ RC). W.l.o.g.,
assume to be -local against the signature of -mod(RfC; O), but not -local
7 In syntactic approximations of modules, like e.g., syntactic locality, some tautologies
can still appear since syntactic checks may fail to identify them as irrelevant.
against the signature of -mod(RfC; O) [ RC. Notice that the signature of the
second term RC equals (thus, it is contained in) the seed signature of the rst
term -mod(RfC; O). Thus, the set of all the axioms that are non -local against
the signature of -mod(RfC; O) [ RC is already in -mod(RfC; O). tu
Computing a contextual module requires a polynomial number of locality checks
in the number n of axiom of an ontology O. Since we focus only on the syntactic
notions which can be performed in polynomial time on n, it is clear that the
whole extraction is overall polynomial in n.</p>
      <p>We now take a closer look at the notion of context and its properties. From
De nition 3, an axiom can belong to as many contexts as the number ` of
possible labels, which could, in principle, be arbitrarily large. On the other hand,
ontologies are always nite by de nition. Let n be the cardinality of the ontology.
If ` &gt; 2n, then some contexts have the same content; that is, there exists two
di erent contexts C1 = fC11; : : : ; Cr1g and C2 = fC12; : : : ; Cs2g such that R1 = R2.
In other words, we have two syntactically di erent contexts sharing the same
rheme. Since we cannot di erentiate among them, we can equivalently de ne a
new context C := C1 [ C2. It is a simple consequence of De nition 3 and the
equivalence of R1 and R2 that the rheme for C is R = R1 = R2.</p>
      <p>From what we just discussed, it is clear that the number of contexts can be
bounded by 2n. Such method leads to a potentially exponential number of
different contexts, and hence of contextual modules. In this case, it is hard to check
that all of them keep the promise of either completing knowledge or restricting
the access to sensitive knowledge. However, ontology engineers can focus their
attention to a much smaller sample of contextual modules; there is a base, linear
in n, of contextual modules, called genuine, such that every contextual module is
the union of a suitable selection of genuine contextual modules. Attentive
readers may have noticed that we are reusing the term \genuine" as in the context
of ADs. This choice is not due to chance; it is rather a way to emphasize the
similarities between the two notions. We formalize and analyse this next.
De nition 7. Let O be an ontology, and C the set of all the contexts over O.
For each axiom 2 O, de ne the rheme of as RC = f 2 O j lab( ) lab( )g
if lab( ) is non-empty, or f g otherwise. A genuine contextual module is a
contextual module GC := mod(RfC ; O) for some
2 O.</p>
      <p>For each two axioms ; , the condition lab( ) lab( ) means that whoever can
access can also access . In particular, GC is the smallest contextual module
containing .</p>
      <p>Theorem 8 Let O be an ontology. The set of the genuine contextual modules
GC = fGC j 2 Og is a base for the set of all the contextual modules in O.
Proof. We prove that every contextual module MC coincides with the union
of all the modules GC for 2 MC. The inclusion MC S 2MC GC is trivial
since every RC contains at least . The converse inclusion also holds since MC
contains, for each 2 MC, the rheme RC by construction. tu
Since there are at most as many genuine contextual modules as axioms, we have
that GC is a linear (in jOj) base of the set of all contextual modules of O. As for
ADs, the genuine contextual modules are those contextual modules that never
split as the union of two or more contextual modules, which are incomparable
by . We want to nd the building blocks of contextual modules.
De nition 9. A contextual atom is a maximal subset of axioms aC O such
that, for each genuine contextual module GC 2 GC , either aC GC , or aC \GC = ;.
Contextual atoms are pairwise disjoint by construction; as for modules,
contextual modules are then a nite union of contextual atoms. Since contextual
modules are also modules, atoms cannot split across two contextual modules.
Similarly, contextual atoms do not split across two contextual modules by
construction. Thus, the set AC of all the contextual atoms of O is a coarsening of
the set A of all the atoms of O. Moreover, the preservation of logical
interrelations between the terms of a contextual atom requires that this atom is always
provided to users as a whole. Thus, rhemes can be, ultimately, rede ned to
coincide with contextual atoms. Rhemes then contain axioms that are logically
or contextually interrelated; that is, RC includes axioms that belong to a same
topic according to the knowledge engineer.</p>
      <p>De nition 10. Let O be an ontology, C = fC1; : : : ; C g a set of contexts with
rhemes R1C ; : : : ; RC , and AC the set of all the corresponding contextual atoms.
A partial order relation is induced as follows: for each pair of distinct
contextual atoms aC ; bC , we say that aC bC i , if a contextual module GC contains
aC , then GC contains also bC . The pair (AC ; ) is called the Context-Oriented
Decomposition (COD) of O.</p>
      <p>The COD of an ontology can be represented by a dependency graph of contextual
atoms. From this graph, ontology engineers may want to identify the fragments
of the ontology that are of interest for the needs of its users, and provide them
with suitable contexts to access the corresponding subontology. Thus, the issue
of identifying the right subontology for each user can be reduced to the de nition
of contexts in such a way that the corresponding COD re ects the knowledge
engineer modelling of the domain.</p>
      <p>We discuss a feasible methodology to generate a suitable set of contexts C and
the corresponding fragments of the ontology O from which users are assigned the
right to access to the relevant part of O. Rather than de ning all the modules
directly, the knowledge engineer may proceed in the following way. First, she can
identify relevant but small rhemes RiC . Second, the COD (AC ; ) is computed,
and rhemes are rede ned to coincide with contextual atoms. Finally, she de nes
suitable labels for each contextual atoms that will form the set of contexts.
4</p>
    </sec>
    <sec id="sec-4">
      <title>Applications of CODs</title>
      <p>In this section, we discuss the two applications, Knowledge Completion and
Access Control, introduced before, and show how COD can be of help for practical
use of ontologies.</p>
      <p>Fig. 2. ?-COD of the CARO ontology
COD for KC. An analysis of the ?-AD of the CARO ontology reveals how
hard it can be to identify which fragment captures everything that an ontology
says about a certain topic. The most emblematic example in CARO can be
observed already in Example 2: even by chasing sub- and super-concepts, incoming
or outgoing role-links to the concept epithelium, a user not familiar with CARO
cannot nd the portion of the ontology dealing with epithelial cells. To reveal
that these terms are related in the ontological commitment of the CARO
ontology, we have grouped the 8 atoms a39; a12; a13; a16; a35; a10 and a21 in rheme R4,
and named the context C4 as Epithelium.</p>
      <p>In general, two axioms dealing with the same topic may still belong to di
erent atoms even when the ontology is supposedly well-modelled. Ideally, we might
want that two contextual atoms are distinct only when they deal with di erent
topics. To obtain this situation, we can adopt the strategy just described, and
merge into a broader contextual atoms all those atoms that deal with the same
topic according to the domain experts' knowledge.</p>
      <p>In Figure 2 we show the ?-COD of CARO where the atoms are grouped
according to the principle just discussed. In speci c: rheme R1, that deals with
Immaterial anatomical entity, consists of the atom a26 plus all the atoms that
depend on it; R2, dealing with Sexual traits, contains the atoms a8; a17; a22 plus
all those that depend on any of these; R3= a25 [ a2, and deals with Acellular
anatomical objects; R5= a23 [ a7 [ a19, and deals with Neuron projection; R6,
dealing with Compound organ, consists of the atom a32 plus all those that depend
on it; R7= a49 [ a24 [ a46, and deals with Anatomic group; nally, R8=a20 [ a15
deals with Portion of substance.</p>
      <p>From the ?-COD of CARO, the knowledge engineer will provide the axioms
in R4, a4; a40; a5 and a38 to those interested in getting the fragment of CARO
that deals with Epithelium.</p>
      <p>COD for AC. To exploit the use of COD for AC, the main idea is that users
are assigned a set of genuine contextual signatures, which specify the logical
symbols over which the user can query the ontology. The coverage properties of
logical modules guarantees that reasoning over these modules yields the exact
same answers as reasoning over the whole ontology, provided that they refer only
to symbols in the genuine contextual signature. Thus, the knowledge engineer
can verify that the user cannot derive a consequence, simply by comparing the
signature of the consequence with the contextual signatures assigned to the user:
if the former is contained in any of the latter, then (and only then) the user can
derive the consequence.</p>
      <p>Notice that, by de nition, users are not assigned one module, but a set of
them. This means that each user can derive the consequences of the union of
all the contexts that she can access. For each of these contexts, it is guaranteed
that all the consequences of the ontology that refer to its signature are obtained.
However, we might want to restrict the access a speci c piece of knowledge, but
not to completely obstruct access to its signature. In this case, we can exploit
the fact that the union of two modules is not, in general, a module. For example,
suppose that we are trying to hide a consequence C v D from a user. To achieve
this, it is not necessary to completely prevent the user from accessing none of
the concept names C or D. In fact, she can be assigned two signatures 1 and 2
such that C 2 1 and D 2 2, as long as fC; Dg is not contained in any of them.
In this way, the user can still derive meaningful consequences concerning each
of the concepts C and D, while the subsumption C v D remains hidden.</p>
      <p>To fully specify an AC scenario, the knowledge engineer needs only to identify
which genuine contextual modules do not cover the signature of the piece of
knowledge that some users cannot access. Users are then assigned only contextual
signatures that do not contain the signature of any consequence that they are
not allowed to see, or which are irrelevant for their intended use.
5</p>
    </sec>
    <sec id="sec-5">
      <title>Conclusions</title>
      <p>We have proposed a new approach for decomposing ontologies, capable of
dealing with contexts de ned by a user or knowledge engineer. This context-oriented
decomposition is based on the notions of atomic decompositions, and preserves
several of its important properties. Most notably, the COD can be e ciently
computed and provides a compact representation of all genuine modules that
preserve the given contexts. Intuitively, one can think of contexts as a manner
of combining axioms that do not necessarily share logical properties into a
single entity. This combination can be motivated by the presence of axioms with
disparate signatures, but referring to a common theme.</p>
      <p>As working examples, we showed how COD can be used to complete
knowledge and to restrict access to some consequences of the ontology in a structured
manner. Using COD, a knowledge engineer can easily de ne contexts that can be
assigned to di erent users, guaranteeing access to all relevant knowledge, while
hiding all unauthorized consequences from them.</p>
      <p>Although we have focused our discussion on locality-based modules, and
in particular on the three notions of &gt;-, ?-, and &gt;? -modules, it should be
noted that our approach is general and can be applied to any desired notion
of module. Obviously, the choice of a di erent notion of module can a ect the
e ciency of the method; in particular, if modules are hard to compute, then the
decomposition will necessarily be also hard to nd.</p>
      <p>As future work we plan to further study the logical and computational
properties of COD and its applicability to other context-dependent reasoning problems.
We are also in the process of developing a tool for computing these
decompositions. This tool will allow us to evaluate the practical feasibility of our approach
for solving di erent reasoning tasks.</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>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>McGuinness</surname>
            ,
            <given-names>D.</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 (
          <year>2003</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>Knechtel</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          , Pen~aloza, R.:
          <article-title>Context-dependent views to axioms and consequences of semantic web ontologies</article-title>
          .
          <source>J. of Web Sem</source>
          .
          <volume>12</volume>
          {
          <issue>13</issue>
          ,
          <issue>22</issue>
          {
          <fpage>40</fpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Baader</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Knechtel</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          , Pen~aloza, R.:
          <article-title>A generic approach for large-scale ontological reasoning in the presence of access restrictions to the ontology's axioms</article-title>
          . In: et al.,
          <source>A.B. (ed.) Proc. of ISWC-09. LNCS</source>
          , vol.
          <volume>5823</volume>
          , pp.
          <volume>49</volume>
          {
          <issue>64</issue>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>Cuenca</given-names>
            <surname>Grau</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            ,
            <surname>Horrocks</surname>
          </string-name>
          ,
          <string-name>
            <given-names>I.</given-names>
            ,
            <surname>Kazakov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            ,
            <surname>Sattler</surname>
          </string-name>
          ,
          <string-name>
            <surname>U.</surname>
          </string-name>
          :
          <article-title>Modular reuse of ontologies: Theory and practice</article-title>
          .
          <source>J. of Artif. Intell. Research</source>
          <volume>31</volume>
          (
          <issue>1</issue>
          ),
          <volume>273</volume>
          {
          <fpage>318</fpage>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>Del</given-names>
            <surname>Vescovo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            ,
            <surname>Gessler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            ,
            <surname>Klinov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            ,
            <surname>Parsia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            ,
            <surname>Sattler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>U.</given-names>
            ,
            <surname>Schneider</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            ,
            <surname>Winget</surname>
          </string-name>
          ,
          <string-name>
            <surname>A.</surname>
          </string-name>
          :
          <article-title>Decomposition and modular structure of BioPortal ontologies</article-title>
          .
          <source>In: Proc. of ISWC-11. LNCS</source>
          , vol.
          <volume>7031</volume>
          , pp.
          <volume>130</volume>
          {
          <issue>145</issue>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>Del</given-names>
            <surname>Vescovo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            ,
            <surname>Parsia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            ,
            <surname>Sattler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>U.</given-names>
            ,
            <surname>Schneider</surname>
          </string-name>
          ,
          <string-name>
            <surname>T.</surname>
          </string-name>
          :
          <article-title>The modular structure of an ontology: Atomic decomposition</article-title>
          .
          <source>In: Proc. of IJCAI-11</source>
          . pp.
          <volume>2232</volume>
          {
          <issue>2237</issue>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Ghilardi</surname>
            ,
            <given-names>S.</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>
          :
          <article-title>Did I damage my ontology? A case for conservative extensions in Description Logics</article-title>
          .
          <source>In: Proc. of KR-06</source>
          . pp.
          <volume>187</volume>
          {
          <fpage>197</fpage>
          . AAAI Press/The MIT Press (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Guarino</surname>
          </string-name>
          , N.:
          <article-title>Formal ontology in information systems</article-title>
          .
          <source>In: Proc. of FOIS-98</source>
          . pp.
          <volume>3</volume>
          {
          <fpage>15</fpage>
          . IOS Press (
          <year>1998</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Haendel</surname>
            ,
            <given-names>M.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Neuhaus</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Osumi-Sutherland</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mabee</surname>
            ,
            <given-names>P.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mejino</surname>
            ,
            <given-names>J.L.V.J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mungall</surname>
            ,
            <given-names>C.J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Smith</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>CARO - The Common Anatomy Reference Ontology</article-title>
          .
          <source>In: Anatomy Ontologies for Bioinformatics: Principles and Practice</source>
          , pp.
          <volume>327</volume>
          {
          <fpage>350</fpage>
          . No. 6 in
          <string-name>
            <surname>Computational</surname>
            <given-names>Biology</given-names>
          </string-name>
          , Springer-Verlag (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Horrocks</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Patel-Schneider</surname>
            ,
            <given-names>P.F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>van Harmelen</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <string-name>
            <surname>From</surname>
            <given-names>SHIQ</given-names>
          </string-name>
          and
          <article-title>RDF to OWL: The making of a web ontology language</article-title>
          .
          <source>J. of Web Sem</source>
          .
          <volume>1</volume>
          (
          <issue>1</issue>
          ),
          <volume>7</volume>
          {
          <fpage>26</fpage>
          (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Konev</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</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>Semantic modularity and module extraction in description logics</article-title>
          .
          <source>In: Proc. of ECAI-08</source>
          . pp.
          <volume>55</volume>
          {
          <issue>59</issue>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Konev</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</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>Formal properties of modularization</article-title>
          . In: Stuckenschmidt,
          <string-name>
            <given-names>H.</given-names>
            ,
            <surname>Parent</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            ,
            <surname>Spaccapietra</surname>
          </string-name>
          , S. (eds.) Modular Ontologies:
          <article-title>Concepts, Theories and Techniques for Knowledge Modularization, LNCS</article-title>
          , vol.
          <volume>5445</volume>
          , pp.
          <volume>25</volume>
          {
          <fpage>66</fpage>
          . Springer-Verlag (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Kontchakov</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pulina</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sattler</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schneider</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Selmer</surname>
            ,
            <given-names>P.</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>Minimal module extraction from DL-Lite ontologies using QBF solvers</article-title>
          .
          <source>In: Proc. of IJCAI-09</source>
          . pp.
          <volume>836</volume>
          {
          <issue>841</issue>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Parsia</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schneider</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>The modular structure of an ontology: an empirical study</article-title>
          .
          <source>In: Proc. of KR-10</source>
          . pp.
          <volume>584</volume>
          {
          <fpage>586</fpage>
          . AAAI Press/The MIT Press (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Sattler</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schneider</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zakharyaschev</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Which kind of module should I extract?</article-title>
          <source>In: Proc. of DL</source>
          <year>2009</year>
          .
          <article-title>ceur-ws.org</article-title>
          , vol.
          <volume>477</volume>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Spackman</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <article-title>Managing clinical terminology hierarchies using algorithmic calculation of subsumption: Experience with SNOMED-RT</article-title>
          .
          <article-title>Journal of the American Medical Informatics Association (</article-title>
          <year>2000</year>
          ), fall Symposium Special Issue.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>