<!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>OBM2OWL Patterns: Spotlight on OWL Modeling Versatility</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Marek Dudas</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Tomas Hanzal</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Vojtech Svatek</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ondrej Zamazal</string-name>
          <email>ondrej.zamazalg@vse.cz</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Information and Knowledge Engineering, University of Economics</institution>
          ,
          <addr-line>W. Churchill Sq.4, 130 67 Prague 3</addr-line>
          ,
          <country country="CZ">Czech Republic</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>We present an experimental implementation of an ontological engineering support method that allows to see multiple OWL modeling options for a certain modeled situation. Initial style-independent background model (PURO OBM) is automatically transformed to alternative OWL fragments, which can then be visualized and chosen from. During ontology engineering in OWL, the developer can often choose di erent combinations of language constructs to model the same situation. The choice might be driven by the intended usage of the ontology: web markup vocabularies often favor `feature' assignment to entities through data properties, while linked data vocabularies prefer object properties for this purpose; reasoning-enabled ontologies, in turn, express `features' as classes. We call consistent sets of such choices modeling styles. Viewing di erent alternatives may help supporting the choice of style for a speci c use case. We propose a method where a single styleindependent model { ontological background model (OBM) in PURO language [6] { is created manually, and the style-speci c OWL representations are then automatically generated using OBM2OWL transformation patterns. While not being a way to author an ontology in bulk, this approach can serve as `spotlight' on di erent modeling options. PURO OBMs are based on two main distinctions: between particulars and universals and between relationships and objects (hence the PURO acronym). There are six basic entity types: B-object (particular object), B-type (type of object/type), B-relationship (particular relationship), B-relation (type of relationship), B-valuation (particular assertion of quantitative value) and B-attribute (type of valuation). A PURO OBM consists of named instances of these types, plus of subTypeOf and instanceOf relationships. It captures a concrete situation that serves as basis for analyzing existing ontologies or generating new ones.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Related research Compared to heavier-weighted OBM formalisms such as
OntoUML [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], PURO is supposed to be `mentally closer' to OWL: there are no tough
notions such as `rigidity' (as in OntoClean [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]), and its `object-type-relation'
triad corresponds to the `individual-class-property' triad of OWL, except that
1) PURO does not limit the arity of relations and allows higher-order classes,
and, consequently, 2) allows abstracting from modeling style choices that are
enforced by these limitations in OWL. Generation of OWL from OntoUML has
also been investigated, however without considering OWL modeling styles. On
the other hand, `pattern families' capturing alternative modeling styles have
been investigated by the W3C pattern group,1 for the `class as property value',
`speci ed values' and `n-ary relation' modeling issues, but with no reference to
automatic transformation. Suitability of di erent OWL modeling styles was also
analyzed by Dermeval et al. [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], yet in the context of feature modeling only.
Motivating example 2 If we need to describe that a book was published in a city,
di erent ontologies propose us di erent types of OWL constructs:3
{ data property: d:b1 o:publishedIn "Prague". (cf. RDA Registry ont.)
{ object property: d:b1 o:publishedIn d:Prague. (cf. purl.org/library )
{ rei ed relationship: d: rr1 a o:publishedIn; o:book d:b1;
o:place d:Prague. (cf. British Library Data Model)
{ dedicated class instantiation: d:b1 a o:BookPublishedInPrague. (this kind
of lexical encapsulation is common in the DBpedia category system).
      </p>
      <p>Another example: to say that `025.04' is a topic in the Dewey Decimal
Classi cation (DDC), at least two ways are possible in OWL:
{ class instantiation: o:DDC Topic rdfs:subClassOf d:Topic.</p>
      <p>
        d:025.04 a o:DDC Topic. (cf. British Library Data Model)
{ dedicated `type' class + object property: o:ddc topic a o:TopicType.
d:025.04 o:topicType o:ddc topic. (cf. the openlibrary.org dataset)
Rather than aligning such choices pairwise, as we did in our previous project,
PatOMat [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], we propose the PURO OBM representation as an `interlingua.'
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>PURO OBM2OWL Transformation</title>
      <p>
        The OBM2OWL transformation patterns are currently implemented as SPARQL
UPDATE queries, with structure based on OWL2OWL patterns from PatOMat.
The SELECT part describes a fragment of OBM, e.g., a B-relationship
connecting two B-objects. The INSERT part describes a corresponding OWL structure.
We so far created six patterns4 covering rather intuitive transformations. The
transformation functionality was embedded into PURO Modeler,5 our web-based
graphical editor of OBM. Once the user creates an OBM, it can be serialized
into RDF and sent to a web service that executes the SPARQL queries and
returns OWL ontology fragments separated into RDF graphs. Each graph is then
1 http://www.w3.org/2001/sw/BestPractices/OEP/
2 Based on a survey from http://tomhanzal.github.io/owl-modeling-styles/.
3 The \d" pre x always refers to a ctional dataset and \o" to a ctional ontology.
4 Available at http://lod2-dev.vse.cz/puromodeler/patterns/.
5 http://lod2-dev.vse.cz/puromodeler
visualized using WebVOWL [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] and o ered for download. Although the OBM is
created as example of a concrete situation, incl. sample instances, the resulting
OWL fragments only consist of the T-box.
      </p>
      <p>Consider, again, a designer of a bibliography ontology who wants to model
book topics and place of publishing. In PURO Modeler s/he creates/opens the
OBM of an example situation with book1 about DDC topic 025.04 published
in Prague (Fig. 1). The tool serializes the OBM into an RDF graph6 and
returns four alternative OWL ontology fragments from Fig. 2, which combine
the style options described in Section 1. In fragment A, object properties are
used where possible: even the topic type assignment is modeled as a property
(topic hasType). In B, both relationships are rei ed (hasTopic Relationship,
publishedIn Relationship) and the topic type assignment becomes class instantiation.
C is similar to A, but topic type assignment is modeled as in B. In D, all
relationships are modeled as data properties; the topic type is omitted since the topic
is now a literal. The designer can now choose the most suitable OWL fragment,
download it and integrate into the ontology using his/her favorite editor.</p>
      <p>In the future, generation of OWL fragments could be restricted to those
complying with best practices; e.g., lexical encapsulation (BookPublishednInPrague)
could be omitted as suboptimal, requiring a new class for every location. For
some OBM structures the number of variants will also be smaller by de nition,
e.g., an n-ary relation with n&gt;2 cannot be modeled as plain OWL property.
The presented approach of ontology style bootstrapping from an OBM is still
in its infancy and the initial set of OBM2OWL patterns is merely tentative;
yet, thanks to tool availability, feedback can already be collected. The
longterm vision is that of a portal (integrated with ontologydesignpatterns.org ) where
6 Available at http://lod2-dev.vse.cz/puromodeler/bookLocationTopicOBM.rdf
experts trained in OBM (`PURO writers') could build and share the OBMs while
novice ontological engineers (`PURO readers') could pick fragments of the OBMs
and let the OBM2OWL service generate the corresponding OWL fragments for
them. Systematic elaboration and analysis of advantages and disadvantages of
the modeling styles is planned for future research. Use of lexicographic resources
to generate sound labels for new elements is also foreseen.</p>
      <p>The research is supported by UEP IGA F4/90/2015 and by long-term
institutional support of research activities by Faculty of Informatics and Statistics,
Univ. of Economics, Prague. Ondrej Zamazal is supported by CSF 14-14076P.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Benevides</surname>
            ,
            <given-names>A.B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Guizzardi</surname>
          </string-name>
          , G.:
          <article-title>A model-based tool for conceptual modeling and domain ontology engineering in OntoUML</article-title>
          .
          <source>In: Enterprise Information Systems</source>
          , pp.
          <volume>528</volume>
          {
          <fpage>538</fpage>
          . Springer (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Dermeval</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tenorio</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          , et al.:
          <article-title>Ontology-based feature modeling: An empirical study in changing scenarios</article-title>
          .
          <source>Expert Systems with Applications</source>
          <volume>42</volume>
          (
          <issue>11</issue>
          ) (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Guarino</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Welty</surname>
            ,
            <given-names>C.A.</given-names>
          </string-name>
          :
          <article-title>An overview of ontoclean</article-title>
          . In: Handbook on ontologies, pp.
          <volume>201</volume>
          {
          <fpage>220</fpage>
          . Springer (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Lohmann</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Negru</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Haag</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ertl</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>VOWL 2: user-oriented visualization of ontologies</article-title>
          .
          <source>In: EKAW</source>
          , pp.
          <volume>266</volume>
          {
          <fpage>281</fpage>
          . Springer (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Svab-Zamazal</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dudas</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Svatek</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          :
          <article-title>User-friendly pattern-based transformation of OWL ontologies</article-title>
          .
          <source>In: EKAW</source>
          , pp.
          <volume>426</volume>
          {
          <fpage>429</fpage>
          . Springer (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Svatek</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Homola</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          , et al.:
          <article-title>Metamodeling-based coherence checking of OWL vocabulary background models</article-title>
          .
          <source>In: OWLED. CEUR</source>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>