<!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>How Much OWL Do You Need to Know to Make Sense of Building Ontologies?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>María Poveda-Villalón</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Sergio Carulli-Pérez</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Raúl García-Castro</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Universidad Politécnica de Madrid</institution>
          ,
          <addr-line>Madrid</addr-line>
          ,
          <country country="ES">Spain</country>
        </aff>
      </contrib-group>
      <fpage>162</fpage>
      <lpage>169</lpage>
      <abstract>
        <p>The fact that ontologies are considered shareable and reusable components has always been claimed as one of their main advantages. While reusing ontologies is promised to reduce time and resources invested during ontology development, the experience shows that reusing ontologies also involves a costly efort. In this work, we first analyse how ontologies representing the building domain currently reuse each other. Finally, we detect existing Web Ontology Language (OWL) modelling patterns in the ontologies analysed and generate a graphical pattern library to facilitate reuse of the observed patterns.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Ontology</kwd>
        <kwd>Ontology reuse</kwd>
        <kwd>Ontology design pattern</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>During this study, no specific patterns have been found; however, common OWL patterns are detected
and a graphical library containing the generalised ontology design patterns has been created. This
library compiles the OWL constructs combination that appears in the building domain ontologies.</p>
      <p>In conclusion, this study is quite strict in the sense of pattern definition, as the matching is done at
the URI level instead of at the concept level, for example by examining the attached labels to an URI.
Although the current work has been useful to provide a library of generalised patterns, it could be
extended by incorporating ontology alignment techniques to find specific patterns (Section 5).</p>
    </sec>
    <sec id="sec-2">
      <title>2. Related work</title>
      <p>
        Some studies have analysed how ontologies are reused in general ontologies [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] and in particular
domains such as biology [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. In this work, we focus on the available ontologies related to the buildings
domain.
      </p>
      <p>
        Regarding the construction domain, Schenider [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] presented in 2019 an approach to compare
alignments between ontologies generated manually with automatic ones to test how reliable are ontology
matching algorithms for this domain. Schenider’s work could be considered complementary to this
study as it focus on subsumption and equivalences between names entities, either classes or properties,
while our patterns focus on anonymous classes representing axioms.
      </p>
      <p>
        Previous works have analysed the use of OWL construct in the Semantic Web [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], however they did
not consider the combination of constructs to identified repeated patterns. A recent study [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] focuses
on the extraction of “Conceptual Components” that are implemented in diferent ways by diferent
ontologies. This approach difers from ours in the sense that the Conceptual Components represent a
cluster of several implementations (called “Observed Ontology Design Patterns”, however, this notion
of patterns does not imply repetition of the implementation, therefore it can also be considered
submodules in some cases) in particular ontologies. In this sense, the Conceptual Components do not
provide the corresponding code, but link to the code to the ‘Observed Ontology Design Patterns”.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Methodology</title>
      <p>
        To carry out this study, the workflow followed in Figure 1 has been followed. As can be observed, the
ifrst step is to collect the ontologies to be analysed. In this case, we have compiled ontologies about
buildings from Linked Open Vocabularies [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] and the Linked Building Data Community Group GitHub
repository about ontologies2. After removing duplicates and discarding unavailable ontologies, the list
of 18 ontologies considered is presented in Table 1.
      </p>
      <p>Once the ontologies have been selected and downloaded, several processing steps have been carried
out. First, in order to know how building ontologies reuse each other, it has been observed in which
ontologies hard reuse is present, by means of using owl:imports, and which ontologies implement
soft reuse by referencing other ontology elements URIs (note that metadata references are ignored).
Second, all ontologies are inspected to identify repeating patterns. Prior to pattern detection, the
system identifies structures in the ontologies code stemming from the classes’ rdfs:subClassOf,
owl:equivalentClass and owl:disjointWith statements in which the object is a restriction, that
is, the object is not a named class. These structures can be specific, considering the exact URIs for the
ontology elements (see Figure 2(a) or general structures defined by generalising the particular URIs to
the OWL or RDF(S) type of elements (see Figure 2(b)).</p>
      <p>To identify patterns, our system counts how many times the exact structure appears in all the
ontologies. This is done for the specific and general structures to identify specific and general patterns,
respectively.</p>
      <p>Finally, taking as input the general patterns identified, a Chowlk library has been created to ease the
Identify hard and</p>
      <p>soft reuse
Hard and soft
reuse matrix
Remove duplicated
and unavailable
ontologies
18
ontologies</p>
      <p>Detect specific</p>
      <p>structures
Detect specific</p>
      <p>patterns
0 Specific patterns
in 5 ontologies
workflow line
input/output
line</p>
      <p>Detect
structures
Detect generic
patterns</p>
      <p>Generate
template library
OWL patterns
library
35 generic
patterns in 5
ontologies
Legend</p>
      <p>Step</p>
      <p>Data
source</p>
      <p>Document /</p>
      <p>result
use of common OWL structures in ontologies.3 It should be noted that the generation of this library
has been done semi-automatically.</p>
    </sec>
    <sec id="sec-4">
      <title>4. Results</title>
      <p>Regarding the hard and soft reuse observed in the analysed ontologies, it can be observed that the
analyzed ontologies do not reuse much each other and the most common reuse technique is soft reuse.
3Exception: pattern 32 is not included in the library as it is more expressive than the Chowlk notation at the time of writing
this paper.
(a) Example of an specific structure
(b) Example of a general structure</p>
      <p>The following list shows for each analysed ontology which ontologies it imports (hard reuse) and
which ontologies are referenced (soft reuse). In the case of soft reuse, the number of ontology elements
referenced are included between “()”. The ontologies analyzed in this study are identified by their prefix
while ontologies not included in the analysis are identified by their namespaces.</p>
      <p>With regard to the identified patterns, we can observe that no specific patterns are repeated. This
means that the specific structures identified in the ontologies are not repeated in any other ontology.
This result was expected after analysing the soft reuse, as this study seeks the repeated appearance
of same URIs in equal structures. For this reason, that exact URIs are matched, we cannot claim that
similar concepts are not defined in more than one ontology in a similar way.</p>
      <p>Looking now at the general patterns extracted4 we can see that 35 patterns are identified among 5
ontologies. These patterns are only present in 5 ontologies because the rest of ontologies did not include
class descriptions using OWL restrictions, boolean combinations or cardinalities. That is, there was
no classes’ rdfs:subClassOf, owl:equivalentClass and owl:disjointWith statements whose
object was a restriction or a blank node instead of a named class in 13 ontologies.</p>
      <p>The identified general patterns are depicted in Figure 3, Figure 4 and Figure 5 following the Chowlk
notation. In such figures there are three numbers on the left of each pattern; the top number represents
the pattern identifier, according to the numeration in the supplementary material; the middle number
indicates in how many ontologies appears the pattern; and the bottom number indicates how many
repetitions of the pattern have been observed considering all ontologies.
4The data resulting from the study is available at https://doi.org/10.5281/zenodo.10997320.
sal (denoted with “(all)”) or existential (denoted with “(some)”) restrictions for object and datatype
properties. For example, pattern 4 represents a rdfs:subClassOf restriction involving a existential
constraint over a given object property. These patterns can involve property characteristics such
as owl:FunctionalProperty (denoted with “(F)”) or owl:TransitivelProperty (denoted with
“(T)”), as for example patterns 6, 9, 14 or 26 for object properties and 1 and 7 for datatype properties.
Finally, we can observe that some patterns, 2 and 26, combine the restrictions with a union of classes
instead of named classes.
qualified cardinality (denoted with “(X..Y)”) or qualified cardinality (denoted with “[X..Y]”) restrictions
for object and datatype properties. For example, pattern 10 represents a rdfs:subClassOf restriction
involving a minimum non-qualified cardinality constraint over a given object property and pattern 27
represents a rdfs:subClassOf restriction involving an exact qualified cardinality constraint over a
given object property. Equally to the previous case, these patterns can involve property characteristics,
ns:Class1
(some) ns:ObjectProperty1
ns:Class2
ns:Class1
(all) ns:ObjectProperty1
ns:Class2
ns:Class1
(some) (F) ns:ObjectProperty1
ns:Class2
ns:Class1
as, for example, pattern 31 that represents an exact non-qualified cardinality over a given datatype
property.</p>
      <p>Figure 5 depicts the patterns stemming from a rdfs:subClassOf declaration followed by nested
universal or existential restrictions for object properties. In all the cases the properties involved in the
restrictions are functional properties and it can be observed that for patterns 19 and 21 the last nested
ns:Class1
(all) (T) ns:ObjectProperty1</p>
      <p>ns:Class2
ns:Class1
(all) (T) ns:ObjectProperty1
⨆
ns:Class2
ns:Class3
ns:Class1
ns:Class1
ns:Class1</p>
    </sec>
    <sec id="sec-5">
      <title>5. Conclusions and future work</title>
      <p>This work has shown the degree of reuse between ontologies in the building domain, which is quite
low; however, the reasons for this are not explored in detail. In addition, regarding the observed reuse,
it should be analysed whether it corresponds to references to other domains.</p>
      <p>On the one hand, and in line with the low level of soft reuse between ontologies, we have observed
that there are no specific domain patterns between the ontologies. However, this conclusion could be
due to the fact that this study compares URIs rather than labels of concepts. In this sense, future lines
of work include reproducing the study considering labels and annotations or even running ontology
matching algorithms before searching for patterns.</p>
      <p>On the other hand, we have extracted 35 general patterns that answer, in a graphical way, how much
OWL knowledge is needed to understand the analysed ontologies. In addition, a patterns library for
Chowlk has been developed to facilitate the reuse of such patterns.</p>
      <p>During this process two valuable lessons have been learnt about pattern generation using the Chowlk
notation. First, we have detected one case of an OWL structure (pattern 32) that is currently not
supported by the notation, which implies an impact in the notation that should be extended. Second,
we observed that the process of extracting patterns does not take into account whether the involved
object and datatype properties have domain or range defined, information that is needed to generate
the Chowlk visualisations. At this point, we arbitrarily decided to draw the patterns using the notation
for domain and range definition for this version; however, it is planned for the next version to keep
track of that information at the structure level.</p>
    </sec>
    <sec id="sec-6">
      <title>Acknowledgments</title>
      <p>This work has been supported by Horizon 2020 research and innovation programme under grant
agreements no. 958310 (COGITO) and 101016854 (AURORAL) and by the Madrid Government (Comunidad
de Madrid-Spain) under the Multiannual Agreement with the Universidad Politécnica de Madrid in
the Excellence Programme for University Teaching Staf, in the context of the V PRICIT (Regional
Programme of Research and Technological Innovation).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>M.</given-names>
            <surname>Fernández-López</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Poveda-Villalón</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. C.</given-names>
            <surname>Suárez-Figueroa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Gómez-Pérez</surname>
          </string-name>
          ,
          <article-title>Why are ontologies not reused across the same domain?</article-title>
          ,
          <source>Journal of Web Semantics</source>
          <volume>57</volume>
          (
          <year>2019</year>
          )
          <article-title>100492</article-title>
          . URL: https://www.sciencedirect.com/science/article/pii/S1570826818300726. doi:https://doi.org/ 10.1016/j.websem.
          <year>2018</year>
          .
          <volume>12</volume>
          .010.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>M.</given-names>
            <surname>Poveda-Villalón</surname>
          </string-name>
          ,
          <article-title>A reuse-based lightweight method for developing linked data ontologies and vocabularies</article-title>
          , in: Extended Semantic Web Conference, Springer,
          <year>2012</year>
          , pp.
          <fpage>833</fpage>
          -
          <lpage>837</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>G.-Q.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. R.</given-names>
            <surname>Kamdar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Tudorache</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. A.</given-names>
            <surname>Musen</surname>
          </string-name>
          ,
          <article-title>A systematic analysis of term reuse and term overlap across biomedical ontologies</article-title>
          ,
          <source>Semant. Web</source>
          <volume>8</volume>
          (
          <year>2017</year>
          )
          <fpage>853</fpage>
          -
          <lpage>871</lpage>
          . doi:https://doi. org/10.3233/SW-160238.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>A.</given-names>
            <surname>Gangemi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Presutti</surname>
          </string-name>
          ,
          <article-title>Ontology design patterns</article-title>
          , in: Handbook on ontologies, Springer,
          <year>2009</year>
          , pp.
          <fpage>221</fpage>
          -
          <lpage>243</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>S.</given-names>
            <surname>Chávez-Feria</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>García-Castro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Poveda-Villalón</surname>
          </string-name>
          ,
          <article-title>Chowlk: from UML-Based Ontology Conceptualizations to OWL</article-title>
          , in: P. Groth,
          <string-name>
            <surname>M.-E. Vidal</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          <string-name>
            <surname>Suchanek</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Szekley</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Kapanipathi</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Pesquita</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          <string-name>
            <surname>Skaf-Molli</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          Tamper (Eds.),
          <source>The Semantic Web</source>
          , Springer International Publishing, Cham,
          <year>2022</year>
          , pp.
          <fpage>338</fpage>
          -
          <lpage>352</lpage>
          . doi:https://doi.org/10.1007/978-3-
          <fpage>031</fpage>
          -06981-9_
          <fpage>20</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>M.</given-names>
            <surname>Poveda-Villalón</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. C.</given-names>
            <surname>Suárez-Figueroa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Gómez-Pérez</surname>
          </string-name>
          ,
          <article-title>The landscape of ontology reuse in linked data</article-title>
          ,
          <source>in: Proceedings Ontology Engineering in a Data-driven World (OEDW 2012)</source>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>G. F.</given-names>
            <surname>Schneider</surname>
          </string-name>
          ,
          <article-title>Automated ontology matching in the architecture, engineering and construction domain-a case study</article-title>
          ,
          <source>in: Proceedings of the 7th Linked Data in Architecture and Construction Workshop (LDAC)</source>
          , volume
          <volume>2389</volume>
          , CEUR-WS. org Lisbon, Portugal,
          <year>2019</year>
          , pp.
          <fpage>35</fpage>
          -
          <lpage>49</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>N.</given-names>
            <surname>Matentzoglu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Bail</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Parsia</surname>
          </string-name>
          ,
          <article-title>A snapshot of the owl web</article-title>
          , in: H.
          <string-name>
            <surname>Alani</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          <string-name>
            <surname>Kagal</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Fokoue</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Groth</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Biemann</surname>
            ,
            <given-names>J. X.</given-names>
          </string-name>
          <string-name>
            <surname>Parreira</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          <string-name>
            <surname>Aroyo</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          <string-name>
            <surname>Noy</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Welty</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          Janowicz (Eds.),
          <source>The Semantic Web - ISWC 2013</source>
          , Springer Berlin Heidelberg, Berlin, Heidelberg,
          <year>2013</year>
          , pp.
          <fpage>331</fpage>
          -
          <lpage>346</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>B.</given-names>
            <surname>Glimm</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Hogan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Krötzsch</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Polleres</surname>
          </string-name>
          , Owl:
          <article-title>Yet to arrive on the web of data?</article-title>
          ,
          <source>arXiv preprint arXiv:1202.0984</source>
          (
          <year>2012</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>L.</given-names>
            <surname>Asprino</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V. A.</given-names>
            <surname>Carriero</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Presutti</surname>
          </string-name>
          ,
          <article-title>Extraction of common conceptual components from multiple ontologies</article-title>
          ,
          <source>in: Proceedings of the 11th on Knowledge Capture Conference</source>
          ,
          <year>2021</year>
          , pp.
          <fpage>185</fpage>
          -
          <lpage>192</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>P.-Y. Vandenbussche</surname>
            ,
            <given-names>G. A.</given-names>
          </string-name>
          <string-name>
            <surname>Atemezing</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Poveda-Villalón</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          <string-name>
            <surname>Vatant</surname>
          </string-name>
          ,
          <article-title>Linked Open Vocabularies (LOV): a gateway to reusable semantic vocabularies on the Web, Semantic Web 8 (</article-title>
          <year>2017</year>
          )
          <fpage>437</fpage>
          -
          <lpage>452</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>