<!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>A pattern-based ontology for the Internet of Things</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Aldo Gangemi</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ra aele Lillo</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Giorgia Lodi</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Andrea Giovanni Nuzzolese</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Valentina Presutti</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Digital Transformation Team, Italian Government</institution>
          ,
          <addr-line>Rome</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>LIPN, Universite Paris 13</institution>
          ,
          <addr-line>Sorbone Cite, UMR CNRS</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Semantic Technology Laboratory, ISTC-CNR</institution>
          ,
          <addr-line>Rome</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>The Internet of Things (IoT) is about inter-networking real word objects in order to foster data exchange and communication among things. In this work we present the IoT Application Pro le (IoT-AP) ontology with a particular focus on the pattern-based design methodology used for modelling the ontology. In recent years a lot of research has been carried out for realising a novel paradigm known as the Internet of Things (IoT). Basically, the IoT is about inter-networking real word objects (i.e. things), such as vehicles, roads, buildings, etc. The inter-networking is realised by providing those things with sensors, actuators, and network connectivity for enabling data production and exchange. Nevertheless, the enhancement of real word objects with intelligent behaviours is still challenging. In this paper we present an ontology, named the IoT Application Pro le (IoT-AP) ontology, for representing and modelling the knowledge within the domain of the Internet of Things. The focus of the paper is mainly on the Ontology Design Patterns re-used for modelling the ontologies and on the design methodology. The ontology is part of a wider ontology network, which has been designed in the context of a project founded by the Italian Government aimed at providing a big data framework for dealing with the Open Data coming from the Italian Public Administration (PA). The rest of the paper is organised as follows. Section 2 presents the related work, Section 3 presents the IoT-AP ontology, Section 4 presents a usage scenario. Finally, Section 5 presents the conclusions and future work.</p>
      </abstract>
      <kwd-group>
        <kwd>internet of things</kwd>
        <kwd>ontology design patterns</kwd>
        <kwd>ontology re-use</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        The main considerable e ort to o er a comprehensive ontology for the IoT is
the Semantic Sensor Network ontology4 [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] (SSN), which is currently a W3C
? Corresponding author: andrea.nuzzolese@istc.cnr.it
4 https://www.w3.org/TR/vocab-ssn/
candidate recommendation. SSN is built on top of the the SOSA ontology5 and
describes sensors and their observations, the involved procedures, the studied
features of interest, the samples used to do so, and the observed properties, as well
as actuators. More recently, the IoT-Lite ontology6, a W3C member submission,
is aimed at instantiating and extending the SSN ontology by introducing three
distinct concepts belonging to the IoT domain, i.e. objects, systems or resources
and services. Our solutions is inspired by the IoT and SSN ontologies. However,
we cannot directly re-use those ontologies as (i) both are still unstable being not
W3C recommendations yet, (ii) we have a soft requirement that encourages us
to design self-contained ontologies in order to avoid dependencies with external
ontologies that might evolve separately, thus, introducing inconsistencies.
3
      </p>
    </sec>
    <sec id="sec-2">
      <title>Ontology overview</title>
      <p>In next sub-sections we present the design methodology used and the resulting
IoT-AP ontology.
3.1</p>
      <sec id="sec-2-1">
        <title>Design Methodology</title>
        <p>
          IoT-AP is designed by following best design practices and pattern-based ontology
engineering aimed at extensively re-using Ontology Design Patterns (ODPs) [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]
for modelling ontologies. The design methodology that we followed is based on an
extension [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ] of the eXtreme Design [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ], an agile design methodology developed in
the context of the NeON project7. Such an extension mainly focuses on providing
ontology engineer with clear strategies for ontology re-use. According to the
guidelines provided by [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ], we adopted the indirect re-use. This means that ODPs
are used as templates. At the same time, the ontology guarantees interoperability
by keeping the appropriate alignments with the external ODPs, and provides
extensions that satisfy more speci c requirements.
        </p>
      </sec>
      <sec id="sec-2-2">
        <title>3.2 IoT-AP ontology</title>
        <p>5 https://www.w3.org/2015/spatial/wiki/SOSA_Ontology
6 https://www.w3.org/Submission/2015/SUBM-iot-lite-20151126/
7 http://www.neon-project.org/nw/.
8 http://ontologydesignpatterns.org/wiki/Submissions:TimeIndexedSituation
9 http://ontologydesignpatterns.org/wiki/Submissions:Observation
A pattern-based ontology for the Internet of Things
calculating a value of an attribute of a feature of interest at a speci c time.
Additionally, an observation can be associated with an instance of the class Geometry,
which identi es a location as a point, line, polygon, etc., and is expressed by
using coordinates in some coordinate reference system. This class Sensor is
declared as subclass of dul:Object and represents a sensor. A sensor is a device
whose purpose is to detect and respond to events or changes in its environment.
The detected information can be used and disseminated for successive
elaborations. Individuals of the class Sensor are associated with individuals of the class
Observation by means of the object property makesObservation. An
observation can be associated with an ObservationParameter by means of the object
property hasObservationParameter. The class ObservationParameter
represents a property or a characteristic of a feature of interest under observation.
For instance, if we say that the temperature of the kitchen is 28 degrees
celsius, the observed parameter is the temperature. Additionally, an Observation
can be associated with a MeasurementQuality. The class MeasurementQuality
is declared as subclass of dul:Quality and expresses quality parameters or
measurement capabilities of an observation. Examples include latency, accuracy,
repeatability, etc. We re-used the Region ODP10 to represent and reason on
values of attributes of MeasuramenteQuality and Observation. Hence, the object
property hasObservationValue links individuals of the class Observation to
individuals of the class ObservationValue and the object property
hasMeasurementQualityValue links individuals of the class MeasurementQualityValue.
The classes ObservationValue and MeasurementQualityValue represent
values for observations and measurement quality, respectively. Additionally, both
classes are declared as subclasses of Value, which, in turn, is subclass of
dul:Region. Collections of observations made by a sensor can be represented by
instantiating the class ObservationCollection. The conceptualisation around
ObservationCollection is obtained by re-using the Collection11 ODP. Hence,
ObservationCollection is subclass of dul:Collection and is associated with
the class Observation by means of the object property consistOf. The IoT-AP
ontology is aligned with DOLCE Ultra-Light and the Semantic Sensor Network
(SSN) ontology. The alignments with these two ontologies are kept in a separate
OWL le. Both the core IoT-AP ontology and the OWL le with the alignments
are available online12. The HTML documentation is available via LODE13.
4</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Usage scenario</title>
      <p>The following RDF triples, serialised as TURTLE, provide a usage example of
the IoT-AP ontology. These triples come from real tra c data provided us by
an organisation part of the Italian Public Administration.</p>
      <p>:sensor a iotap:Sensor;</p>
      <p>iotap:makesObservation :observation .
:observation a iotap:Observation;
iotap:hasFeatureOfInterest :a1_Calenzano-SestoFiorentino;
iotap:atTime :observation_time;
iotap:hasObservationParameter :average_speed;
iotap:hasObservatiobValue :average_speed_value .
:a1_Calenzano-SestoFiorentino a iotap:FeatureOfInterest;</p>
      <p>rdfs:label "A1 road segment between Calenzano and Sesto Fiorentino".
:observation_time a iotap:TimeInterval;
iotap:startTime "2017-07-27T23:12:00+02:00"^^xsd:dateTime;
iotap:endTime "2017-07-28T01:54:00+02:00"^^xsd:dateTime .
10 http://ontologydesignpatterns.org/wiki/Submissions:Region
11 http://ontologydesignpatterns.org/wiki/Submissions:Collection
12 IoT-AP: http://stlab.istc.cnr.it/IoT-AP/IoT-AP.rdf - alignments: http://
stlab.istc.cnr.it/IoT-AP/IoT-AP-aligns.rdf
13 https://goo.gl/MFggc4
:average_speed a iotap:ObservationParameter;</p>
      <p>rdfs:label "Average speed" .
:average_speed_value a iotap:ObservationValue;
value "65";
iotap:hasMeasuramentUnit :kilometres_per_hour .
:kilometres_per_hour a iotap:MeasurementUnit;
rdfs:label "Kilometres per hour" .</p>
      <p>The individual :sensor represents the sensor who makes the observation
identi ed by the individual :observation. This observation is about the average
speed observed by the sensor during the time interval identi ed by
:observation time on the road segment of the A1 motorway between the cities of
Calenzano and Sesto Fiorentino (i.e. the feature of interest identi ed by the
individual :a1 Calenzano-SestoFiorentino). The value associated with the
observation (i.e. the individua :average speed value) allows to say that the
observed average speed is 65 Km/h.
5</p>
    </sec>
    <sec id="sec-4">
      <title>Conclusion and future work</title>
      <p>This paper proposes an ontology for the Internet of Things, namely the IoT-AP
ontology. The focus of the paper is on the pattern-based design methodology used
for modelling such an ontology. The design of the ontology is part of a project
with the Italian Government aimed at implementing a big data framework for
dealing with a variety of data sources including Open Data. As future work we
are planning to assess the quality of the ontology by using real data coming from
the big data framework as Linked Open Data and to analyse the ontology in the
context of the wider ontology network we are designing.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Eva</given-names>
            <surname>Blomqvist</surname>
          </string-name>
          et al. \
          <article-title>Experimenting with eXtreme Design"</article-title>
          .
          <source>In: Proc. of EKAW</source>
          <year>2010</year>
          . (Lisbon, Portugal). Springer,
          <year>2010</year>
          , pp.
          <volume>120</volume>
          {
          <fpage>134</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Michael</given-names>
            <surname>Compton</surname>
          </string-name>
          et al. \
          <article-title>The SSN ontology of the W3C semantic sensor network incubator group"</article-title>
          .
          <source>In: Web semantics: science, services and agents on the World Wide Web</source>
          <volume>17</volume>
          (
          <year>2012</year>
          ), pp.
          <volume>25</volume>
          {
          <fpage>32</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <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, 2nd Ed. Springer,
          <year>2009</year>
          , pp.
          <volume>221</volume>
          {
          <fpage>243</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Aldo</given-names>
            <surname>Gangemi</surname>
          </string-name>
          et al. \
          <article-title>Sweetening ontologies with DOLCE"</article-title>
          . In:
          <article-title>Knowledge engineering and knowledge management: Ontologies and the semantic Web</article-title>
          . Vol.
          <volume>2473</volume>
          . Lecture Notes in Computer Science. Berlin, Germany: Springer,
          <year>2002</year>
          , pp.
          <volume>166</volume>
          {
          <fpage>181</fpage>
          . doi:
          <volume>10</volume>
          .1007/3-540-45810-7_
          <fpage>18</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Sara</given-names>
            <surname>Hachem</surname>
          </string-name>
          , Thiago Teixeira, and Valerie Issarny. \
          <article-title>Ontologies for the internet of things"</article-title>
          .
          <source>In: Proceedings of the 8th Middleware Doctoral Symposium. ACM</source>
          .
          <year>2011</year>
          , p.
          <fpage>3</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Valentina</given-names>
            <surname>Presutti</surname>
          </string-name>
          et al. \
          <article-title>The role of Ontology Design Patterns in Linked Data projects"</article-title>
          .
          <source>In: Proc. of ER 2016</source>
          . Springer,
          <year>2016</year>
          , pp.
          <volume>113</volume>
          {
          <fpage>121</fpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>