<!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>OPLaX: annotating ontology design patterns at conceptual and instance level∗</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Luigi Asprino</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Valentina Anita Carriero</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Christian Colonna</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Valentina Presutti</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>ISTC-CNR</institution>
          ,
          <addr-line>Rome</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>University of Bologna</institution>
          ,
          <addr-line>Bologna</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>In this paper, we present OPLaX, a language for annotating ontology design patterns (ODPs) in ontologies and knowledge graphs, which reuses and extends existing languages. This language allows an ontology designer to annotate ODPs implemented in ontologies, to relate these ODPs to the abstract modelling problems they are addressing (named conceptual components), and to link the ODPs with their instantiations in a knowledge graph (pattern instances). Moreover, we showcase its usefulness by means of 3 real-world use cases.</p>
      </abstract>
      <kwd-group>
        <kwd>ontology design patterns</kwd>
        <kwd>patterns annotation</kwd>
        <kwd>conceptual components</kwd>
        <kwd>pattern instances</kwd>
        <kwd>linked data visualization</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Ontology Design Patterns are increasingly widespread among ontologies and
knowledge graphs. Pattern-based design has become a consolidated practice for
guaranteeing good quality ontology engineering (see [
        <xref ref-type="bibr" rid="ref3 ref4">3, 4</xref>
        ]): it enables the
modular design of ontologies, it favors the reuse of ontology design patterns and it
streamlines the ontology building process. Ontologies are often used as moulds
for constructing knowledge graphs (e.g. [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]), therefore ontology design patterns
(ODPs) can provide meaningful views over the data of such knowledge graphs.
The need of a shared language for annotating ontology design patterns used in
ontologies and knowledge graphs has been recognized [
        <xref ref-type="bibr" rid="ref13 ref6">6, 13</xref>
        ], leading to some
useful proposals, such as OPLa and the CP annotation schema [
        <xref ref-type="bibr" rid="ref11 ref13">13, 11</xref>
        ], and
some tool support [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ].
      </p>
      <p>
        Our experience in ontology pattern discovery [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], pattern-based visualization
of knowledge graphs [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] and the ArCo project [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] showed that at least two
requirements are not yet addressed by the existing pattern annotation languages: (i) to
indicate, at a more abstract level, a reference frame (i.e. a conceptual component )
addressed by an annotated ODP (see the paragraph Conceptual component in
Section 2); (ii) to annotate the data that instantiate an ODP. To address these
requirements, we developed an extension of OPLa [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ], called OPLaX (Ontology
∗Copyright © 2021 for this paper by its authors. Use permitted under Creative
Commons License Attribution 4.0 International (CC BY 4.0).
      </p>
      <p>Pattern Language eXtended). OPLaX provides ontology designers with a
language for annotating ontology design patterns at both pattern, conceptual
component, and instance level. OPLaX includes, extends and is aligned with OPLa
and CP annotation schema, thus providing a novel and integrated model for
annotating ontology design patterns in ontologies and knowledge graphs (KGs).</p>
      <p>The rest of the paper is organised as follows. Section 2 motivates why such
an extension is needed. Section 3 gives an overview over the related work. The
proposed annotation schema is presented in Section 4. Section 5 describes three
use cases demonstrating the usage of the proposed annotation model. Section 6
concludes the paper and outlines the future work.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Motivation</title>
      <p>The annotation language presented in this paper can provide a basis for
supporting di erent ontology engineering tasks: (i) an ontology designer may need
to annotate ontology design patterns implemented in her ontology, or existing
ontologies, in order to support ontology understanding, reuse and
interoperability; (ii) an ontology designer may need to annotate an ontology (design pattern)
with respect to all the facts that ontology (design pattern) addresses, regardless
of speci c OWL implementations as ODPs, enabling ontology understanding
and comparison at a more abstract level; (iii) a knowledge graph engineer may
need to annotate a knowledge graph, containing triples generated according to
an ontology, with respect to the patterns implemented within the ontology, in
order to e.g. visualize the KG with a modular and pattern-based view for easing
its inspection (linked data visualization).</p>
      <p>
        Pattern. A pattern-based ontology design is focused on the reuse (or creation,
when needed) of ontology design patterns as small reusable components to
integrate in an ontology, as e.g. in eXtreme Design methodology [
        <xref ref-type="bibr" rid="ref4 ref5">5, 4</xref>
        ]. Either an
ontology is modelled following this approach since the beginning of the
development, or an ontology designer may refactor her ontology by reusing existing
ODPs. An ontology can also implicitly reuse patterns, e.g. by de ning two
relations isPartOf and hasPart, which are compatible with the Part of 3 ODP.
Annotating patterns (re)used within an ontology eases the process of
understanding and exploring an ontology e.g. for the purpose of ontology reuse: it makes
explicit which groups of ontology entities are members of an ODP addressing
a speci c modelling issue, and it allows to represent relations (e.g. hierarchical)
between di erent implemented ODPs. Moreover, annotations support the
identi cation of ontology alignments, thus improving the interoperability between
ontologies reusing the same patterns.
      </p>
      <p>Conceptual component. An ontology design pattern provides an ontology
designer with a small OWL ontology to reuse and integrate in her ontology for</p>
      <sec id="sec-2-1">
        <title>3http://ontologydesignpatterns.org/wiki/Submissions:PartOf</title>
        <p>
          addressing a speci c modelling problem. Therefore, an ODP is a particular
implementation of a modelling solution to a modelling problem. However, the same
modelling problem could be addressed by di erent ODPs4, i.e. di erent
implementations. Let us consider the modelling problem \an object being located at
a place": it can be implemented e.g. (i) as a binary relation hasLocation
between an Object and a Place, or (ii) as an n-ary relation Location between the
arguments Time, Object and Place. Therefore, (i) and (ii) are two ODPs that
address, in di erent ways and with di erent levels of expressivity, the modelling
problem of an object that is located somewhere. Two ontologies may reuse (i)
and (ii), respectively: even if with di erent implementations, they address the
same modelling problem. As proposed in [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ], we can call these abstract
relational structures, implemented by means of ODPs, conceptual components. An
ontology can be seen as a composition of conceptual components. Annotating
ontologies with conceptual components, and relating an OWL implementation
to the conceptual component it implements, would ease the exploration of, and
the interoperability between, ontologies at a more abstract level.
Pattern instance. Ideally, to each existing ontology corresponds one (or more
than one) knowledge graph that contains triples that are modelled according to
that ontology { and possibly other ontologies. The ontology may also (re)use
ontology design patterns, thus the KG modelled according to the ontology will
possibly contain instances of that pattern. A pattern instance is a collection of ABox
triples, whose members are individuals and relations that comply with the
ontology design pattern structure. For instance, given the pattern Part of 3, which
de nes two inverse properties hasPart and isPartOf with Thing as both domain
and range, an instance of this pattern may be represented by the set of the 4
following triples: (i) :whole :hasPart :part 1, (ii) :whole :hasPart :part 2,
(iii) :part 1 :isPartOf :whole, and (iv) :part 2 :isPartOf :whole.
Annotating sets of instances with respect to the ODPs according to which they are
represented, allows us to create new interesting applications, such as supporting
a pattern-based exploration of KGs.
3
        </p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Related work</title>
      <p>
        OPLa. In [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ], the authors propose a simple and extendable language for
representing information about ontology design patterns (ODPs) and the
corresponding modelling process, through the use of OWL annotation properties.
Some relevant competency questions addressed by OPLa are: (i) which patterns
a module of an ontology is based on; (ii) which classes, properties, individuals
and axioms belong to a pattern (or module); (iii) which modules an ontology
consists of; (iv) is a pattern (or module) a specialization or generalization of a
pattern (or module). Speci cally, an entity that is an Individual, a Property,
4A relation between two ODPs (e.g. an ODP that is a specialization of another
ODP) does not imply that the two ODPs implement the same conceptual component.
a Class or an Axiom is an OntologicalEntity. The property isNativeTo
indicates that an ontological entity is member of an OntologicalCollection (see
(ii)). This concept is further speci ed in Ontology, Module (intended as an
ontology part capturing a conceptual area of the domain) and Pattern. A module
can be native to an ontology (see (iii)), and an ontological collection can be
annotated with reusesPatternAsTemplate for indicating the reused ODPs (see
(i)). Finally, relations between patterns and modules are expressed via
properties such as hasRelatedPattern, generalizationOfPattern, or
specializationOfModule (see (iv)).
      </p>
      <p>
        CP annotation schema. The ODP Portal 5 is a repository for collecting
Ontology Design Patterns. A Content Pattern, i.e. an ODP addressing content
modelling problems, needs to be annotated with the CP annotation schema6 in
order to be submitted to the Portal. This schema de nes a set of OWL annotation
properties that feed the information elds of each catalogue entry and that can
be exploited by Semantic Web applications [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ], and allow an ontology designer
to describe an ODP by specifying: (i) its intent, i.e. the generic scope addressed
by the pattern; (ii) the requirement(s) the pattern provides a solution for; (iii)
scenarios, as examples of instantiation of the pattern; (iv) its consequences, as
bene ts or possible trade-o s when using the pattern; (v) relations between
patterns (specialization, generalization, componency); (vi) unit tests to evaluate
it against a requirement-based task; (vii) ontologies or concept schemas which
the pattern was extracted or reengineered from.
      </p>
      <p>
        The current versions of OPLa and CP annotation schema are not able to
represent the relations between a pattern and its abstract counterpart (conceptual
component), and between a pattern and its instances.
[
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] proposes a reorganisation of OPLa and CP annotation schema, with some
changes and extensions, into 3 namespaces7: opla-core for storing the OPLa
original annotations; opla-cp, adapted from the CP annotation schema;
oplasd, with new annotation properties possibly needed by tools supporting modular
graphical ontology modelling (coordinates of a node in a schema diagram).
      </p>
      <p>
        GO-FOR. [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] introduces GO-FOR, a Goal-Oriented Framework for
Ontology Reuse, which aims at supporting a pattern-based and goal-oriented reuse of
ontologies. Its basic element is a goal-oriented ontology pattern (GOOP): an
ontology fragment bound to a goal, intended as the scope addressed by the pattern.
Existing GOOPs are stored in a dedicated repository integrated in the
GOOPHUB8. Based on their goals, GOOPs can be related by part-of relationships.
The GOOP OWL metamodel9, besides deriving from OWL the Class,
ObjectProperty and DatatypeProperty for representing the constructs that a GOOP
can consist of, de nes the class Goal, which is further speci ed by AtomicGoal
      </p>
      <sec id="sec-3-1">
        <title>5http://www.ontologydesignpatterns.org</title>
        <p>6http://www.ontologydesignpatterns.org/schemas/cpannotationschema.owl
7https://github.com/cogan-shimizu/Extended-OPLa
8https://github.com/nemo-ufes/goophub
9https://github.com/nemo-ufes/goophub/blob/master/src/main/resources/
goop-meta-model.owl
and ComplexGoal. A complex goal is composed of other goals by either OR
decomposition (at least one subgoal needs to be satis ed) or AND decomposition
(all subgoals are to be satis ed). Moreover, a goal is related to the Actor that
wants to achieve it.</p>
        <p>The concept of goal of a pattern in GO-FOR is similar to the concept of intent
in the CP annotation schema. While GOOP metamodel allows the pattern
designer to specify subgoals of complex goals, thus determining part-of relations
between patterns, in OPLa and CP annotation schema the composition,
specialization and generalization relations are expressed at the level of patterns. Search
for patterns in GOOPR can be based on goals and speci c actors (e.g. doctor,
researcher), while the patterns of the ODP Portal are grouped based on their
domain (e.g. multimedia, time). Like the previous ones, this metamodel focuses
only on the pattern level.</p>
        <p>
          OTTR. [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ] presents the Reasonable Ontology Templates (OTTRs): OWL
ontology macros able to represent ontology design patterns. By de ning OTTRs,
it is possible to formalize and instantiate ontology design patterns. An OTTR T
is a parametrised ontology that can be instantiated providing arguments that t
the parameters of the template. T is formalised as a knowledge base OT together
with a list of parameters (p1; :::; pn) of concepts, roles or individuals from OT .
Given a list (q1; :::; qn) of constants, concepts or role expressions called
arguments, T (q1; :::; qn) represents a template instance, as a shorthand to represent
an occurrence of a pattern. De ned OTTRs can also be specialised for speci c
domains. Moreover, speci c templates can be de ned for generating instances
of a modelled pattern. As OTTRs are expressed in a speci c syntax (stOTTR),
the authors developed a tool10 that converts OTTR templates into regular OWL
ontologies. These templates aim at automatizing ODP-based ontology
engineering and supporting interoperability between ontologies using the same or related
templates. Moreover, it uses the concept of pattern instance that we introduce
the extension of OPLa ontology. As a drawback, de ning and maintaining
templates may result to be expensive, and to hardly support changes in already
de ned ODPs.
4
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>OPLaX</title>
      <p>OPLaX11;12 (Ontology Pattern Language eXtended) aims at providing the
ontology designers with a language for annotating ontology design patterns at
both pattern, conceptual component, and pattern instance level (see Figure 1).
OPLaX widely reuses (and is aligned with) OPLa (plain classes and properties
in the gure) and CP annotation schema (properties in italics). It introduces
some changes with respect to these two existing models, and integrates them
with speci c classes and properties (bold classes and properties) addressing the
annotations related to conceptual components and pattern instances.
10https://gitlab.com/ottr/lutra/lutra
11https://w3id.org/OPLaX/
12https://github.com/stlab-istc-cnr/OPLaX</p>
      <p>Pattern level. Classes and properties reused from OPLa allow the
ontology designer to assign speci c types to di erent :OntologicalCollections
(:Module, :Ontology, :Pattern), to relate them with the ontological entities
that are their members (:isNativeTo) and to specify componency (:component
OfPattern/Module), derivation (:derivedFromPattern/Module), specialization
(:specializationOfPattern/Module), and generalization (:generalizationOf
Pattern/Module) relations between ontological collections of the same or
different types. Moreover, it can be annotated that an :Individual, a :Class
or a :Property is used within a pattern, even if it is out of the scope of
that particular pattern (:ofExternalType). :reusesAsTemplate annotates an
ontological collection with other ontological collections reused as templates,
e.g. an ontology reusing multiple patterns as templates. Additional properties
reengineered from CP annotation schema allows to better de ne the scenario
(:addressesScenario), the intent (:hasIntent), the requirement(s) (:covers
Requirement), the consequence (:hasConsequence) and the competency
question(s) (:hasCompetencyQuestion) of an ontological collection, and to annotate
it with possible unit tests (:hasUnitTest). Moreover, it is possible to make it
explicit that an ontological collection is :extractedFrom another ontological
collection, e.g. a pattern that has been deeply or partially cloned by a reference
ontology.
Conceptual component level. In OPLaX, a :Pattern is related to the
:ConceptualComponent it implements by the annotation property :implements
ConceptualComponent. Di erent conceptual components can be related to each
other (:hasRelatedConceptualComponent): e.g. the conceptual component \a
cultural property being located at a cultural site" would be a specialization of
the more general conceptual component \an object being located at a place"
(:specializationOfConceptualComponent), and the other way around (:gen
eralizationOfConceptualComponent). A conceptual component can be
annotated with its :name (e.g. locating), and a more detailed :description.
Moreover, a conceptual component answers to a number of competency questions
(:hasCompetencyQuestion), e.g. where is an object? for the component
locating. Finally, a conceptual component has a :Domain (:hasDomain): for instance,
a conceptual component Paper award and a conceptual component Submitting
paper would be in the Conference domain.</p>
      <p>Pattern instance level. An instance of a :Pattern, i.e. an entity of type
:PatternInstance, is related to the pattern it instantiates by the annotation
property :isPatternInstanceOf. All the individuals that are members of a
pattern instance are annotated with the property :isMemberOfPatternInstance,
so that, by retrieving all individuals related to a pattern instance by means of
this property, it is possible to have the boundary of the pattern instance itself.
5</p>
    </sec>
    <sec id="sec-5">
      <title>Use cases</title>
      <p>In this section, we discuss three real-world use cases in which OPLaX has been
used in practice and has proved useful.
5.1</p>
      <sec id="sec-5-1">
        <title>ArCo ontology network</title>
        <p>
          ArCo13 (Architecture of Knowledge) is the Italian cultural heritage (CH)
knowledge graph (KG), consisting of a network of ontologies and facts on Italian
cultural properties, based on the o cial General Catalogue of the Italian Ministry
of Culture (MiC) [
          <xref ref-type="bibr" rid="ref7 ref9">7, 9</xref>
          ]. ArCo knowledge graph has been developed by using the
pattern-based eXtreme Design (XD) ontology engineering methodology [
          <xref ref-type="bibr" rid="ref4 ref5">5, 4</xref>
          ].
After the requirements collection in the form of user stories { that are sets of
sentences describing by example the facts that the resulting KG should encode {
the ontology design team derives one or more competency questions (CQs) from
a generalisation of each user story. CQs are the natural language counterpart of
the queries that we want to answer against the KG, and guide the selection of
the ODPs to reuse: the ontology designer tries to match one, or a set of, CQ(s)
to existing ODPs.
        </p>
        <p>
          ArCo version 1.0 is composed of 7 ontology modules, which reuse and
specialize 12 di erent ODPs. ArCo directly reuses, i.e. it directly embeds ontology
entities in the local ontology, only two ontologies that are considered reference
standards by the Italian Government and the development of which involves ArCo's
team. Instead, it indirectly reuses other ontologies and ontology design patterns:
these are used as templates, i.e. they are reproduced (and possibly extended)
in the local ontology, and aligned with rdfs:subClassOf/subPropertyOf and
owl:equivalentClass/equivalentProperty axioms [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ]. However, alignment
axioms allow to support interoperability by making it explicit a correspondence
between single ontology entities.
(a) The property :reusesAsTemplate relates the arco module to the Componency ODP
reused over the module. The property :specializationOfPattern expresses the
specialization relation between the pattern Cultural Property Component of implemented
in the module and the ODP Componency.
(b) The annotation property :isNativeTo relates the object properties and the classes
of the Cultural Property Component of ODP to the ODP itself.
        </p>
        <p>Fig. 2: An example of a specialized ODP annotated with OPLaX.
OPLaX allows an ontology designer to annotate all the ontology entities that are
members of an ODP, and to generate correspondences between di erent
ontologies at a pattern level. An example of ODP specialization and annotation through
OPLaX in ArCo is shown in Figure 2. Over the arco ontology module, the ODP
Componency14 is indirectly reused from the ODP Portal5: the module is
there14http://ontologydesignpatterns.org/wiki/Submissions:Componency
fore annotated with the property :reusesAsTemplate for representing the reuse
of the pattern. Speci cally, the ArCo's pattern Cultural Property Component
of 15 is a specialization of the pattern Componency, since it represents the
componency relation between a complex cultural property and its components, hence it
is annotated with the property :specializationOfPattern (see Figure 2a). For
expressing that speci c properties (e.g. arco:hasCulturalPropertyComponent)
and classes (e.g. arco:ComplexCulturalProperty) implemented in the module
belong to this specialized ODP, the annotation property :isNativeTo is used
(as in Figure 2b).
5.2</p>
      </sec>
      <sec id="sec-5-2">
        <title>Conceptual Components and ODPs catalogue from a corpus of ontologies</title>
        <p>
          [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ] presents a method able to extract conceptual components (CCs) from
multiple ontologies and the observed ontology design patterns implementing them.
This method combines community detection, word sense disambiguation, frame
detection, and clustering techniques. After a preprocessing step on the ontology
corpus, community detection is run on each ontology, splitting it into dense
communities; then, virtual documents, as bag of words disambiguated and enriched
with frames, are generated from each community, and a clustering algorithm
clusters all communities of the corpus in similar clusters, where each cluster
represents a possible conceptual component, that is automatically given a
representative name. As a result, each ontology is split into possible ontology design
patterns16, and each ontology design pattern is related to a conceptual
component. Di erent ODPs extracted from the same or from di erent ontologies will
eventually be linked to the same conceptual component, meaning that they are
addressing the same modelling issue.
        </p>
        <p>Relying on this method and starting from a corpus of ontologies, it is possible
to build a resource, a catalogue of conceptual components and observed ODPs,
that connects and organises ontologies, conceptual components and ODPs: each
conceptual component in the catalogue is linked to its associated ODPs within
the ontologies, thus the ontologies are classi ed based on the conceptual
components that they implement.</p>
        <p>
          Let us take as an example the catalogue generated from a corpus of 43
ontologies on Cultural Heritage17;18. The conceptual component named (:name)
Event (Figure 3), which represents the general modelling issue of an event, is
implemented by 21 observed ontology design patterns, coming from 13 distinct
ontologies. Each ontology design pattern is thus related to the CC Event with
the property :implementsConceptualComponent. These patterns implement the
general component at di erent levels of specialization, thus addressing di erent
15https://w3id.org/arco/pattern/cultural-property-component-of
16In this context, the notion of ODP has been relaxed: adopted modelling solutions
that can be observed in existing ontologies, regardless their correctness or quality level.
17https://stlab-istc-cnr.github.io/cc-and-odps-catalogue/
18See [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ] for more details on the corpus.
and speci c intents: for instance, a pattern extracted from the Europeana Data
Model (see the ODP at the top of Figure 3) models the general concept of an
Event that happenedAt some Place, and occurredAt a certain TimeSpan, while
Cultural-ON (see the ODP at the bottom of Figure 3) focuses on a speci c type
of event, that is CulturalEvents, which involve one or more cultural entities.
This conceptual component is also given a description (:description), that, in
this speci c case, is generated by concatenating all terms representing its
patterns. Moreover, it is associated with a manually generated generic competency
question \What happened?" by means of the property
:hasCompetencyQuestion. Di erent conceptual components are organised as a hierarchical network,
that is based on the inheritance relations between the frames detected from the
virtual documents of the patterns. For example, in Figure 3 the CC Event is
related with the property :generalizationOfConceptualComponent to the CC
Intentionally act.
        </p>
        <p>
          Pattern-based visualization of knowledge graphs
[
          <xref ref-type="bibr" rid="ref2">2</xref>
          ] describes a new approach to Knowledge Graph visualization based on
ontology design patterns. This approach relies on ODPs as rst-class citizens to
explore KGs, thus providing thematic paths that guide the exploration and
interaction with the KG. Moreover, the collection of the patterns instantiated in
a KG is useful to concisely summarize its content. A visual frame (an intuitive
standard visualization) is associated with an ODP, such that every time an ODP
is used in ontology modelling, data can be visualized by means of a reusable
visual frame. The described approach is divided into three levels of exploration
and interaction. At the rst level (ODP level ), the user sees the ODPs the KG
is shaped by and the most important concepts, namely the key concepts. At
the second level (exploration level ), all the instances of a speci c pattern are
displayed in the user interface and can be ltered. The third level (visualization
level ) presents a single instance of an ODP.
        </p>
        <p>
          The tool developed19 by [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ] relies on OPLaX annotations. In particular, at the
ODP level, OPLaX annotations related to the pattern level are used to
display the patterns in the graphical user interface. Relations between patterns
are also represented: specialization (:specializationOfPattern) and
composition (:componentOfPattern). The relation between a pattern and the key
concept(s) belonging to that pattern is annotated through the :isNativeTo
property. At the exploration level, the tool relies on the annotation property :isPat
ternInstanceOf, between a pattern instance and a pattern, to retrieve all the
instances of a pattern. The user can then browse the list of instances and select
them using prede ned lters. The visualization of a speci c pattern instance
(visualization level ) is made possible by using the property :isMemberOfPat
ternInstance, which allows to collect all the data instantiating a pattern and
to present them by means of a graphical component associated with the given
pattern.
        </p>
        <p>ODP instances identify the meaningful neighborhood for each entity to be
visualized; in other words, a visualization tool can use the instance level annotations
to identify meaningful subsets of entities of a KG to be visualized together.
Interestingly, the meaningful neighborhood of each entity is delimited by the instance
level annotations, thus avoiding the use of query templates.</p>
        <p>As in Figure 4, ex:cultural-property-component-of-instance-a is an
instance of the ArCo's ODP Cultural Property Component of, thus it is annotated
with :isPatternInstanceOf. The entities that are members of this pattern
instance { all annotated by means of the property :isMemberOfPatternInstance
{ are the complex cultural property (ex:cultural-property-b) and its two
components, i.e. ex:cultural-property-component-c and ex:cultural-prop
erty-component-d.</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>Conclusion and future work</title>
      <p>In this paper, we proposed a language for annotating ontology design patterns
(ODPs) at three levels: (i) the level of the pattern as it is implemented in an
ontology, (ii) the level of the abstract conceptual component that can be
implemented by di erent ODPs, (iii) the level of an instance of a pattern in a
knowledge graph. This language reuses (is aligned with) and extends the OPLa
annotation language and the CP annotation schema. We showcased the language
and demonstrated its usefulness by discussing three real-world use cases.</p>
      <p>In our future work, we aim at formally evaluating the proposed annotation
language with respect to existing use cases, such as the ones presented in Section
5, in order to identify possible missing classes and properties to integrate (e.g.
verifying competency questions coverage and inferences correctness).
Moreover, the annotations provided by OPLaX can be used to re ne existing
tools/plugins or to create new ones, aiming at supporting ontology developers in
their pattern-based ontology engineering activities. Indeed, we plan to develop a
tool for automatically annotating, based on OPLaX, ontology design patterns,
pattern instances and conceptual components implemented in ontologies and
knowledge graphs.</p>
      <p>Acknowledgements. This project has received funding from the European
Union's Horizon 2020 research and innovation programme under grant agreement
No 101004746.</p>
      <p>References</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Luigi</given-names>
            <surname>Asprino</surname>
          </string-name>
          et al.
          <article-title>Extraction of common conceptual components from multiple ontologies</article-title>
          .
          <year>2021</year>
          . arXiv:
          <volume>2106</volume>
          .12831 [cs.
          <source>AI].</source>
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Luigi</given-names>
            <surname>Asprino</surname>
          </string-name>
          et al.
          <source>Pattern-based Visualization of Knowledge Graphs</source>
          .
          <year>2021</year>
          . arXiv:
          <volume>2106</volume>
          .12857 [cs.HC].
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Eva</given-names>
            <surname>Blomqvist</surname>
          </string-name>
          , Aldo Gangemi, and Valentina Presutti.
          <article-title>\Experiments on pattern-based ontology design"</article-title>
          .
          <source>In: Proceedings of the 5th International Conference on Knowledge Capture (K-CAP</source>
          <year>2009</year>
          ),
          <source>September 1-4</source>
          ,
          <year>2009</year>
          , Redondo Beach, California, USA. Ed.
          <article-title>by Yolanda Gil and Natasha Fridman Noy</article-title>
          . ACM,
          <year>2009</year>
          , pp.
          <volume>41</volume>
          {
          <fpage>48</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Eva</given-names>
            <surname>Blomqvist</surname>
          </string-name>
          , Karl Hammar, and Valentina Presutti. \
          <article-title>Engineering Ontologies with Patterns - The eXtreme Design Methodology"</article-title>
          . In:
          <article-title>Ontology Engineering with Ontology Design Patterns - Foundations and Applications</article-title>
          . Vol.
          <volume>25</volume>
          .
          <article-title>Studies on the Semantic Web</article-title>
          . Amsterdam: IOS Press,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Eva</given-names>
            <surname>Blomqvist</surname>
          </string-name>
          et al. \
          <article-title>Experimenting with eXtreme Design"</article-title>
          . In:
          <article-title>Knowledge Engineering and Management by the Masses</article-title>
          .
          <article-title>EKAW 2010 (Lisbon, Portugal)</article-title>
          . Vol.
          <volume>6317</volume>
          . Lecture Notes in Computer Science. Springer, Berlin, Heidelberg,
          <year>2010</year>
          , pp.
          <volume>120</volume>
          {
          <fpage>134</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Eva</given-names>
            <surname>Blomqvist</surname>
          </string-name>
          et al. \
          <article-title>Considerations regarding Ontology Design Patterns"</article-title>
          .
          <source>In: Semantic Web 7.1</source>
          (
          <issue>2016</issue>
          ), pp.
          <volume>1</volume>
          {
          <fpage>7</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>Valentina</given-names>
            <surname>Anita</surname>
          </string-name>
          Carriero et al. \
          <article-title>ArCo: The Italian Cultural Heritage Knowledge Graph"</article-title>
          .
          <source>In: The Semantic Web - ISWC 2019 - 18th International Semantic Web Conference</source>
          , Auckland, New Zealand,
          <source>October 26-30</source>
          ,
          <year>2019</year>
          , Proceedings,
          <string-name>
            <surname>Part II</surname>
          </string-name>
          . Vol.
          <volume>11779</volume>
          . Lecture Notes in Computer Science. Springer,
          <year>2019</year>
          , pp.
          <volume>36</volume>
          {
          <fpage>52</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Valentina</given-names>
            <surname>Anita</surname>
          </string-name>
          Carriero et al. \
          <article-title>The Landscape of Ontology Reuse Approaches"</article-title>
          .
          <source>In: Applications and Practices in Ontology Design, Extraction, and Reasoning</source>
          . Vol.
          <volume>49</volume>
          .
          <article-title>Studies on the Semantic Web</article-title>
          . Amsterdam: IOS Press,
          <year>2020</year>
          , pp.
          <volume>21</volume>
          {
          <fpage>38</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>Valentina</given-names>
            <surname>Anita</surname>
          </string-name>
          Carriero et al. \
          <article-title>Pattern-based design applied to cultural heritage knowledge graphs"</article-title>
          .
          <source>In: Semantic Web 12.2</source>
          (
          <issue>2021</issue>
          ), pp.
          <volume>313</volume>
          {
          <fpage>357</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>Aldo</given-names>
            <surname>Gangemi</surname>
          </string-name>
          and
          <string-name>
            <given-names>Valentina</given-names>
            <surname>Presutti</surname>
          </string-name>
          . \
          <article-title>Ontology Design Patterns"</article-title>
          . In: Handbook on Ontologies.
          <source>International Handbooks on Information Systems</source>
          . Springer,
          <year>2009</year>
          , pp.
          <volume>221</volume>
          {
          <fpage>243</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Quinn</surname>
            <given-names>Hirt</given-names>
          </string-name>
          , Cogan Shimizu, and Pascal Hitzler. \
          <article-title>Extensions to the Ontology Design Pattern Representation Language"</article-title>
          .
          <source>In: Proceedings of the 10th Workshop on Ontology Design and Patterns (WOP</source>
          <year>2019</year>
          )
          <article-title>co-located with 18th International Semantic Web Conference (ISWC</article-title>
          <year>2019</year>
          ), Auckland, New Zealand,
          <source>October</source>
          <volume>27</volume>
          ,
          <year>2019</year>
          . Vol.
          <volume>2459</volume>
          . CEUR Workshop Proceedings. CEUR-WS.org,
          <year>2019</year>
          , pp.
          <volume>76</volume>
          {
          <fpage>75</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <surname>Quinn</surname>
            <given-names>Hirt</given-names>
          </string-name>
          , Cogan Shimizu, and Pascal Hitzler. \
          <article-title>Extensions to the Ontology Design Pattern Representation Language"</article-title>
          .
          <source>In: Proceedings of the 10th Workshop on Ontology Design and Patterns (WOP</source>
          <year>2019</year>
          )
          <article-title>co-located with 18th International Semantic Web Conference (ISWC</article-title>
          <year>2019</year>
          ), Auckland, New Zealand,
          <source>October</source>
          <volume>27</volume>
          ,
          <year>2019</year>
          . Vol.
          <volume>2459</volume>
          . CEUR Workshop Proceedings. CEUR-WS.org,
          <year>2019</year>
          , pp.
          <volume>76</volume>
          {
          <fpage>75</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>Pascal</given-names>
            <surname>Hitzler</surname>
          </string-name>
          et al. \
          <article-title>Towards a Simple but Useful Ontology Design Pattern Representation Language"</article-title>
          .
          <source>In: Proceedings of the 8th Workshop on Ontology Design and Patterns (WOP</source>
          <year>2017</year>
          )
          <article-title>co-located with the 16th International Semantic Web Conference (ISWC</article-title>
          <year>2017</year>
          ), Vienna, Austria, October
          <volume>21</volume>
          ,
          <year>2017</year>
          . Vol.
          <year>2043</year>
          . CEUR Workshop Proceedings. CEUR-WS.org,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>Cassio</given-names>
            <surname>Reginato</surname>
          </string-name>
          et al. \
          <article-title>GO-FOR: A Goal-Oriented Framework for Ontology Reuse"</article-title>
          .
          <source>In: 2019 IEEE 20th International Conference on Information Reuse</source>
          and
          <article-title>Integration for Data Science (IRI)</article-title>
          .
          <source>IEEE</source>
          .
          <year>2019</year>
          , pp.
          <volume>99</volume>
          {
          <fpage>106</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <surname>Cogan</surname>
            <given-names>Shimizu</given-names>
          </string-name>
          , Quinn Hirt, and Pascal Hitzler.
          <article-title>\A Protege Plug-In for Annotating OWL Ontologies with OPLa"</article-title>
          . In: The Semantic Web:
          <article-title>ESWC 2018 Satellite Events - ESWC 2018 Satellite Events</article-title>
          , Heraklion, Crete, Greece, June 3-7,
          <year>2018</year>
          , Revised Selected Papers. Ed.
          <article-title>by Aldo Gangemi et al</article-title>
          . Vol.
          <volume>11155</volume>
          . Lecture Notes in Computer Science. Springer,
          <year>2018</year>
          , pp.
          <volume>23</volume>
          {
          <fpage>27</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <surname>Martin G Skj</surname>
          </string-name>
          veland et al. \
          <article-title>Pattern-based ontology design and instantiation with reasonable ontology templates"</article-title>
          .
          <source>In: A Higher-Level View of Ontological Modeling</source>
          (
          <year>2019</year>
          ), p.
          <fpage>69</fpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>