<!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>The Schema Editor of OpenIoT for Semantic Sensor Networks</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Prem Prakash Jayaraman</string-name>
          <email>prem.jayaraman@rmit.edu.au</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jean-Paul Calbimonte</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Hoan Nguyen Mau Quoc</string-name>
          <email>hoan.quoc@insight-centre.org</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>EPFL</institution>
          ,
          <country country="CH">Switzerland</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Insight Centre for Data Analytics, National University of Ireland</institution>
          ,
          <addr-line>Galway</addr-line>
          ,
          <country country="IE">Ireland</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>RMIT University</institution>
          ,
          <addr-line>Melbourne</addr-line>
          ,
          <country country="AU">Australia</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Ontologies provide conceptual abstractions over data, in domains such as the Internet of Things, in a way that sensor data can be harvested and interpreted by people and applications. The Semantic Sensor Network (SSN) ontology is the de-facto standard for semantic representation of sensor observations and metadata, and it is used at the core of the open source platform for the Internet of Things, OpenIoT. In this paper we present a Schema Editor that provides an intuitive web interface for defining new types of sensors, and concrete instances of them, using the SSN ontology as the core model. This editor is fully integrated with the OpenIoT platform for generating virtual sensor descriptions and automating their semantic annotation and registration process.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        The Internet of Things (IoT) paradigm is expected to dramatically change the
way we produce, transmit and process data. IoT makes it possible for devices,
objects, people, and things, to observe, collect and send all sorts of data in
different domains, ranging from environmental sensing to health monitoring or
smart cities. As a result, a large number of highly heterogeneous interconnected
objects will contribute to the Web of Data, challenging IoT systems to
effectively exploit and make use of this data. One way to deal with this
heterogeneity is through semantic models that provide explicit meaning about the data
that is represented. Semantic technologies such as OWL and RDF are
standards for modeling and defining concepts and relationships in arbitrary domains
of use, and constitute a promising solution to help coping with this problem.
Based on these well-founded semantic technologies, the OpenIoT open-source
platform for IoT (http://openiot.eu/) provides a flexible cloud-based architecture
that helps manage the life cycle of IoT services and applications. The OpenIoT
architecture includes, among others, modules that manage the sensor data
acquisition, namely X-GSN, the semantic data provision and querying (Linked Sensor
Middleware-Light, namely LSM-Light), as well as front-end tools for data
discovery and analytics (e.g. Request Definition, and Request Presentation). The
integration of all these modules is possible thanks to the use of the OpenIoT
ontology, which is based on the SSN ontology [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. However, these core ontology
models are not specific to any domain, and therefore require to be extended or
complemented with other vocabularies in order to be used in practice.
      </p>
      <p>
        General purpose ontology editors (e.g. Protégé [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]) are suitable for defining,
modifying and customizing ontologies, but they require users to be familiar with
ontology modeling and the basics of description logics. Considering that users
of IoT platforms are usually not well-versed in ontological engineering, this can
represent an overkill for IoT system administrators/users who simply need to
add a new sensor or a type of sensor. Moreover, the general purpose editors are
not integrated into the workflow of an IoT system (e.g. as OpenIoT) in such a
way that sensor descriptions generated are automatically published as Linked
Data, and ready to be discovered, queried and re-used. Hence, it is vital to
provide simple and intuitive tools that allow IoT users to perform tasks such as
add a new sensor or a sensor type intuitively while preserving the ontological
foundations of the model.
      </p>
      <p>
        The Sensor Schema Editor of OpenIoT that we present in this paper aims
at providing a solution to this problem. In this first evolution of the editor,
we provide the means to: (i) define/modify new sensor types, and (ii) create
new sensor instances. A novel feature of the Sensor Schema Editor compared to
other UI-based ontology editors [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] is that it is a fully functional, implemented
prototype completely integrated with the OpenIoT system. The extensions to the
ontology generated by the creation of new sensor types are linked dynamically to
the OpenIoT ontology using the LSM-Light component. Hence, the extensions
to the ontology created are accessible and visible to other system components.
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>Sensor Schema Editor</title>
      <p>
        The Sensor Schema Editor supports the average user in annotating sensors and
sensor-related data using the OpenIoT ontology and Linked Data principles. The
interface automates the generation of RDF descriptions for sensor node
information submitted by the users. As an example, let us consider an IoT deployment
where dozens of WeatherStation sensors are deployed in a determined
geographical area. In OpenIoT [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], all sensors and observations are represented in terms
of ontological concepts. For example, Figure 1 depicts a description of a sensor
type following the SSN-based OpenIoT ontology. A sensor (e.g. WeatherStation)
measures air temperature and humidity, and has some pre-defined accuracy and
frequency parameters, typically defined by the vendor specification or
configuration. This sensor type constitutes an extension of the ontology for this particular
use case. Based on this new type of sensor, we are able to create instances with
user provided descriptions that represent deployed sensors of that type. The
LSM-Light component will then semantically annotate and publish the sensor
type and instance descriptions as Linked Data, making it searchable and
discoverable through SPARQL queries. Figure 2 illustrates an overview of how the
sensor instance is annotated and published in Linked Data format based on the
Fig. 1: Description of Sensor Types in the OpenIoT Ontology
new sensor type (e.g. WeatherStation) created. The annotation process strictly
follows the OpenIoT ontology which is an extension of SSN ontology.
      </p>
    </sec>
    <sec id="sec-3">
      <title>Sensor Schema Editor Implementation</title>
      <p>The Sensor Schema Editor4 has two components: 1) a web-based interface
(Sensor Type and Instance Editors) and 2) a back-end server. The web interface is
developed in Java using the JSF framework. The back-end is also developed in
Java and employs the Restlet framework (http://restlet.org/). The current
implementation of the Sensor Schema Editor is capable of generating new sensor
types and instances based on the OpenIoT ontology.
3.1</p>
      <sec id="sec-3-1">
        <title>Sensor Type Editor</title>
        <p>4 Available as part of OpenIoT on Github: https://github.com/OpenIotOrg/openiot
Each of these properties has an associated measurement capability (accuracy and
frequency) that can be defined by the user depending on the datasheet provided
by the sensor manufacturer.
3.2</p>
      </sec>
      <sec id="sec-3-2">
        <title>Sensor Instance Editor</title>
        <p>In this paper we have presented a web-based Sensor Schema Editor that assists
users defining new types of sensors, thus extending the underlying ontology; and
creating instances of them in the form of Linked Data, using the SSN ontology
as its core model. This editor is part of the OpenIoT open-source platform for
IoT development and deployment, and it bridges the gap between the know-how
of IoT system administrators, and the SSN-based ontology model that governs
the components of OpenIoT. In the future we plan to include customizing other
parameters of the sensor description (e.g. custom measurement capabilities) and
adding more complex validation mechanisms that alert the user if the produced
schemas may produce conflicts in the ontology model. Furthermore, we plan to
allow bulk generation of instances for the cases where large numbers of sensor
instances need to be created.</p>
        <p>Acknowledgments Supported by the SNSF Nano-Tera OpenSense2 project.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Butt</surname>
            ,
            <given-names>A.S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Haller</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Xie</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Activeraul: A web form-based user interface to create and maintain rdf data</article-title>
          .
          <source>In: International Semantic Web Conference (Posters &amp; Demos</source>
          . vol.
          <volume>1035</volume>
          , pp.
          <fpage>117</fpage>
          -
          <lpage>120</lpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Compton</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <year>e</year>
          .a.:
          <article-title>The ssn ontology of the w3c semantic sensor network incubator group</article-title>
          .
          <source>Web Semantics: Science, Services and Agents on the WWW 17</source>
          ,
          <fpage>25</fpage>
          -
          <lpage>32</lpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Knublauch</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fergerson</surname>
            ,
            <given-names>R.W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Noy</surname>
            ,
            <given-names>N.F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Musen</surname>
            ,
            <given-names>M.A.</given-names>
          </string-name>
          :
          <article-title>The protégé owl plugin: An open development environment for semantic web applications</article-title>
          .
          <source>In: The Semantic Web-ISWC</source>
          <year>2004</year>
          , pp.
          <fpage>229</fpage>
          -
          <lpage>243</lpage>
          . Springer (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Soldatos</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kefalakis</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hauswirth</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Serrano</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Calbimonte</surname>
            ,
            <given-names>J.P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Riahi</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Aberer</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jayaraman</surname>
            ,
            <given-names>P.P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zaslavsky</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Žarko</surname>
            ,
            <given-names>I.P.</given-names>
          </string-name>
          , et al.:
          <article-title>Openiot: Open source internet-of-things in the cloud</article-title>
          .
          <source>In: Interoperability and Open-Source Solutions for the Internet of Things</source>
          , pp.
          <fpage>13</fpage>
          -
          <lpage>25</lpage>
          . Springer (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>