<!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>A Diagrammatic Representation for Entities and Mereotopological Relations in Ontologies</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>José M Parente de Oliveira</string-name>
          <email>parente@ita.br</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Barry Smith</string-name>
          <email>phismith@buffalo.edu</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Computer Science Department - Aeronautics Institute of Technology (ITA) Pca Mal do Ar Eduardo Gomes</institution>
          ,
          <addr-line>50 - 12.228-900 - São José dos Campos - SP -</addr-line>
          <country country="BR">Brazil</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Philosophy Department - The State University of New York - University at Buffalo</institution>
          ,
          <addr-line>Buffalo</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>In the graphical representation of ontologies, it is customary to use graph theory as the representational background. We claim here that the standard graph-based approach has a number of limitations. We focused here on a problem in the graph-based representation of ontologies in complex domains such as biomedical, engineering and manufacturing: lack of mereotopological representation. Based on such limitation, we proposed a diagrammatic way to represent entity's structure and other forms of mereotopological relationships between the entities. The experiments we carried out indicate we achieved the expected benefits.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <sec id="sec-1-1">
        <title>In graphical representations of ontologies, it is customary to use graph theory to represent the taxonomical structures formed by is_a and part_whole relationships, as well as many others. Such relationships are used in both simple and complex domains, in which very complicated part_whole and mereotopological relationships stand out.</title>
        <p>We shall focus here on a problem in the graph-based representation of
ontologies in complex domains such as biomedical, engineering and manufacturing:
lack of mereotopological representation. By lack of mereotopological representation,
we mean that the standard graph representations neither provide a meaningful graphical
account of well-known mereological features, such as proper parts and overlapping, nor
provide a meaningful graphical account of mereotopological features, such as entity
spatial distribution, boundaries, and containment.</p>
      </sec>
      <sec id="sec-1-2">
        <title>Such drawback can cause serious problems for ontology understandability and use. Is there, then, a better way to mitigate the above-mentioned problem, one that will make the visual representation of entities clearer and more intuitive for ontologists? In what follows, we address this issue.</title>
      </sec>
      <sec id="sec-1-3">
        <title>This document is organized as follows. In Section 2, we present the rationale for</title>
        <p>a diagrammatic representation for entities and mereotopogical relations in ontologies. In</p>
      </sec>
      <sec id="sec-1-4">
        <title>Section 3, we present such a diagrammatic representation. In Section 4, we present an application of the representation. Finally, in Section 5 we present the conclusion of the work.</title>
        <p>2. Rationale for a Diagrammatic Representation
Mereotopological Relationships in Ontologies</p>
      </sec>
      <sec id="sec-1-5">
        <title>In this section, we describe the main theoretical factors we will take into account as the rationale for elaborating a diagrammatic representation for ontology’s entities and mereotopological relations: Gestalt Principles, Higraph, Mereology, Mereotopology, and Diagrammatic Representation.</title>
      </sec>
      <sec id="sec-1-6">
        <title>Gestalt principles describe the various ways we tend to visually assemble</title>
        <p>
          individual objects into groups or ‘unified wholes’ (Wong, 2010). Because we follow
such principles, it is not an exaggeration to say that we are able to see things that go
beyond the sum of their parts, such as new forms, new arrangements, emergent
properties, and so on
          <xref ref-type="bibr" rid="ref4">(Kobourov et al., 2015; Wong, 2010)</xref>
          .
        </p>
      </sec>
      <sec id="sec-1-7">
        <title>David Harel (Harel, 1988) proposed a visual formalism of topological nature</title>
        <p>called higraph (hierarchical graph). Higraphs are a combination and extension of graphs
and Euler/Venn diagrams, enabling compact representations of elements related set
theoretically together with some special relation on them provided by the edges.</p>
      </sec>
      <sec id="sec-1-8">
        <title>Concisely, higraphs can be seen as an extension of ordinary graphs by and/or decomposition of vertices. The two essential ideas, which enable this extension, are the provision for depth, or hierarchy depicted by encapsulation, and the notion of orthogonality, or Cartesian product.</title>
      </sec>
      <sec id="sec-1-9">
        <title>Varzi (1996) recognized the need for supplementing mereological notions</title>
        <p>
          <xref ref-type="bibr" rid="ref5">(Varzi, 2016)</xref>
          with topological notions and defined some strategies for that. The
simplest one, which is of our interest here, is that mereology can be seen as the ground
theory on which theories of greater and greater complexity (including topology as well
as, say, morphology or kinematics) can be built by supplying the necessary notions and
principles.
        </p>
      </sec>
      <sec id="sec-1-10">
        <title>Another view of mereotopology is that of Barry Smith (1996), in which he puts mereotopology and topology together to formulate ontological laws pertaining to the boundaries and interiors of wholes, to relations of contact and connectedness, to the concepts of surface, point, neighborhood, and so on.</title>
      </sec>
      <sec id="sec-1-11">
        <title>Following up previous work on trying to explain connection in terms of boundary sharing, Cohn and Varzi (1999) carried out a more detailed analysis on how two regions may share a single boundary point, an extended boundary segment, or an entire, maximal boundary.</title>
      </sec>
      <sec id="sec-1-12">
        <title>In our view, the mereotopological notions described in the literature have not</title>
        <p>been seriously taken into consideration to augment the graphical representation of
ontologies. Therefore, in the present work, we are interested in how parts are spatially
distributed in relation to each other and how entities are located and connected to
others. We should also mention here that we are making the case for complex domains
such as biomedical, engineering and manufacturing.</p>
      </sec>
      <sec id="sec-1-13">
        <title>Gurr (1999) sketches a theory of diagrammatic communication, in which he tries</title>
        <p>to provide an answer to the question: ‘what makes for an effective diagrammatic
representation?’ He argued that a significant determinant of effectiveness in
representational systems is the degree of closeness of match of structure and properties
in a representation to that which it represents.</p>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>3. Diagrammatic Representation Mereotopological Relations of Ontology’s</title>
      <sec id="sec-2-1">
        <title>Our proposal of a diagrammatic representation for entities in ontologies is based on the ideas described in Section 2 aiming at a more intuitive and expressive representation of ontologies. Therefore, in what follows, we describe our proposal for representing entities and mereotopological relations.</title>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3.1 Entity Representation</title>
      <sec id="sec-3-1">
        <title>Entities have a name and a type. The types of entities are the following: without a defined boundary, with a closed external boundary, with an open external boundary, and with external and internal boundaries, which can be open or closed. In addition, entities can be atomic or composed.</title>
        <p>Table 1 presents the representation of some of the types of atomic and composed
entities. For almost of them, we provide a concrete example.</p>
      </sec>
      <sec id="sec-3-2">
        <title>Two kinds of representation here. The first one is</title>
        <p>that of an atomic entity without a defined
boundary (e.g., a stone), and the second is of an
atomic entity with a closed external boundary.</p>
      </sec>
      <sec id="sec-3-3">
        <title>This second entity is supposed to have some kind of interior matter. An example is a cake with a sugar shell.</title>
      </sec>
      <sec id="sec-3-4">
        <title>An entity that is a closed boundary, whose name is</title>
        <p>the boundary name, such as an empty box.</p>
      </sec>
      <sec id="sec-3-5">
        <title>Boundary entities do not have any interior matter.</title>
      </sec>
      <sec id="sec-3-6">
        <title>An atomic entity with an open external boundary at the center right side. The entity is supposed to have some kind of interior matter; an example is a bitten apple.</title>
      </sec>
      <sec id="sec-3-7">
        <title>An entity with an external open boundary and an internal closed boundary. The Entity is a whole and the internal part is a hole. An example of this is a bitten donut.</title>
        <p>A composed entity with external and internal
closed boundaries and with one part whose name
is A, in which A is located between the
boundaries. Entity is a whole and the interior of
the internal boundary is a hole. Part cardinality is
given by explicitly representing the parts. We can
have several levels of part-of relations.</p>
        <sec id="sec-3-7-1">
          <title>Entity</title>
        </sec>
        <sec id="sec-3-7-2">
          <title>Entity</title>
        </sec>
        <sec id="sec-3-7-3">
          <title>Boundary</title>
        </sec>
        <sec id="sec-3-7-4">
          <title>Boundary</title>
        </sec>
        <sec id="sec-3-7-5">
          <title>Entity</title>
        </sec>
        <sec id="sec-3-7-6">
          <title>Boundary</title>
        </sec>
        <sec id="sec-3-7-7">
          <title>Entity</title>
        </sec>
        <sec id="sec-3-7-8">
          <title>Boundary</title>
        </sec>
        <sec id="sec-3-7-9">
          <title>Entity</title>
        </sec>
        <sec id="sec-3-7-10">
          <title>Boundary A</title>
        </sec>
        <sec id="sec-3-7-11">
          <title>Boundary</title>
        </sec>
      </sec>
      <sec id="sec-3-8">
        <title>Concerning boundary’s openings, it is important to mention that a boundary can have one or more openings. Openings can also be partial or total.</title>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>3.2 Mereotopological Relations</title>
      <sec id="sec-4-1">
        <title>We take into account here the following mereotopological relations for entities: non</title>
        <p>adjacency, external adjacency (weak and extended), overlap, adjacency of parts with an
entity’s interior boundary, adjacency between boundaries, and boundary penetration.</p>
      </sec>
      <sec id="sec-4-2">
        <title>The defined adjacency relations are mainly inspired on the notions of modes of connection advanced in (Cohn and Varzi, 1999). Table 2 presents some adjacency relations between atomic or composed entities.</title>
      </sec>
      <sec id="sec-4-3">
        <title>An entity without a defined boundary and another with an open boundary at the center top. In the first pair, they are not adjacent. In the second, they are weakly adjacent.</title>
      </sec>
      <sec id="sec-4-4">
        <title>An entity without a defined boundary and another of the same type. Three examples of extended adjacency.</title>
      </sec>
      <sec id="sec-4-5">
        <title>Two composed entities without a defined boundary which have a shared part, i.e., they overlap. The shared part could be without a defined boundary or with an open boundary. We could also have different combination of overlapping entities.</title>
      </sec>
      <sec id="sec-4-6">
        <title>Extended adjacency between an atomic entity and the closed boundary of the whole of which it is a part.</title>
      </sec>
      <sec id="sec-4-7">
        <title>When both the whole and its part have an open boundary, the interior of the part can be accessed from the outside through the matter of the whole or directly when the open boundaries are adjacent.</title>
      </sec>
      <sec id="sec-4-8">
        <title>Two entities with only one opening and another with two openings. Entity 2 can be seen as a conduit connecting Entity 1 and Entity 3, i.e., Entity 2 penetrates the other entities.</title>
        <p>A
B
A
B
A
A</p>
        <p>B
C</p>
        <p>A
B</p>
        <p>A
A</p>
        <p>B
B
A</p>
        <p>B
B
A</p>
        <p>B
Entity 1</p>
        <sec id="sec-4-8-1">
          <title>Entity 2 </title>
          <p>Entity 3</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>4. Application of the Representation</title>
      <sec id="sec-5-1">
        <title>In the manufacturing realm, for instance, it is usual to find entities with boundaries,</title>
        <p>openings and some of these entities penetrate other entities. Figure 1a presents a
significant part of a combustion engine. By using graphs, it would be easy to mention
the parts involved. In contrast, to describe the relative position of parts and how they are
mereotopologically related it would not be that easy.</p>
      </sec>
      <sec id="sec-5-2">
        <title>We claim here that graph-based representation is not able to capture such semantic relations involved in this kind of complex case. In contrast, the proposed representation can capture important details that are overlooked sometimes. a)</title>
        <p>Cylinder 
block</p>
        <p>Combustion chamber
Crank
case
b)</p>
        <p>Piston
Connect
ing rod</p>
        <p>Crankshaft
Cooling 
water</p>
      </sec>
      <sec id="sec-5-3">
        <title>As we can see in Figure 1a, the cylinder block has external and internal</title>
        <p>boundaries with cooling water present all the way around between these boundaries. We
can also see that crankshaft is attached to the crankcase and that the connecting rod is
also connected to both crankshaft and piston. Connecting rod penetrates both crankcase
and combustion chamber through their openings. Combustion chamber has also two
upper openings that are adjacent with the bottom openings of intake and exhaust valves.</p>
        <p>Figure 1b presents part of such an illustration designed with the diagrammatic
representation being proposed. As is the purpose of the diagrammatic representation
being pursuit, mereotopogical and spatial relations are preserved. With the
diagrammatic representation, readers do not have to read nodes and links in a graph to
elaborate a mental image of the situation. The diagrammatic representation provides
readers with this image, which is very close to the object in reality.</p>
      </sec>
      <sec id="sec-5-4">
        <title>The proposed representation is in accordance with Gurr (1999) when he argues</title>
        <p>that the “effectiveness of a representation is to a significant extent determined by how
closely the semantics of the representation resembles that which it represents. One
benefit that certain diagrammatic representations offer to support this is the potential to
directly capture pertinent aspects of the represented artifact.”</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>5 Conclusion</title>
      <sec id="sec-6-1">
        <title>By applying some Gestalt principles and ideas from higraph, we eliminated the need of having links widely scattered, once they are now enclosed entities representing the parts of the whole. With the visual representation, we could eliminate part_whole links.</title>
      </sec>
      <sec id="sec-6-2">
        <title>The diagrammatic representation of mereotopological relations opens up the</title>
        <p>possibility of representing many features that have not been taken into consideration in
ontology graphical representations. The offered possibilities allow representing many
arrangements in reality to attend the needs of complex domains, such as medicine,
engineering and manufacturing.</p>
      </sec>
      <sec id="sec-6-3">
        <title>With the proposed diagrammatic representation, our main intent was to obtain a balance between expressiveness, meaningfulness and intuitiveness for ontology users.</title>
      </sec>
      <sec id="sec-6-4">
        <title>As future work, we intend to design ontologies from different domains with the use of the diagrammatic elements, and elaborate a more complete formal semantic for the diagrammatic representation. We intend also to investigate the representation of the dynamic features of parts, wholes and connections.</title>
      </sec>
      <sec id="sec-6-5">
        <title>Varzi, A. C. PARTS, WHOLES, AND PART-WHOLE RELATIONS: THE</title>
      </sec>
      <sec id="sec-6-6">
        <title>PROSPECTS OF MEREOTOPOLOGY. Data and Knowledge Engineering 20, 259– 286, 1996.</title>
      </sec>
      <sec id="sec-6-7">
        <title>Wong, B. Points of View: Gestalt principles (Part 1). Nature Methods 7, 863 (2010).</title>
        <p>1For the present work, annotations were added to the original picture by Eric Pierce,
distributed under Creative Commons Attribution-Share Alike 3.0 Unported license.
https://commons.wikimedia.org/wiki/File:Four_stroke_cycle_compression.png</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <string-name>
            <surname>Cohn</surname>
            ,
            <given-names>A. G.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Varzi</surname>
            ,
            <given-names>A. C.</given-names>
          </string-name>
          <article-title>Modes of Connection</article-title>
          . In: C.
          <string-name>
            <surname>Freksa</surname>
            ,
            <given-names>D.M.</given-names>
          </string-name>
          <string-name>
            <surname>Mark</surname>
          </string-name>
          (Eds.):
          <source>COSIT'99, LNCS 1661</source>
          , pp.
          <fpage>299</fpage>
          -
          <lpage>314</lpage>
          ,
          <year>1999</year>
          . Springer-Verlag Berlin Heidelberg
          <year>1999</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <string-name>
            <surname>Gurr</surname>
            ,
            <given-names>C. A.</given-names>
          </string-name>
          <string-name>
            <surname>Effective Diagrammatic</surname>
          </string-name>
          <article-title>Communication: Syntatic, Semantic and Pragmatic Issues</article-title>
          .
          <source>Journal of Visual Languages and Computing</source>
          ,
          <volume>10</volume>
          ,
          <fpage>317</fpage>
          -
          <lpage>342</lpage>
          ,
          <year>1999</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <string-name>
            <surname>Harel</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          : On Visual Formalisms.
          <source>Communications of the ACM</source>
          . vol.
          <volume>31</volume>
          , no.
          <issue>5</issue>
          ,
          <year>1998</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <string-name>
            <surname>Kobourov</surname>
            ,
            <given-names>G. S.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Mchedlidze</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Vonessen</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Gestalt Principles in Graph Drawing</article-title>
          . E. Di Giacomo and
          <string-name>
            <given-names>A</given-names>
            .
            <surname>Lubiw</surname>
          </string-name>
          (Eds.):
          <source>GD</source>
          <year>2015</year>
          , LNCS
          <volume>9411</volume>
          ,
          <fpage>558</fpage>
          --
          <lpage>560</lpage>
          . Springer, Switzerland,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <string-name>
            <surname>Varzi</surname>
            ,
            <given-names>A. C.</given-names>
          </string-name>
          <article-title>"Mereology", The Stanford Encyclopedia of Philosophy (Winter 2016 Edition)</article-title>
          , Edward N. Zalta (ed.), URL = &lt;https://plato.stanford.edu/archives/win2016/entries/mereology/&gt;.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>