<!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>New Facets of Semantic Interoperability: Adding JSON { JSON-LD Transformation Functionality to the BIG IoT API</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Robert Bosch GmbH</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Corporate Research Robert-Bosch-Campus</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Renningen</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Germany</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>yulia.svetashova</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>stefan.schmid}@de.bosch.com</string-name>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Karlsruhe Institute of Technology</institution>
          ,
          <addr-line>AIFB Kaiserstr. 89, 76133 Karlsruhe</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>1807</year>
      </pub-date>
      <fpage>0000</fpage>
      <lpage>0003</lpage>
      <abstract>
        <p>The BIG IoT project focuses on easy integration of the IoT data and services o ered by existing IoT platforms and services based on semantic technologies. To enable IoT applications to consume data and services provided by heterogeneous systems and di erent stakeholders, a common set of ontologies and an RDF triple store with querying functionalities are used in the service discovery phase. The subsequent communication between such applications or services (as consumer) and the provider can be optimized as well. The process of automatically transforming JSON-serialized responses from an IoT data provider to linked data format is discussed and the bene ts of this automation are explored in this poster contribution.</p>
      </abstract>
      <kwd-group>
        <kwd>Internet of Things</kwd>
        <kwd>Semantic Interoperability</kwd>
        <kwd>Linked data</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        The Internet of Things (IoT) is rapidly growing both in terms of the number of entities
(sensors, actuators, etc.) placed onto networks and the number of applications and services
which operate them, collect sensor data and o er smart solutions. The growth of the IoT
and the corresponding market demands lead to an increased complexity of interactions
among the various IoT stakeholders, including thing manufacturers, platform providers,
service and application developers. To unlock the full potential of the connected world,
they need to consider the multi-domain nature of the IoT, heterogeneity of the protocols
and data formats used, competition and/or co-operation with other vendors and new
players entering the market. Thus, interoperability de ned as \the ability of two or more
systems or components to exchange data and use information" [1: 9] remains one of the
key problems to solve in the eld of IoT [
        <xref ref-type="bibr" rid="ref2 ref3 ref4">2-4</xref>
        ].
      </p>
      <p>
        The idea of IoT ecosystems and ad-hoc collaboration among di erent stakeholders
is gaining popularity quickly to overcome the shortcomings of existing proprietary
vertical systems created for distinct product lines. Capable of reciprocal operation with
others, elements of such cross-platform and cross-domain ecosystems must utilize some
kind of shared semantics, i.e. either follow standardized semantic models or through use of
\on-the- y" concept alignment mechanisms. Sharing vocabularies and mapping varying
concepts to selected reference ontologies have been proposed as semantic
interoperability solutions long ago (see, for example, [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]). Semantic Web technologies however go far
beyond simple platform and service integration and acquire new facets of usage in the
context of IoT.
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>Semantic Technologies in the BIG IoT Project</title>
      <p>
        The goal of the BIG IoT (\Bridging the Interoperability Gap of the Internet of Things",
see more in [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]) project is to design and develop ecosystems for IoT stakeholders (1) who
want to monetize their IoT resources (providers ) and (2) need IoT resources for their
applications (consumers ). With its main focus on easy integration of existing platforms and
run-time integration of resources, the project provides (1) a meeting point for providers
and consumers { a marketplace which enables advertising and discovery of IoT o erings,
gives uniform access to the distributed repositories and services, and billing &amp; charging
functionality, as well as (2) a common Web API and open source SDK.
      </p>
      <p>One of the core concepts in the BIG IoT is the concept of o ering representing a set
of IoT resources: sensor data, information or services. Providers register their o erings on
the marketplace using semantically annotated o ering descriptions which are stored into
an RDF triple store. O ering descriptions are grounded on semantic models common for
all triples in a store: the semantics of each o ering follows the BIG IoT Semantic Core
Model (e.g. de ning the o ering type, license, price, endpoint URI, protocol, input data
needed to use its functionalities and output data returned when an o ering is consumed)
enriched with domain independent and domain dependent semantic annotation.</p>
      <p>Consumers discover the needed resources through the (o ering) query specifying the
properties of the o erings of interest. For each query a set of matching o erings is returned,
and a consumer is able to subscribe and get access to them at run-time. The pair o ering
description { o ering query provides a mechanism of data/service discovery within the
plentitude of registered providers (see the ow in Figure 1). It is important to stress
that o ering description also contains an explicit mapping of the output elds to the
corresponding semantic URIs (e.g. \longitude" : \http://schema.org/longitude").</p>
      <p>Semantic Web technologies therefore form the core of the BIG IoT project: modeling
providers, consumers and o erings according to a prede ned RDF schema allows to
conceptualize all activities needed for the collaboration among the various stakeholders of an
IoT ecosystem. The meta-data coming from di erent sources is combined and stored in
an RDF triple store. Sophisticated semantic queries as well as semantic matching (even
in cases where participants use di erent semantic models or formats) are enabled.
3</p>
      <p>BIG IoT API and SDK
To facilitate participation in the BIG IoT ecosystem, developers can download an SDK
for the BIG IoT API. The SDK encompasses libraries for both providers and consumers,
which translate function calls from the respective application or service code into
interactions with the marketplace, or directly between a consumer and provider. The Provider
Lib allows an IoT platform or service to register o erings. The Consumer Lib in turn
allows an application or service to discover available o erings based on semantic queries,
and to subscribe to o erings of interest.</p>
      <p>New Facets of Semantic Interoperability</p>
      <p>In the presented work, we make use of semantic annotations already provided in the
o ering descriptions in order to empower consumers to use this knowledge when accessing
data that are not yet semantically enriched by their providers. Speci cally, we extend the
Consumer Lib in order to automatically transform the obtained data and semantically
annotate them using linked data frameworks.
4</p>
    </sec>
    <sec id="sec-3">
      <title>JSON { JSON-LD Transformation in the BIG IoT API</title>
      <p>Semantic matching during the IoT service discovery phase might result in a set of o
erings which { when accessed { may di er, for instance, in terms of output data returned
to the consumer. Many already deployed platforms or services use JSON as data format.
However, di erent providers use typically di erent property names for the data o ered,
which, in conjunction with the lack of semantic information, makes it impossible for a
consumer application to automatically integrate the data. As a consequence, the
developer of a consumer application has to take care of the integration of data from di erent
providers manually and at implementation time.</p>
      <p>Transforming JSON-serialized data obtained from an external data source into linked
data has many advantages from a consumer application point of view. Firstly, it enables
it to compare (rank, lter) and fuse data coming from di erent providers, and to validate
and check them for consistency. This is vital for future-proof IoT applications, which will
be increasingly autonomous and thus rely on run-time selection of providers.</p>
      <p>
        Secondly, the resulting data harmonization can help developers to minimize the e orts
needed to integrate new data providers, and to access data from various sources in a
uniform manner. Even if a consumer does not utilize the set of BIG IoT ontologies itself, it
is easier to translate a single pre-de ned vocabulary to the local schemata than to manage
potentially con icting keys from di erent sources. As JSON-LD is 100% JSON compatible
[
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], the existing JSON parsers and libraries can be re-used to process the harmonized
data. Moreover, a consumer application can utilize generic visualization toolkits or APIs
to inspect the incoming data visually.
      </p>
      <p>
        Thirdly, as JSON-LD represents an instance of an RDF data model [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], it can be
directly used with other linked data technologies. Thus, the JSON-LD representation of
the aggregated output data can be either stored in an RDF triple store, which in turn
will enable a consumer to leverage the power of SPARQL and inference, or passed to a
real-time link-data reasoner (for instance, ldfu system [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]) to take advantage of inference
based on live data obtained from multiple sources.
      </p>
      <p>In conclusion, mapping varying JSON attributes to a single set of unambiguous
identi ers gives each portion of data a well-de ned structure, streamlines its processing, and
makes data truly interoperable. For future-proof IoT consumer applications, which rely
on dynamic (run-time) service discovery and integration of new data sources and
services, we believe the proposed JSON { JSON-LD transformation is the best solution, as
generic linked date frameworks can be used to integrate the data in a very exible manner
and with the extra bene t that JSON-LD capable data providers can also be considered
without additional e orts.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1. IERC {
          <article-title>European Research Cluster on the Internet of Things: IoT semantic interoperability: research challenges, best practices, recommendations and next steps</article-title>
          . (
          <year>2015</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>James</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          et al.:
          <article-title>The Internet of Things: Mapping the value beyond the hype</article-title>
          .
          <source>McKinsey Global Institute</source>
          (
          <year>2015</year>
          ):
          <fpage>3</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Jara</surname>
            ,
            <given-names>A.J.</given-names>
          </string-name>
          et al.:
          <article-title>Semantic web of things: An analysis of the application semantics for the IoT moving towards the IoT convergence</article-title>
          .
          <source>International Journal of Web and Grid Services</source>
          <volume>10</volume>
          .2{
          <issue>3</issue>
          (
          <year>2014</year>
          ):
          <volume>244</volume>
          {
          <fpage>272</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Murdock</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          et al.:
          <article-title>Semantic Interoperability for the Web of Things (</article-title>
          <year>2016</year>
          ):
          <volume>1</volume>
          {
          <fpage>19</fpage>
          . https://doi.org/10.13140
          <source>/RG.2.2.25758.13122 [Accessed 18 Jul</source>
          <year>2017</year>
          ].
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Schmid</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          et al.:
          <article-title>An Architecture for Interoperable IoT Ecosystems</article-title>
          . International Workshop on Interoperability and
          <string-name>
            <surname>Open-Source Solutions</surname>
          </string-name>
          . Springer, Cham (
          <year>2016</year>
          ):
          <volume>39</volume>
          {
          <fpage>55</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6. Stadtmuller,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Speiser</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Harth</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            and
            <surname>Studer</surname>
          </string-name>
          ,
          <string-name>
            <surname>R.</surname>
          </string-name>
          :
          <article-title>Data-Fu: a language and an interpreter for interaction with read/write linked data</article-title>
          .
          <source>In: Proceedings of the 22nd international conference on World Wide Web</source>
          (
          <year>2013</year>
          ). ACM:
          <volume>1225</volume>
          {
          <fpage>1236</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Vetere</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Lenzerini</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Models for semantic interoperability in service-oriented architectures</article-title>
          .
          <source>IBM Systems Journal 44.4</source>
          (
          <year>2005</year>
          ):
          <volume>887</volume>
          {
          <fpage>903</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8. World Wide Web Consortium,
          <year>2014</year>
          .
          <article-title>JSON-LD 1.0: a JSON-based serialization for linked data</article-title>
          . https://www.w3.org/TR/json-ld
          <source>/ [Accessed 18 Jul</source>
          <year>2017</year>
          ].
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>