<!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>Extensions to the Ontology Design Pattern Representation Language?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Quinn Hirt</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Cogan Shimizu</string-name>
          <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>Data Semantics Laboratory, Kansas State University</institution>
          ,
          <addr-line>Manhattan, KS</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Data Semantics Laboratory, Wright State University</institution>
          ,
          <addr-line>Dayton, OH</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Recently, modular ontology modeling has become a more popular ontology engineering paradigm. With it, the need for additional metadata associated with ontology design patterns has grown. The Ontology Pattern Language (OPLa) was developed to facilitate annotating ontologies with useful metadata, as well as supporting tooling infrastructure. In this paper, we detail three extensions to OPLa into a reorganized namespace: OPLa-core, containing the original annotations; OPLa-SD, for use in detailing schema diagrams; and OPLa-CP, an adaptation of the content-pattern annotation schema.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>As the pattern-based, modular ontology engineering methodology has matured,
it has become apparent that additional metadata describing that patterns and
modules that compose the modular ontology is necessary. Indeed, we have seen
that the documentation of an ODP has three facets which are espeically useful
during development: structural and provenance, content and usage, and
visualization.</p>
      <p>
        Structural and provenance documentation refers to those annotations that
describe how patterns and modules may interact with each other, as well as
related patterns, how they connect, or their most general form. Recently, [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]
presented the Ontology Design Pattern Representation Language (OPLa) to
cover this use case.
      </p>
      <p>Content and usage has been historically covered by the cp-annotation-schema;
these metadata annotations are critical for the discovery, reuse, and
interoperability with existing patterns. When a pattern is submitted to the ontology
design patterns web portal3, the form requires that the pattern be annotated
with the cp-annotation-schema.4 This schema includes a number of annotation
properties that allow a developer to express certain usage characteristics of their
content ontology design pattern. However, it is not always clear how to use these
annotations and may pose as an obstacle for advanced querying.
? Copyright c 2019 for this paper by its authors. Use permitted under Creative
Commons License Attribution 4.0 International (CC BY 4.0).
3 http://ontologydesignpatterns.org
4 url2cp-annotation.owl</p>
      <p>Pre x Namespace
opla-core: http://ontologydesignpatterns.org/opla-core#
opla-cp: http://ontologydesignpatterns.org/opla-cp#
opla-sd: http://ontologydesignpatterns.org/opla-sd#</p>
      <p>
        Furthermore, we have seen that schema diagrams are an important tool for
understanding the purpose, content, and structure of an ontology design
pattern or module [
        <xref ref-type="bibr" rid="ref3 ref6">6, 3</xref>
        ]. A schema diagram is a graph-based visual diagram that
gives a human understandable view of the stucture that concepts, properties,
and datatypes create within the onotlogy. Further, it does not aim to represent
the full logical implications of each axiom in the ontology; instead, it focuses
on representing simple relationships between concepts in an ontology. Graphical
ontology modelling is not a new paradigm, but with increasing accessibility of
multimodal input devices, as well as increased adoption in non-ontologists, it
has recently become more prevalent [
        <xref ref-type="bibr" rid="ref1 ref4 ref8">8, 1, 4</xref>
        ]. Modular ontology modelling seems
to be an excellent complement to graphical ontology modelling, given that its
\plug-and-play" nature may easily correspond to \drag-and-drop." Metadata
describing best-practices for visualizing a pattern, or set of patterns, will certainly
be of bene t to developers of tooling infrastructure. While only three annotations
have been speci ed in OPLa-sd, de ned in a later section, additional annotations
to support future tooling applications and infrastructure will be added.
      </p>
      <p>To support these needs, this paper describes the extension and slight
reorganization of OPLa into three distinct sub-namespaces. Table 1 shows these
new namespaces. Thus, we enable a simpli ed documentation process, as well
as provide multiple dimensions for pattern discovery. The contributions are as
follows.
1. OPLa-Core: the new namespace of the original OPLa ontology and the
annotations therein remain unchanged.
2. OPLa-CP: contains the annotation properties describing a number of
nontechnical facets on the usage of a particular ontology design pattern or
module. These annotation properties are adapted from the cp-annotation-schema.
3. OPLa-SD: the foundational positional axioms used for expressing visual
location of an entity on a canvas.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Extending OPLa</title>
      <p>As mentioned in the previous section, there are three distinct representations of
a pattern that we wish OPLa to cover. Furthermore, we wish to have each of
the annotations to support discoverability, as such, some disambiguation of the
uses of the annotations was necessary. In the next sections we brie y discuss the
usage characteristics of the new OPLa-cp annotations and two annotations from
OPLa-core. The updated OWL le for these OPLa extensions (as well as the
original speci cation) is available online.5
2.1</p>
      <sec id="sec-2-1">
        <title>OPLa-core</title>
        <p>In this section, we merely disambiguate some common questions pertaining to
two original OPLa annotations and a new core annotation, as adapted from
cpannotation-schema. While some of these annotations were in the original speci
cations for OPLa, their use-cases were not explicit.
opla-core:isNativeTo should be used to express the provenance of some ontological
entity. This annotation is not functional, e.g. some entity may be native to more
than one pattern, e.g. the Agent may belong to both AgentRole and Provenance
patterns.
opla-core:ofExternalType should be used to indicate that another pattern may
hook into this entity. For example, a hook might indicate that the pattern
developer acknowledges a certain concept is out of scope of the particular pattern.
opla-core:extractedFrom is adapted from cp-annotation-schema This annotation
should be used to indicate that a pattern has been created from where one
originally did not exist. Otherwise, opla-core:derivedFrom should be used.
2.2</p>
      </sec>
      <sec id="sec-2-2">
        <title>OPLa-cp</title>
        <p>The adaptation of cp-annotation-schema is the primary contribution in this
paper. The purpose of the cp-annotation-schema is to describe many aspects
pertaining to the usage of an ontology design pattern, thus we have adapted many
of the annotations for use in OPLa. However, not all of the annotations in
cpannotation-schema were necessary to be included, as their purposes were covered
by existing OPLa annotations. Additionally, few of the original annotations
implied that their payload was plural, e.g. hasConsequences. However, in order to
aid in discovery and minimze complicated text-processing, we felt that it was
more natural to have singular natural language payloads, i.e. hasConsequence.
opla-cp:hasConsequence Describes a potential gain and drawback when using the
annotated module or pattern. For example, it may be used to express the impact
of an ontological commitment.
opla-cp:coversRequirement Should point to a blank node, wherein a competency
question and SPARQL query should be paired. This pair should pretain to a
question answerable by the original pattern itself without being instantiated for
a speci c usecase.
opla-cp:hasCompetencyQuestion Points to an example competency question that
can be evaluated against the annotated ontology, as expressed in natural
language.
5 https://github.com/cogan-shimizu-wsu/Extended-OPLa/
:Agent rdf:type owl:Class ;
opla-sd:entityPosition
[ opla-sd:entityPositionX "19.608958656638492"^^xsd:double ;
opla-sd:entityPositionY "89.84401282241834"^^xsd:double ;
rdfs:comment "This is an entity positioning annotation
generated by CoModIDE (https://comodide.com/). Removing
this annotation will break rendering the CoModIDE
schema diagram view."@en
] .
opla-cp:hasUnitTest Points to an example SPARQL query that can be evaluated
against the content of the annotated ontology. It should be paired with a natural
language description, e.g. Competency Question.
opla-cp:addressesScenario Describes a potential or existing usecase or
instantiation of the ontology design pattern. It should describe the commitments
necesarry to make the instantiation possible.
2.3</p>
      </sec>
      <sec id="sec-2-3">
        <title>OPLa-sd</title>
        <p>
          OPLa-SD includes a set of annotations speci cally for tooling software to query
and utilize. Currently, there are only three annotations belong to OPLa-SD,
as detailed below. Figure 1 shows an excerpted opla-sd:EntityPosition from the
annotated version of the AgentRole pattern in [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ]. These annotations are not
meant to be manipulated directly by a user and doing so can cause tools to
break.
opla-sd:entityPosition This property has a blank node as its target. This blank
node is intended to \encapsulate" all other position related annotations.
opla-sd:entityPositionX This property speci es the X coordinate (expressed as a
double) of a node in a schema diagram.
opla-sd:entityPositionY This property speci es the Y coordinate (expressed as a
double) of a node in a schema diagram.
3
        </p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Conclusions</title>
      <p>This paper describes the reorganization of the OPLa namespace into three
new sub-namespaces, OPLa-core, OPLa-CP, and OPLa-SD. This reorganization,
and the population of the new sub-namespaces, supports the documentation of
ODPs, in three critical facets, as well providing descriptions to annotations
previously without documentation. Each namespace has a set of annotations for
specialized roles and functionality.</p>
      <p>
        These new OPLa annotations can be seen in two ongoing projects: MODL: a
modular ontology design library [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], where it is used to index design patterns for
use; and the Comprehensive Modular Ontology IDE (CoModIDE6 [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]), which
leverages both MODL and its index to enable pattern-based modular ontology
engineering and uses the OPLa-SD annotation properties in order to keep a
consistent rendering of the ontology across sessions.
      </p>
      <p>Acknowledgement. Quinn Hirt acknowledges funding from the Air Force O ce
of Scienti c Research under award number FA9550-18-1-0386. Cogan Shimizu
acknowledges support by the Dayton Area Graduate Studies Institute (DAGSI).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>K.</given-names>
            <surname>Hammar</surname>
          </string-name>
          .
          <article-title>Ontology design patterns in WebProtege</article-title>
          . In S. Villata,
          <string-name>
            <given-names>J. Z.</given-names>
            <surname>Pan</surname>
          </string-name>
          , and M. Dragoni, editors,
          <source>Proceedings of the ISWC 2015 Posters &amp; Demonstrations Track. CEUR-WS.org</source>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>P.</given-names>
            <surname>Hitzler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Gangemi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Janowicz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. A.</given-names>
            <surname>Krisnadhi</surname>
          </string-name>
          , and
          <string-name>
            <given-names>V.</given-names>
            <surname>Presutti</surname>
          </string-name>
          .
          <article-title>Towards a simple but useful ontology design pattern representation language</article-title>
          . In E. Blomqvist,
          <string-name>
            <given-names>O.</given-names>
            <surname>Corcho</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Horridge</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Carral</surname>
          </string-name>
          , and R. Hoekstra, editors,
          <source>Proceedings of the 8th Workshop on Ontology Design and Patterns (WOP</source>
          <year>2017</year>
          ).
          <article-title>CEUR-WS</article-title>
          .org,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>N.</given-names>
            <surname>Karima</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Hammar</surname>
          </string-name>
          , and
          <string-name>
            <given-names>P.</given-names>
            <surname>Hitzler</surname>
          </string-name>
          .
          <article-title>How to document ontology design patterns</article-title>
          . In K. Hammar,
          <string-name>
            <given-names>P.</given-names>
            <surname>Hitzler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Lawrynowicz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Krisnadhi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Nuzzolese</surname>
          </string-name>
          , and M. Solanki, editors,
          <source>Advances in Ontology Design and Patterns</source>
          , volume
          <volume>32</volume>
          <source>of Studies on the Semantic Web</source>
          , pages
          <volume>15</volume>
          {
          <fpage>28</fpage>
          . IOS Press, Amsterdam,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>M. K. Sarker</surname>
            ,
            <given-names>A. A.</given-names>
          </string-name>
          <string-name>
            <surname>Krisnadhi</surname>
            , and
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Hitzler. OWLAx</surname>
          </string-name>
          :
          <article-title>A protege plugin to support ontology axiomatization through diagramming</article-title>
          . In T. Kawamura and H. Paulheim, editors,
          <source>Proceedings of the ISWC 2016 Posters &amp; Demonstrations Track. CEURWS.org</source>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>C.</given-names>
            <surname>Shimizu</surname>
          </string-name>
          .
          <article-title>Towards a comprehensive modular ontology IDE and tool suite</article-title>
          . In S. Kirrane and L. Kagal, editors,
          <source>Proceedings of the Doctoral Consortium at ISWC</source>
          <year>2018</year>
          ., volume
          <volume>2181</volume>
          <source>of CEUR Workshop Proceedings</source>
          , pages
          <volume>65</volume>
          {
          <fpage>72</fpage>
          . CEUR-WS.org,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>C.</given-names>
            <surname>Shimizu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Eberhart</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Karima</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            <surname>Hirt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Krisnadi</surname>
          </string-name>
          , and
          <string-name>
            <given-names>P.</given-names>
            <surname>Hitzler</surname>
          </string-name>
          .
          <article-title>A method for automatically generating schema diagrams for modular ontologies</article-title>
          .
          <source>In 1st Iberoamerican Conference on Knowledge Graphs and the Semantic Web</source>
          ,
          <year>2019</year>
          . To Appear.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>C.</given-names>
            <surname>Shimizu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            <surname>Hirt</surname>
          </string-name>
          , and
          <string-name>
            <given-names>P.</given-names>
            <surname>Hitzler. Modl</surname>
          </string-name>
          :
          <article-title>A modular ontology design library</article-title>
          .
          <source>Technical report</source>
          , Wright State University, Dayton, Ohio,
          <year>April 2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>V.</given-names>
            <surname>Wiens</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Lohmann</surname>
          </string-name>
          , and
          <string-name>
            <given-names>S.</given-names>
            <surname>Auer</surname>
          </string-name>
          . WebVOWL Editor:
          <article-title>Device-Independent Visual Ontology Modeling</article-title>
          .
          <source>In Proceedings of the ISWC 2018 Posters &amp; Demonstrations, Industry and Blue Sky Ideas Tracks. CEUR-WS.org</source>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>