<!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>Measuring Conceptual Similarity in Ontologies: How Bad is a Cheap Measure?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Tahani Alsubait</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Bijan Parsia</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Uli Sattler</string-name>
          <email>sattlerg@cs.man.ac.uk</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>School of Computer Science, The University of Manchester</institution>
          ,
          <country country="UK">United Kingdom</country>
        </aff>
      </contrib-group>
      <fpage>2</fpage>
      <lpage>14</lpage>
      <abstract>
        <p>Several attempts have been made to develop similarity measures for ontologies. Motivated by nding problems in existing measures, we design a new family of measures to address these problems. We carry out an empirical study to explore how good the new measures are and to investigate how likely it is to encounter speci c task-oriented problems when using a bad similarity measure.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        The process of assigning a numerical value re ecting the degree of resemblance
between two ontology concepts or the so called conceptual similarity
measurement is a core step in many ontology-related applications (e.g., ontology
alignment [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], ontology learning [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]). Several attempts have been made to develop
methods for measuring conceptual similarity in ontologies [
        <xref ref-type="bibr" rid="ref20 ref4">22, 32, 23, 20, 4</xref>
        ]. In
addition, the problem of measuring similarity is well-founded in psychology and
a number of similarity models have been already developed [
        <xref ref-type="bibr" rid="ref12 ref19 ref6 ref8">6, 30, 26, 19, 29, 8,
12</xref>
        ]. Rather than adopting a psychological model for similarity as a foundation,
we noticed that some existing similarity measures for ontologies are ad-hoc and
unprincipled. This can negatively a ect the application in which they are used.
However, in some cases, depending on how simple the ontology/task is, using a
computationally expensive \good" similarity measure is no better than using a
cheap \bad" measure. Thus, we need to understand the computational cost of
the similarity measure and the cases in which it succeeds/fails. Unfortunately,
to date, there has been no thorough investigation of similarity measures with
respect to these issues.
      </p>
      <p>For this investigation, we use an independently motivated corpus of ontologies
(BioPortal1 library) which contains over 300 ontologies that are used by the
biomedical community which is a community that has a high interest in the
similarity measurement problem [24, 31].</p>
      <p>To understand the major di erences between similarity measures w.r.t. the
task in which they are involved in, we structure the discussion around the
following three tasks:
{ Task1: Given a concept C, retrieve all concepts D s.t. Similarity(C; D) &gt; 0.
{ Task2: Given a concept C, retrieve the N most similar concepts.</p>
      <sec id="sec-1-1">
        <title>1 http://bioportal.bioontology.org/</title>
        <p>{ Task3: Given a concept C and some threshold</p>
        <p>Similarity(C; D) &gt; .
, retrieve all concepts D s.t.</p>
        <p>We expect most similarity measures to behave similarly in the rst task
because we are not interested in the particular similarity values nor any particular
ordering among the similar concepts. However, the second task gets harder as N
gets smaller. In this case, a similarity measure that underestimates the similarity
of some very similar concepts and overestimates the similarity of others can fail
the task. In the third task, the actual similarity values matter. Hence, using the
most accurate similarity measure is essential.
2</p>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>Preliminaries</title>
      <p>
        We assume the reader to be familiar with DL ontologies. In what follows, we
brie y introduce the relevant terminology. For a detailed overview, the reader
is referred to [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. The set of terms, i.e., concept, individual and role names, in
an ontology O is referred to as its signature, denoted Oe. Throughout the paper,
we use NC , NR for the sets of concept and role names respectively and CL to
denote a set of possibly complex concepts of a concept language L( ) over a
signature and we use the usual entailment operator j=.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>Desired properties for similarity measures</title>
      <p>
        Various psychological models for similarity have been developed (e.g., Geometric
[
        <xref ref-type="bibr" rid="ref19">26, 19</xref>
        ], Transformational [
        <xref ref-type="bibr" rid="ref17 ref8">17, 8</xref>
        ] and Features [29] models). Due to the richness
of ontologies, not all models can be adopted when considering conceptual
similarity in ontologies. This is because many things are associated with a concept in
an ontology (e.g., atomic subsumers/subsumees, complex subsumers/subsumees,
instances, referencing axioms). Looking at existing approaches for measuring
similarity in DL ontologies, one can notice that approaches which aim at
providing a numerical value as a result of the similarity measurement process are
mainly founded on feature-based models [29], although they might disagree on
which features to consider.
      </p>
      <p>In what follows, we concentrate on feature-based notions of similarity where
the degree of similarity SCD between objects C; D depends on features common
to C and D, unique features of C and unique features of D. Considering both
common and distinguishing features is a vital property of the features model.</p>
      <p>Looking at existing approaches for measuring similarity in ontologies, we nd
that some of these approaches consider common xor unique features (rather than
both) and that some approaches consider features that some instances (rather
than all) of the compared concepts have. To account for all the features of a
concept, we need to look at all (possibly complex) entailed subsumers of that
concept. To understand these issues, we present the following example:
Example 1 Consider the ontology:</p>
      <p>fAnimal v Organism u 9eats:&gt;; P lant v Organism;
Carnivore v Animal u 8eats:Animal; Herbivore v Animal u 8eats:P lant;
Omnivore v Animal u 9eats:Animal u 9eats:P lantg</p>
      <p>Please note that our \Carnivore" is also known as obligate carnivore. A
good similarity function Sim( ) is expected to derive that Sim(Carnivore,
Omnivore) &gt; Sim(Carnivore, Herbivore) because the rst pair share more
common subsumers and have fewer distinguishing subsumers. On the one hand
Carnivore, Herbivore and Omnivore are all subsumed by the following
common subsumers (abbreviated for readability): f&gt;; Org; A; 9e:&gt;g. In addition,
Carnivore and Omnivore share the following common subsumer: f9e:Ag.
On the other hand, they have the following distinguishing subsumer: f9e:P g
while Carnivore and Herbivore have the following distinguishing subsumers:
f9e:P; 8e:P; 9e:A; 8e:Ag. Here, we have made a choice to ignore (in nitely) many
subsumers and only consider a select few. Clearly, this choice has an impact
on Sim( ). Details on such design choices are discussed later. Note also that
we only considered subsumers rather than subsumees. This is because common
subsumees do not necessarily re ect commonalities. For example, consider the
concept 9digests:Insect which is a subsumee of both Animal and P lant.
However, this concept does not re ect commonalities of animals and plants.</p>
      <p>
        We refer to the property of accounting for both common and distinguishing
features as rationality. In addition, the related literature refer to some other
properties for evaluating similarity measures (e.g., equivalence closure,
symmetry, triangle inequality, monotonicity, subsumption preservation, structural
dependence). For a detailed overview, the reader is referred to [
        <xref ref-type="bibr" rid="ref16 ref4">4, 16</xref>
        ].
4
      </p>
    </sec>
    <sec id="sec-4">
      <title>Overview of existing approaches</title>
      <p>We classify existing similarity measures into two dimensions as follows.</p>
      <sec id="sec-4-1">
        <title>Taxonomy vs. ontology based measures Taxonomy-based measures [22, 32,</title>
        <p>23, 18, 14] only consider the taxonomic representation of the ontology (e.g., for
DLs, we could use the inferred class hierarchy); hence only atomic subsumptions
are considered (e.g., Carnivore v Animal). In fact, this can be considered
an approximated solution to the problem which might be su cient in some
cases. However, the user must be aware of the limitations of such approaches.
For example, direct siblings are always considered equi-similar although some
siblings might share more features/subsumers than others.</p>
        <p>
          Ontology-based measures [
          <xref ref-type="bibr" rid="ref13 ref16 ref4">4, 13, 16</xref>
          ] take into account more of the knowledge
in the underlying ontology (e.g., Carnivore v 8eats:Animal). These measures
can be further classi ed into (a) structural measures, (b) interpretation-based
measures or (c) hybrid. Structural measures [
          <xref ref-type="bibr" rid="ref13 ref16">13, 16</xref>
          ] rst transform the compared
concepts into a normal form (e.g., E L normal form or ALCN disjunctive
normal form) and then compare the syntax of their descriptions. To avoid being
purely syntactic, they rst unfold the concepts w.r.t. the T Box which limits the
applicability of such measures to cyclic terminologies. Some structural measures
[
          <xref ref-type="bibr" rid="ref16">16</xref>
          ] are applicable only to inexpressive DLs (e.g., E L) and it is unclear how they
can be extended to more expressive DLs. Interpretation-based measures mainly
depend on the notion of canonical models (e.g., in [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ] the canonical model based
on the ABox is utilised) which do not always exist (e.g., consider disjunctions).
Intensional vs. extensional based measures Intensional-based measures
[
          <xref ref-type="bibr" rid="ref13 ref16">22, 32, 13, 16</xref>
          ] exploit the terminological part of the ontology while
extensionalbased measures [
          <xref ref-type="bibr" rid="ref14 ref18 ref4">23, 18, 14, 4</xref>
          ] utilise the set of individual names in an ABox or
instances in an external corpus. Extensional-based measures are very sensitive
to the content under consideration; thus, adding/removing an individual name
would change similarity measurements. These measures might be suitable for
speci c content-based applications but might lead to unintuitive results in other
applications because they do not take concept de nitions into account. Moreover,
extensional-based measures cannot be used with pure terminological ontologies
and always require representative data.
5
        </p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Detailed inspection of some existing measures</title>
      <p>After presenting a general overview of existing measures, we examine in detail
some measures that can be considered \cheap" options and explore their possible
problems. In what follows, we use SAtomic(C) to denote the set of atomic
subsumers for concept C. We also use ComAtomic(C; D); Di Atomic(C; D) to denote
the sets of common and distingushing atomic subsumers respectively.</p>
      <p>Rada et al. This measure utilises the length of the shortest path [22] between
the compared concepts in the inferred class hierarchy. The essential problem here
is that the measure takes only distinguishing features into account and ignores
any possible common features.</p>
      <p>Wu and Palmer. To account for both common and distinguishing features,
Wu &amp; Palmer [32] presented a di erent formula for measuring similarity, as
follows:</p>
      <p>2 jComAtomic(C;D)j
SWu &amp; Palmer(C; D) = 2 jComAtomic(C;D)j+jDi Atomic(C;D)j</p>
      <p>Although this measure accounts for both common and distinguishing
features, it only considers atomic concepts and it is more sensitive to commonalties.</p>
      <p>Resnik and other IC measures. In information theoretic notions of
similarity, the information content ICC = logPC of a concept C is computed based
on the probability (PC ) of encountering an instance of that concept. For
example, P&gt; = 1 and IC&gt; = 0 since &gt; is not informative. Accordingly, Resnik [23]
de nes similarity SResnik(C; D) as:</p>
      <p>
        SResnik(C; D) = ICLCS
where LCS is the least common subsumer of C and D (i.e., the most speci c
concept that subsumes both C and D). IC measures take into account features
that some instances of C and D have, which are not necessarily neither common
nor distinguishing features of all instances of C and D. In addition, Resnik's
measure in particular does not take into account how far the compared concepts
are from their least common subsumer. To overcome this problem, two [
        <xref ref-type="bibr" rid="ref14 ref18">18, 14</xref>
        ]
other IC-measures have been proposed:
      </p>
      <p>SLin(C; D) =
2 ICLCS</p>
      <p>ICC + ICD
SJiang&amp;Conrath(C; D) = 1</p>
    </sec>
    <sec id="sec-6">
      <title>A new family of similarity measures</title>
      <p>
        Following our exploration of existing measures and their associated problems, we
present a new family of similarity measures that addresses these problems. The
new measures adopt the features model where the features under consideration
are the subsumers of the concepts being compared. The new measures are based
on Jaccard's similarity coe cient [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] which has been proved to be a proper
metric (i.e., satis es the properties: equivalence closure, symmetry and triangle
inequality). Jaccard's coe cient, which maps similarity to a value in the range
[
        <xref ref-type="bibr" rid="ref1">0,1</xref>
        ], is de ned as follows (for sets of \features" A0,B0 of A,B, i.e., subsumers of
A and B):
      </p>
      <p>J (A; B) = jj((AA00\[BB00))jj
We aim at similarity measures for general OWL ontologies and thus a naive
implementation of this approach would be trivialised because a concept has
innitely many subsumers. To overcome this issue, we present some re nements for
the similarity function in which we do not simply count all subsumers but
consider subsumers from a set of (possibly complex) concepts of a concept language
L. More precisely, for concepts C, D an ontology O and a concept language L,
we set:</p>
      <p>S(C; O; L) = fD 2 L(Oe) j O j= C v Dg</p>
      <p>Com(C; D; O; L) = S(C; O; L) \ S(D; O; L)
Union(C; D; O; L) = S(C; O; L) [ S(D; O; L)</p>
      <p>Sim(C; D; O; L) = jCom(C; D; O; L)j</p>
      <p>jU nion(C; D; O; L)j
To design a new measure, it remains to specify the set L. In what follows, we
present some examples:</p>
      <p>AtomicSim(C; D) = Sim(C; D; O; LAtomic(Oe)); and LAtomic(Oe) = Oe \ NC :
SubSim(C; D) = Sim(C; D; O; LSub(Oe)); and LSub(Oe) = Sub(O):
GrSim(C; D) = Sim(C; D; O; LG(Oe)); and LG(Oe) = fE j E 2 Sub(O)
or E = 9r:F; for some r 2 Oe \ NR and F 2 Sub(O)g:
where Sub(O) is the set of concept expressions in O. AtomicSim( ) captures
taxonomy-based measures since it considers atomic concepts only. The rationale
of SubSim( ) is that it provides similarity measurements that are sensitive to
the modeller's focus. It also provides a cheap (yet principled) way for measuring
similarity in expressive DLs since the number of candidates is linear in the size
of the ontology. To capture more possible subsumers, one can use GrSim( ). We
have chosen to include only grammar concepts which are subconcepts or which
take the form 9r:F to make experiments in the Empirical inspection Section
more manageable. However, the grammar can be extended easily.</p>
    </sec>
    <sec id="sec-7">
      <title>Approximations of similarity measures</title>
      <p>Some of the presented examples for similarity measures might be practically
ine cient due to the large number of candidate subsumers. For this reason, it
would be nice if we can explore and understand whether a \cheap" measure can
be a good approximation for a more expensive one. We start by characterising
the properties of an approximation in the following de nition.</p>
      <p>De nition 1 Given two similarity functions Sim( ),Sim0( ), and an ontology
O, we say that:
{ Sim0( ) preserves the order of Sim( ) if 8A1; B1; A2; B2 2 Oe: Sim(A1; B1)</p>
      <p>Sim(A2; B2) =) Sim0(A1; B1) Sim0(A2; B2).
{ Sim0( ) approximates Sim( ) from above if 8A; B 2 Oe: Sim(A; B)</p>
      <p>Sim0(A; B).
{ Sim0( ) approximates Sim( ) from below if 8A; B 2 Oe: Sim(A; B)
Sim0(A; B).</p>
      <p>Consider AtomicSim( ) and SubSim( ). The rst thing to notice is that the
set of candidate subsumers for the rst measure is actually a subset of the set
of candidate subsumers for the second measure (Oe \ NC Sub(O)). However,
we need to notice also that the number of entailed subsumers in the two cases
need not to be proportionally related. For example, if the number of atomic
candidate subsumers is n and two compared concepts share n2 common subsumers.
We cannot conclude that they will also share half of the subconcept subsumers.
They could actually share all or none of the complex subsumers. Therefore, the
order-preserving property need not be always satis ed. As a concrete example,
let the number of common and distinguishing atomic subsumers for C and D
to be 2 and 4 respectively (out of 8 atomic concepts) and let the number of
their common and distinguishing subsoncept subsumers to be 4 and 6
respectively (out of 20 subconcepts). Let the number of common and distinguishing
atomic subsumers for C and E to be 4 and 4 respectively and let the number
of their common and distinguishing subsoncept subsumers to be 4 and 8
respectively. In this case, AtomicSim(C; D) = 62 = 0:33, SubSim(C; D) = 140 =
0:4, AtomicSim(C; E) = 48 = 0:5, SubSim(C; E) = 142 = 0:33. Notice that
AtomicSim(C; D) &lt; AtomicSim(C; E) while SubSim(C; D) &gt; SubSim(C; E).
Here, AtomicSim( ) is not preserving the order of SubSim( ) andAtomicSim( )
underestimates the similarity of C,D and overestimates the similarity of C,E
compared to SubSim( ).</p>
      <p>A similar argument can be made to show that entailed subconcept subsumers
are not necessarily proportionally related to the number of entailed
grammarbased subsumers. We conclude that the above examples of similarity measures
are, theoretically, none-approximations of each other. In the next section, we are
interested in knowing the relation between these measures in practice.
8</p>
    </sec>
    <sec id="sec-8">
      <title>Empirical inspection</title>
      <p>Following our conceptual discussion on similarity measures in the previous
sections, we explore the behaviour of some similarity measures in practice. Given a
range of similarity measures with di erent costs, we want to know how good an
expensive measure is, its cost and the cases in which we are required to pay that
cost to get a reasonable similarity measurement. Also we want to know how bad
a cheap measure is, the speci c problems associated with it and how likely it is
for a cheap measure to be a good substitute for more expensive measures.</p>
      <p>The empirical inspection constitutes two parts. First, we carry out a
comparison between the three measures GrSim( ), SubSim( ) and AtomicSim( ) against
human experts-based similarity judgments. In [21], IC-measures along with Rada
measure [22] has been compared against human judgements using the same data
set which is used in the current study. The previous study [21] has found that
IC-measures are worse than Rada measure so we only include Rada measure in
our comparison and exclude IC-measures. We also include another path-based
measure with is Wu &amp; Palmer [32]. Secondly, we further study in detail the
behaviour of our new family of measures in practice. GrSim( ) is considered as
the expensive and most precise measure in this study. We use AtomicSim( ) as
the cheap measure as it only considers atomic concepts as candidate subsumers.
Studying this measure can allow us to understand the problems associated with
taxonomy-based measures as they all consider atomic subsumers only. Recall
that taxonomy-based measures su er from other problems that were presented
in the conceptual inspection section. Hence, AtomicSim( ) can be considered the
best candidate in its class since it does not su er from these problems. We also
consider SubSim( ) as a cheaper measure than GrSim( ) and more precise than
AtomicSim( ) and we expect it to be a better approximation for GrSim( )
compared to AtomicSim( ). We excluded from the study instance-based measures
since they require representative data which is not guaranteed to be present in
our corpus of ontologies.</p>
      <p>We have shown in the previous section that the above three measures are
not proper approximations of each other. However, this might be not the case
in practice as we will explore in the following experiment. To study the relation
between the di erent measures in practice, we examine the following properties:
(1) order-preservation, (2) approximation from above (3) approximation from
below, (4) correlation and (5) closeness. With respect to these ve properties, we
study the relation between AtomicSim( ) and SubSim( ) and refer to this as AS,
the relation between AtomicSim( ) and GrSim( ) and refer to this as AG, the
relation between SubSim( ) and GrSim( ) and refer to this as SG. Properties 1-3
are de ned in De nition 1. For correlations, we calculate Pearson's coe cient for
the relation between each pair of measures. Finally, two measures are considered
close if the following property holds: jSim1(C; D) Sim2(C; D)j where
= 0:1 in the following experiment. We also compare the measures to
humanbased similarity judgements to con rm that the expensive measures can be more
precise than the cheap ones.</p>
      <sec id="sec-8-1">
        <title>8.1 Infrastructure</title>
        <p>With respect to hardware, we used the following machine: Intel Quad-core i7
2.4GHz processor, 4 GB 1333 MHz DDR3 RAM, running Mac OS X 10.7.5.</p>
        <p>
          As for the software we use OWL API v3.4.4 [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ]. To avoid runtime errors
caused by using some reasoners with some ontologies, a stack of freely available
reasoners were utilised: FaCT++ [28], HermiT [25], JFact,2 and Pellet [27].
8.2
        </p>
      </sec>
      <sec id="sec-8-2">
        <title>Test data</title>
        <p>
          The BioPortal corpus: The BioPortal library of biomedical ontologies has
been used for evaluating di erent ontology-related tools such as reasoners [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ],
module extractors [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ], justi cation extractors [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ], to name a few. The corpus
contains 365 user contributed ontologies (as in October 2013) with varying
characteristics such as axiom count, concept name count and expressivity.
        </p>
        <p>Ontology selection: A snapshot of the BioPortal corpus from November
2012 was used. It contains a total of 293 ontologies. We excluded 86 ontologies
which have only atomic subsumptions as for such ontologies the behaviour of the
considered measures will be identical, i.e., we already know that AtomicSim( ) is
good and cheap. We also excluded 38 more ontologies due to having no concept
names or due to run time errors. This has left us with a total of 169 ontologies.</p>
        <p>Sampling: Due to the large number of concept names (565,661) and di culty
of spotting interesting patterns by eye, we calculated the pairwise similarity for
a sample of concept names from the corpus. The size of the sample is 1,843
concept names with 99% con dence level. To ensure that the sample encompasses
concepts with di erent characteristics, we picked 14 concepts from each ontology.
The selection was not purely random. Instead, we picked 2 random concept
names and for each random concept name we picked some neighbour concept
names (i.e., 3 random siblings, atomic subsumer, atomic subsumee, sibling of
direct subsumer). This choice was made to allow us to examine the behaviour
of the considered similarity measures even with special cases such as measuring
similarity among direct siblings.
8.3</p>
      </sec>
      <sec id="sec-8-3">
        <title>Experiment work ow</title>
        <p>
          Module extraction: After classifying the ontology, we pick a sample of 14
concept names. The selected 14 concept names are used as a seed signature
for extracting a ?-module [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]. For optimisation, rather than working on the
whole ontology, the following steps are performed on the extracted module. One
of the important properties of ?-modules is that they preserve almost all the
related subsumptions. There are 3 cases in which a ?-module would miss some
subsumers. The rst case occurs when O j= C v 8s:X and O j= C v 8s:? .
The second case occurs when O j= C v 8s:X and O j= 8s:X &gt;. The third
case occurs when O j= C v 8s:X and O 6j= C v 9s:X. Since in all three cases
8s:X is a vacuous subsumer of C, we chose to ignore these, i.e., use ?-modules
without taking special measures to account for them.
        </p>
        <p>Candidate subsumers extraction: In addition to extracting all atomic
concepts in the ?-module we recursively use the method
getNestedClassExpressions() to extract all subconcepts from all axioms in the ?-module. The extracted
subconcepts are used to generate grammar-based concepts. For practical reasons,</p>
        <sec id="sec-8-3-1">
          <title>2 http://jfact.sourceforge.net/</title>
          <p>we only generate concepts taking the form 9r:D s.t. D 2 Sub(O) and r a role
name in the signature of the extracted ?-module. Focusing on existential
restrictions is justi able by the fact that they are dominant in our corpus (77.89%
of subconcepts) compared to other complex expression types (e.g., universal
restrictions: 2.57%, complements: 0.14%, intersections: 13.89, unions: 2.05%).</p>
        </sec>
      </sec>
      <sec id="sec-8-4">
        <title>Testing for subsumption entailments: For each concept Ci in our sample</title>
        <p>and each candidate subsumer Sj , we test whether the ontology entails that Ci v
Sj . If the entailment holds, subsumer Sj is added to the set of Ci's subsumers.</p>
        <p>Calculating pairwise similarities: The similarity of each distinct pair in
our sample is calculated using the three measures.</p>
        <p>Comparison to human judgements: We picked one ontology
(SNOMEDCT) from BioPortal corpus to carry out a comparison between the three measures
against human experts-based similarity judgments. The reason for choosing this
particular ontology is the availability of data showing experts' judgements for
the similarity between some concepts from that ontology. In [21], the similarity
of 30 pairs of clinical terms is rated by medical experts. We include in our
study 19 pairs out of the 30 pairs after excluding pairs that have at least one
concept that has been described as an ambiguous concept in the ontology (i.e.,
is a subsumee of the concept ambiguous concept). In [21], similarity values for
two groups of experts (physicians and coders) are presented. We consider the
average of physicians and coders similarity values in the comparison. For details
regarding the construction of this dataset, the reader is referred to [21].
8.4</p>
      </sec>
      <sec id="sec-8-5">
        <title>Results and discussion</title>
        <p>How good is the expensive measure? Not surprisingly, GrSim and SubSim
had the highest correlation values with experts' similarity (Pearson's correlation
coe cient r = 0:87; p &lt; 0:001). Secondly comes AtomicSim (r = 0:86). Finally
comes Wu &amp; Palmer then Rada (r = 0:81, r = 0:64 respectively). Clearly, the
new expensive measures are more correlated with human judgements which is
expected as they consider more of the information in the ontology. The di erences
in correlation values might seem to be small but this is expected as SNOMED
is an E L ontology and we expect di erences to grow as expressivity increases.</p>
        <p>Cost of the expensive measure: One of the main issues we want to explore
in this study is the cost (in terms of time) for similarity measurement in general
and the cost of the most expensive similarity measure in particular.</p>
        <p>The average time per ontology taken to calculate grammar-based pairwise
similarities was 2.3 minutes (standard deviation = 10:6 minutes, median
m = 0:9 seconds) and the maximum time was 93 minutes for the Neglected
Tropical Disease Ontology which is a SRIQ ontology with 1237 logical axioms, 252
concept names and 99 role names. For this ontology, the cost of AtomicSim( )
was only 15.545 sec and 15.549 sec for SubSim( ). 9 out of 196 ontologies took
over 1 hour to be processed. One thing to note about these ontologies is the
high number of logical axioms and role names. However, these are not necessary
conditions for long processing times. For example, the Family Health History
Ontology has 431 role names and 1103 logical axioms and was processed in less
than 13 sec. Clearly, GrSim( ) is far more costly than the other two measures.
This is why we want to know how good/bad a cheaper measure can be. These
reported times include module extraction and ontology classi cation times.</p>
        <p>Approximations and correlations: Regarding the relations (AS; AG; SG)
between the three measures, we want to nd out how frequently can a cheap
measure be a good approximation for/have a strong correlation with a more
expensive measure. Recall that we have excluded all ontologies with only atomic
subsumptions from the study. However, in 12% of the ontologies the three
measures were perfectly correlated (r = 1; p &lt; 0:001) mostly due to having only
atomic subsumptions in the extracted module (except for three ontologies which
have more than atomic subsumptions). In addition to these perfect correlations
for all the three measures, in 11 more ontologies the relation SG was a
perfect correlation (r = 1; p &lt; 0:001) and AS and AG were very highly correlated
(r 0:99; p &lt; 0:001). These perfect correlations indicate that, in some cases,
the bene t of using an expensive measure is totally neglectable.</p>
        <p>In about fth of the ontologies (20.47%), the relation SG was a very high
correlation (1 &gt; r 0:99; p &lt; 0:001) within which 5 ontologies were 100%
orderpreserving and approximating from below. In this category, in 22 ontologies the
relation SG was 100% close. As for the relation AG, in only 8% of the ontologies
the correlation was very high.</p>
        <p>In nearly half of the ontologies (48.54%), the correlation for SG was
considered medium (0:99 &gt; r 0:90; p &lt; 0:001). And in 11% of the ontologies, the
correlation for SG was considered low (r &lt; 0:90; p &lt; 0:001) with (r = 0:63) as
the lowest correlation value. In comparison, the correlation for AG was
considered medium in 38% of the ontologies and low in 32.75% of the ontologies.</p>
        <p>As for the order-preservations, approximations from above/below and
closeness for the relations AG and SG, we summarise our ndings in the following
table. Not surprisingly, SubSim( ) is more frequently a better approximation
to GrSim( ) compared to AtomicSim( ). Although one would expect that the
AG
SG</p>
        <p>Order-preservations Approx. from below Approx. from above Closeness
32 32 37 28
44 49 42 56</p>
        <p>Table 1: Ontologies satisfying properties of approximation
properties of an ontology have an impact on the relation between the di
erent measures used to compute the ontology's pairwise similarities, we found no
indicators. With regard to this, we categorised the ontologies according to the
degree of correlation (i.e., perfect, high, medium and low correlations) for the
SG relation. For each category, we studied the following properties of the
ontologies in that category: expressivity, number of logical axioms, number of concept
names, number of role names, length of the longest axiom, number of subconcept
expressions. For ontologies in the perfect correlation category, the important
factor was having a low number of subconcepts. In this category, the length of the
longest axiom was also low ( 11, compared to 53 which is the maximum length
of the longest axiom in all the extracted modules from all ontologies). In
addition, the expressivity of most ontologies in this category was AL. Apart from
this category, there were no obvious factors related to the other categories.</p>
        <p>How bad is a cheap measure? To explore how likely it is for a cheap
measure to encounter problems (e.g., fail one of the tasks presented in the
introduction), we examine the cases in which a cheap measure was not an
approximation for the expensive measure. AG and SG were not order-preserving in 80%
and 73% of the ontologies respectively. Also, they were not approximations from
above nor from below in 72% and 64% of the ontologies respectively and were
not close in 83% and 66% of the ontologies respectively.</p>
        <p>If we take a closer look at the African Traditional Medicine ontology for which
the similarity curves are presented in Figure 1, we nd that SG is 100%
orderpreserving while AG is only 99% order-preserving. Note that for presentation
purposes, only part of the curve is shown. Both relations were 100%
approximations from below. As for closeness, SG was 100% close while AG was only
12% close. In order to determine how bad are AtomicSim( ) and SubSim( ) as
cheap approximations for GrSim( ), we study the behaviour of these measures
w.r.t. the three tasks presented in the introduction. Both cheap measures would
succeed in performing task 1 while only SubSim( ) can succeed in task 2 (1%
failure chance for AtomicSim( )). For task 3, there is a higher failure chance for
AtomicSim( ) since closeness is low (12%).
Fig. 2: Platynereis Stage</p>
        <p>As another example, we examine the Platynereis Stage Ontology for which
the similarity curves are presented in Figure 2. In this ontology, both AG and
SG are 75% order-preserving. However, AG was 100% approximating from above
while SG was 85% approximating from below (note the highlighted red spots).
In this case, both AtomicSim( ) and SubSim( ) can succeed in task 1 but not
always in tasks 2 &amp; 3 with SubSim( ) being worse as it can be overestimating
in some cases and underestimating in other cases.</p>
        <p>In general, both measures are good cheap alternatives w.r.t. task 1. However,
AtomicSim( ) would fail more often than SubSim( ) when performing tasks 2/3.
9</p>
      </sec>
    </sec>
    <sec id="sec-9">
      <title>Conclusion and future research directions</title>
      <p>In conclusion, no obvious indicators were found to inform the decision of choosing
between a cheap or expensive measure based on the properties of an ontology.
However, the task under consideration and the error rate allowed in the intended
application can help. In general, SubSim( ) seems to be a good alternative to the
expensive GrSim( ). First, it is restricted in a principled way to the modeller's
focus. Second, it has less failure chance in practise compared to AtomicSim( ).</p>
      <p>As for our future research directions, we aim to extend the study by looking
deeply at the possible causes of failure and run the measures on some ontologies
as they are instead of some modules of them to see how well they scale.
21. T. Pedersen, S. Pakhomov, S. Patwardhan, and C. Chute. Measures of
semantic similarity and relatedness in the biomedical domain. Journal of Biomedical
Informatics, 30(3):288{299, 2007.
22. R. Rada, H. Mili, E. Bicknell, and M. Blettner. Development and application of a
metric on semantic nets. In IEEE Transaction on Systems, Man, and Cybernetics,
volume 19, page 1730, 1989.
23. P. Resnik. Using information content to evaluate semantic similarity in a taxonomy.</p>
      <p>In In Proceedings of the 14th international joint conference on Arti cial intelligence
(IJCAI95), volume 1, pages 448{453, 1995.
24. A. Schlicker, FS. Domingues, J. Rahnenfu hrer, and T. Lengauer. A new measure
for functional similarity of gene products based on gene ontology. BMC
Bioinformatics, 7, 2006.
25. R. Shearer, B. Motik, and I. Horrocks. HermiT: A highly-e cient OWL reasoner.</p>
      <p>In Proceedings of the 5th International Workshop on OWL: Experiences and
Directions (OWLED-08EU), 2008.
26. R.N. Shepard. Toward a universal law of generalization for psychological science.</p>
      <p>Science, 237:1317{1323, 1987.
27. E. Sirin, B. Parsia, B. Cuenca Grau, A. Kalyanpur, and Y. Katz. Pellet: A practical</p>
      <p>OWL-DL reasoner. Journal of Web Semantics, 5(2), 2007.
28. D. Tsarkov and I. Horrocks. FaCT++ description logic reasoner: System
description. In Proceedings of the 3rd International Joint Conference on Automated
Reasoning (IJCAR), 2006.
29. A. Tversky. Features of similarity. Psycological Review by the American
Psycological Association, Inc., 84(4), July 1977.
30. A.R. Wagner. Evolution of an elemental theory of pavlovian conditioning. Learning
and Behavior, 36:253{265, 2008.
31. JZZ. Wang, Z. Du, R. Payattakool, PSS. Yu, and CFF. Chen. A new method to
measure the semantic similarity of GO terms. Bioinformatics, 2007.
32. Z. Wu and MS. Palmer. Verb semantics and lexical selection. In Proceedings of
the 32nd. Annual Meeting of the Association for Computational Linguistics (ACL
1994), page 133138, 1994.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>F.</given-names>
            <surname>Baader</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Calvanese</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. L.</given-names>
            <surname>McGuinness</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Nardi</surname>
          </string-name>
          , and P. F. (eds.)
          <source>PatelSchneider. The Description Logic Handbook: Theory, Implementation and Applications</source>
          . Cambridge University Press, second edition,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>T.</given-names>
            <surname>Cohen</surname>
          </string-name>
          and
          <string-name>
            <given-names>D.</given-names>
            <surname>Widdows</surname>
          </string-name>
          .
          <article-title>Empirical distributional semantics: Methods and biomedical applications</article-title>
          .
          <source>Journal of Biomedical Informatics</source>
          ,
          <volume>42</volume>
          (
          <issue>2</issue>
          ):
          <fpage>390405</fpage>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>B.</given-names>
            <surname>Cuenca Grau</surname>
          </string-name>
          , I. Horrocks,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Kazakov</surname>
          </string-name>
          , and
          <string-name>
            <given-names>U.</given-names>
            <surname>Sattler</surname>
          </string-name>
          .
          <article-title>Modular reuse of ontologies: Theory and practice</article-title>
          .
          <source>J. of Arti cial Intelligence Research</source>
          ,
          <volume>31</volume>
          :
          <fpage>273318</fpage>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4. C.
          <string-name>
            <surname>d'Amato</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Staab</surname>
            , and
            <given-names>N.</given-names>
          </string-name>
          <string-name>
            <surname>Fanizzi</surname>
          </string-name>
          .
          <article-title>On the Inuence of Description Logics Ontologies on Conceptual Similarity</article-title>
          .
          <source>In EKAW '08 Proceedings of the 16th international conference on Knowledge Engineering: Practice and Patterns</source>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>C.</given-names>
            <surname>Del Vescovo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Klinov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Parsia</surname>
          </string-name>
          , U. Sattler,
          <string-name>
            <given-names>T.</given-names>
            <surname>Schneider</surname>
          </string-name>
          , and
          <string-name>
            <given-names>D.</given-names>
            <surname>Tsarkov</surname>
          </string-name>
          .
          <article-title>Syntactic vs. semantic locality: How good is a cheap approximation?</article-title>
          <source>In WoMO</source>
          <year>2012</year>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>W. K.</given-names>
            <surname>Estes</surname>
          </string-name>
          .
          <article-title>Statistical theory of distributional phenomena in learning</article-title>
          .
          <source>Psychological Review</source>
          ,
          <volume>62</volume>
          :
          <fpage>369</fpage>
          {
          <fpage>377</fpage>
          ,
          <year>1955</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <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="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>U</given-names>
            <surname>Hahn</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N</given-names>
            <surname>Chater</surname>
          </string-name>
          , and
          <string-name>
            <given-names>LB</given-names>
            <surname>Richardson</surname>
          </string-name>
          .
          <article-title>Similarity as transformation</article-title>
          .
          <source>COGNITION</source>
          ,
          <volume>87</volume>
          (
          <issue>1</issue>
          ):1 {
          <fpage>32</fpage>
          ,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>M.</given-names>
            <surname>Horridge</surname>
          </string-name>
          and
          <string-name>
            <given-names>S.</given-names>
            <surname>Bechhofer</surname>
          </string-name>
          .
          <article-title>The owl api: A java api for working with owl 2 ontologies</article-title>
          . In
          <source>In Proceedings of the 6th International Workshop on OWL: Experiences and Directions (OWLED)</source>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>M. Horridge</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          <string-name>
            <surname>Parsia</surname>
            , and
            <given-names>U.</given-names>
          </string-name>
          <string-name>
            <surname>Sattler</surname>
          </string-name>
          .
          <article-title>Extracting justi cations from bioportal ontologies</article-title>
          .
          <source>International Semantic Web Conference</source>
          ,
          <volume>2</volume>
          :
          <fpage>287</fpage>
          {
          <fpage>299</fpage>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <given-names>P.</given-names>
            <surname>Jaccard</surname>
          </string-name>
          .
          <article-title>Etude comparative de la distribution orale dans une portion des alpes et du jura</article-title>
          .
          <source>Bulletin de la Societe Vaudoise des Sciences Naturelles</source>
          ,
          <volume>37</volume>
          :
          <fpage>547</fpage>
          {
          <fpage>579</fpage>
          ,
          <year>1901</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <given-names>W.</given-names>
            <surname>James</surname>
          </string-name>
          .
          <article-title>The principles of psychology</article-title>
          . dover: New york. (original work published
          <year>1890</year>
          ),
          <year>1890</year>
          /
          <year>1950</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <given-names>K.</given-names>
            <surname>Janowicz.</surname>
          </string-name>
          Sim-dl:
          <article-title>Towards a semantic similarity measurement theory for the description logic alcnr in geographic information retrieval</article-title>
          .
          <source>In SeBGIS</source>
          <year>2006</year>
          ,
          <source>OTM Workshops</source>
          <year>2006</year>
          , pages
          <fpage>1681</fpage>
          -
          <lpage>1692</lpage>
          ,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <given-names>J.</given-names>
            <surname>Jiang</surname>
          </string-name>
          and
          <string-name>
            <given-names>D.</given-names>
            <surname>Conrath</surname>
          </string-name>
          .
          <article-title>Semantic similarity based on corpus statistics and lexical taxonomy</article-title>
          .
          <source>In Proc. of the 10th International Conference on Research on Computational Linguistics</source>
          , Taiwan,
          <year>1997</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Y.-B. Kang</surname>
            ,
            <given-names>Y.-F.</given-names>
          </string-name>
          <string-name>
            <surname>Li</surname>
            , and
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Krishnaswamy</surname>
          </string-name>
          .
          <article-title>Predicting reasoning performance using ontology metrics</article-title>
          .
          <source>In ISWC 2012 Lecture Notes in Computer Science</source>
          . Volume
          <volume>7649</volume>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <given-names>K.</given-names>
            <surname>Lehmann</surname>
          </string-name>
          and
          <string-name>
            <given-names>A.</given-names>
            <surname>Turhan</surname>
          </string-name>
          .
          <article-title>A framework for semantic-based similarity measures for ELH-concepts</article-title>
          .
          <source>JELIA</source>
          <year>2012</year>
          , pages
          <fpage>307</fpage>
          {
          <fpage>319</fpage>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <given-names>V. I.</given-names>
            <surname>Levenshtein</surname>
          </string-name>
          .
          <article-title>Binary codes capable of correcting deletions, insertions and reversals</article-title>
          .
          <source>Soviet Physics Doklady</source>
          ,
          <volume>10</volume>
          :
          <fpage>707</fpage>
          {
          <fpage>710</fpage>
          ,
          <year>1966</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <given-names>D.</given-names>
            <surname>Lin</surname>
          </string-name>
          .
          <article-title>An information-theoretic de nition of similarity</article-title>
          .
          <source>In Proc. of the 15th International Conference on Machine Learning</source>
          , San Francisco, CA,
          <year>1998</year>
          . Morgan Kaufmann.
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>R. M. Nosofsky</surname>
          </string-name>
          .
          <article-title>Similarity scaling and cognitive process models</article-title>
          .
          <source>Annual Review of Psychology</source>
          ,
          <volume>43</volume>
          :
          <fpage>25</fpage>
          {
          <fpage>53</fpage>
          ,
          <year>1992</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <given-names>R.</given-names>
            <surname>Othman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Deris</surname>
          </string-name>
          , and
          <string-name>
            <given-names>R.</given-names>
            <surname>Illias</surname>
          </string-name>
          .
          <article-title>A genetic similarity algorithm for searching the gene ontology terms and annotating anonymous protein sequences</article-title>
          .
          <source>Journal of BiomedInform</source>
          ,
          <volume>23</volume>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>