<!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>OWLAx: A Protege Plugin to Support Ontology Axiomatization through Diagramming</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Md. Kamruzzaman Sarker</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Adila A. Krisnadhi</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Pascal Hitzler</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Universitas Indonesia</institution>
          ,
          <addr-line>Depok</addr-line>
          ,
          <country country="ID">Indonesia</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Wright State University</institution>
          ,
          <addr-line>OH</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Once the conceptual overview, in terms of a somewhat informal class diagram, has been designed in the course of engineering an ontology, the process of adding many of the appropriate logical axioms is mostly a routine task. We provide a Protege3 plugin which supports this task, together with a visual user interface, based on established methods for ontology design pattern modeling.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Motivation</title>
      <p>
        When modeling with domain experts, particularly when they do not possess
intimate knowledge about ontology engineering, it is in our experience best to
use a visual approach to rst design a conceptual overview of ontology modules
(or corresponding content ontology design patterns), in the form of class
diagrams [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. We have found it most e ective to use non-electronic means for this,
such as whiteboards and ipcharts, as they readily support a natural ow of
discussion without assuming any prior knowledge of particular software tools.
      </p>
      <p>The ontology engineers in the modeling team will of course keep track of
the precise meaning of each part of the diagram, so that they can convert their
insights into exact speci cations, i.e., axioms for the ontology. This conversion
can then, based on the class diagram and the discussions during the modeling
sessions, in our experience mostly be done by the ontology engineers without a
lot of required further interaction with the domain experts. For documentation
(or publication) purposes, the class diagram will usually also be redrawn using
appropriate software tools.</p>
      <p>In our experience, based on the class diagram and the discussions with
domain experts during its design, it is mostly a routine, albeit somewhat tedious,
task to write down appropriate axioms for an ontology module in an
ontology editing tool. Most axioms in fact arise out of a systematic exploration of
the class diagram. In order to simplify this part of the work, we have cast
this systematic exploration into a Protege plugin, which we describe herein.
Of course, some axioms { arguably the more interesting and more critical ones
{ will not come up as candidates during our systematic exploration, and so
will have to be added manually. Nevertheless, our plugin is helpful in
making the task of adding many routine axioms much quicker and less error prone.
3 http://protege.stanford.edu/</p>
      <p>More information about the plugin is located at http://daselab.org/content/
ontology-axiomatization-support.
2</p>
    </sec>
    <sec id="sec-2">
      <title>OWLAx: Description and Main Functionalities</title>
      <p>The plugin provides an interface for drawing a class diagram, and a command
(accessible through an item in the menu or a button in the toolbar) to generate
axioms from the given diagram, which are to be added into the currently active
ontology. As seen in Fig. 1, the class diagram itself is composed of nodes and
edges. A node in the class diagram represents either a class, datatype,
individual name, or literal. Meanwhile, an edge represents either an object property,
data property, the typing relation (i.e., rdf:type), or the subclass relation (i.e.,
rdfs:subClassOf). A pallette on the left side of the interface provides the user
with those nodes and edges, which can be dragged and dropped onto the canvas.</p>
      <p>
        In the following, X P! Y means that there is a directed edge P from a node
X to another node Y in the class diagram. Also, A and B denote class names, M
a datatype, c a named individual, ` a literal, R an object property, and Q a data
property. The plugin enforces the class diagram to contain at least one node, and
if there is an edge, it only allows the following node-edge-node con gurations:
A !R B, A !R c, A Q! M , A Q! `, c rdf:typ!e A, and A rdfs:subClassO!f B.
We do not aim to represent all possible relationships between components of
the class diagram above because in our experience when modeling, the class
diagram is usually considered informal, and the aforementioned node-edge-node
OWLAx: A Protege Plugin to Support Ontology Axiomatization
con gurations are those typically used to describe a conceptual overview when
we conduct modeling [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. In fact, we do not intend to represent all possible OWL
2 constructs in the diagram unlike, e.g., Graphol [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], Gra oo [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], or Ontodia [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
      </p>
      <p>From the class diagram, a user can generate several types of candidate
axioms based on the relationships depicted in the class diagram. They are only
candidates since the class diagram is informal; each candidate axiom captures
one way to read a relationship, and the actual intent should typically be inquired
to the domain experts while conducting the modeling. Note that from one type
relationship, more than one actual intents need to be formalized, i.e., the
candidate axioms are not mutually exclusive. On the other hand, the list of candidate
axioms is not exhaustive to keep it su ciently simple: there are obviously axioms
that will not be directly generated from the class diagram, especially if it is too
complex. For such axioms, one has to simply directly input them in Protege.</p>
      <p>
        The plugin facilitates the creation of candidate axioms through a dialog box
(accessible through \Generate Axiom" command from the menu or toolbar)
that contains a checkbox of the candidate axioms presented in the Manchester
syntax. After clicking \Integrate", the plugin will integrate the axioms with a
check-mark to the ontology. We explain some of the candidate axioms below,
though we use mainly description logic notation [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
      </p>
      <p>Every c rdf:typ!e A leads to a class assertion A(c), and A rdfs:subClassO!f B to a
subclass axiom A v B. Next, for every A !R B, the plugin generates several types
of candidate axioms. First, it generates (unscoped) domain restriction 9R:&gt; v A
| equivalent to R rdfs:domain A | and scoped domain restriction 9R:B v A.
The former would be later integrated if the domain experts involved in modeling
agrees that for every pair of instances x; y, if x R y holds, then x belongs to
A (regardless whether or not y belongs to B), while the latter is chosen if the
domain experts agrees that if x R y holds and y is known to belong to B, then x
belongs to A. Such agreements will be solicited from domain experts involved in
the modeling for every candidate axiom. Besides domain restrictions, the plugin
also generates scoped and unscoped range restrictions A v 8R:B, &gt; v 8R:B |
equivalent to R rdfs:range B; several existential axioms, e.g., A v 9R:B, etc.;
and several functionality restrictions, e.g., A v ( 1 R:B), etc.</p>
      <p>Similar types of candidate axioms are generated for every A Q! M , A !R c,
and A Q! ` relationships. Finally, class disjointness axioms are generated as
candidate axioms for every pair of di erent classes, unless there is a path of
rdfs:subClassOf edges in the diagram connecting one class to the other.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Implementation Information and Other Features</title>
      <p>The plugin is implemented on top of the OWL API provided by Protege. The
visual components are built using mxGraph.4 The plugin allows users to save the
diagram as XML-annotated PNG, which can then be loaded again. This plugin
4 http://jgraph.github.io/mxgraph/
is not for visualizing an ontology for which there are a number of Protege plugins
already existing, but rather, it facilitates creating graphical class diagrams inside
Protege and provides a way to generate axioms from it. It eliminates the need to
use separate tools for creating the class diagram and writing down the axioms.
In addition, the user can customize various aspects of the class diagram, e.g.,
coloring, size of nodes and edges, text formatting, etc., through the provided
menu or by right-clicking the corresponding graphical components.</p>
      <p>One could use this plugin for modeling from scratch, or starting from an
already created ontology. In the latter case, the plugin will not attempt create a
class diagram from the ontology, and rather, start with an empty canvas.
Nevertheless, when the user wishes to generate axioms through the plugin, existing
axioms that are already in the ontology will be included as part of the list of
candidate axioms, and the user can con rm whether to keep them. Finally, we
hope to continue improving this plugin, particularly to support quick modeling
of modular ontologies and ontology design patterns, and furthermore, evaluate
the usability of our plugin via a comprehensive user study.</p>
      <p>Acknowledgements. This work was supported by the National Science
Foundation award 1017225 III: Small: TROn { Tractable Reasoning with Ontologies.</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</given-names>
          </string-name>
          . (eds.):
          <article-title>The Description Logic Handbook: Theory, Implementation, and Applications</article-title>
          . Cambridge University Press (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Console</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lembo</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Santarelli</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Savo</surname>
            ,
            <given-names>D.F.</given-names>
          </string-name>
          :
          <article-title>Graphical representation of OWL 2 ontologies through Graphol</article-title>
          . In: Horridge,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Rospocher</surname>
          </string-name>
          , M.,
          <string-name>
            <surname>van Ossenbruggen</surname>
            ,
            <given-names>J</given-names>
          </string-name>
          . (eds.)
          <source>Proceedings of the ISWC</source>
          <year>2014</year>
          <article-title>Posters &amp; Demonstrations Track a track within the 13th International Semantic Web Conference</article-title>
          ,
          <source>ISWC 2014, Riva del Garda</source>
          , Italy, October
          <volume>21</volume>
          ,
          <year>2014</year>
          .
          <source>CEUR Workshop Proceedings</source>
          , vol.
          <volume>1272</volume>
          , pp.
          <volume>73</volume>
          {
          <fpage>76</fpage>
          .
          <string-name>
            <surname>CEUR-WS.org</surname>
          </string-name>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Falco</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gangemi</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Peroni</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shotton</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vitali</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Modelling OWL ontologies with Gra oo</article-title>
          . In: Presutti,
          <string-name>
            <given-names>V.</given-names>
            ,
            <surname>Blomqvist</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            ,
            <surname>Troncy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            ,
            <surname>Sack</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            ,
            <surname>Papadakis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>I.</given-names>
            ,
            <surname>Tordai</surname>
          </string-name>
          ,
          <string-name>
            <surname>A</surname>
          </string-name>
          . (eds.) The Semantic Web:
          <article-title>ESWC 2014 Satellite Events - ESWC 2014 Satellite Events</article-title>
          , Anissaras, Crete, Greece, May
          <volume>25</volume>
          -29,
          <year>2014</year>
          ,
          <source>Revised Selected Papers. Lecture Notes in Computer Science</source>
          , vol.
          <volume>8798</volume>
          , pp.
          <volume>320</volume>
          {
          <fpage>325</fpage>
          . Springer (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Hitzler</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Janowicz</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Krisnadhi</surname>
            ,
            <given-names>A.A.</given-names>
          </string-name>
          :
          <article-title>Ontology modeling with domain experts: The GeoVocamp experience</article-title>
          . In: d'Amato,
          <string-name>
            <given-names>C.</given-names>
            ,
            <surname>Lecue</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            ,
            <surname>Mutharaju</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            ,
            <surname>Narock</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            ,
            <surname>Wirth</surname>
          </string-name>
          ,
          <string-name>
            <surname>F</surname>
          </string-name>
          . (eds.)
          <source>Proceedings of the 1st International Diversity++ Workshop co-located with the 14th International Semantic Web Conference (ISWC</source>
          <year>2015</year>
          ), Bethlehem, Pennsylvania, USA, October
          <volume>12</volume>
          ,
          <year>2015</year>
          .
          <source>CEUR Workshop Proceedings</source>
          , vol.
          <volume>1501</volume>
          , pp.
          <volume>31</volume>
          {
          <fpage>36</fpage>
          .
          <string-name>
            <surname>CEUR-WS.org</surname>
          </string-name>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Mouromtsev</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pavlov</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Emelyanov</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Morozov</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Razdyakonov</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Galkin</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>The simple web-based tool for visualization and sharing of semantic data and ontologies</article-title>
          . In: Villata,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Pan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.Z.</given-names>
            ,
            <surname>Dragoni</surname>
          </string-name>
          , M. (eds.)
          <source>Proceedings of the ISWC</source>
          <year>2015</year>
          <article-title>Posters &amp; Demonstrations Track co-located with the 14th International Semantic Web Conference (ISWC-</article-title>
          <year>2015</year>
          ), Bethlehem, PA, USA, October
          <volume>11</volume>
          ,
          <year>2015</year>
          .
          <source>CEUR Workshop Proceedings</source>
          , vol.
          <volume>1486</volume>
          .
          <string-name>
            <surname>CEUR-WS.org</surname>
          </string-name>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>