<!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>Demonstration: A RESTful SOS Proxy for Linked Sensor Data?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Arne Bröring</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Krzysztof Janowicz</string-name>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Christoph Stasch</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Sven Schade</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Thomas Everding</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Alejandro Llaves</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>52 North Initiative for Geospatial Open Source Software GmbH</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Institute for Environment and Sustainability, Joint Research Centre</institution>
          ,
          <addr-line>Ispra</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Institute for Geoinformatics, University of Münster</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>University of California</institution>
          ,
          <addr-line>Santa Barbara</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Next generations of spatial information infrastructures call for more dynamic service composition, more sources of information, as well as stronger capabilities for their integration. Sensor networks have been identified as a major data provider for such infrastructures, while Semantic Web technologies have demonstrated their integration capabilities. Most sensor data is stored and accessed using the Observations &amp; Measurements (O&amp;M) standard of the Open Geospatial Consortium (OGC) as data model. However, with the advent of the Semantic Sensor Web, work on an ontological model gained importance within Sensor Web Enablement (SWE). The ongoing paradigm shift to Linked Sensor Data complements this attempt and also adds interlinking as a new challenge. In this demonstration paper, we briefly present a Linked Data model and a RESTful proxy for OGC's Sensor Observation Service (SOS) to improve integration and inter-linkage of observation data.</p>
      </abstract>
      <kwd-group>
        <kwd>Semantic Sensor Web</kwd>
        <kwd>Linked Sensor Data</kwd>
        <kwd>REST</kwd>
        <kwd>Sensor Observation Service</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        The Sensor Web requires well defined semantics to make observation data discoverable
and reusable [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. The Semantic Web provides the necessary framework by (i) formal and
machine-readable ontologies for sensors, observations, and observed properties, and by
(ii) using reasoning to discover implicit facts, relations, and contradictions. So far, the
Sensor Web and Semantic Web are not well connected which limits data exchange as
well as combining their services. To address this problem, we have proposed and
partially implemented a Semantic Enablement Layer for Spatial Data Infrastructures (SDI)
[
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. It encapsulates Semantic Web reasoners and ontology repositories within OGC
Web services to enable a transparent and seamless integration of Semantic Web
technologies with SDIs. This work focuses on enabling the reverse direction, i.e., making
spatial information available on the Semantic Web without changing existing standards
and implementations. To facilitate integration and inter-linkage of observation data, this
? This demonstration paper is a modified excerpt of the article by Janowicz et al. 2011 [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]
demonstration paper presents a Linked Data model and a RESTful proxy for the Sensor
Observation Service (SOS) interface of OGC’s Sensor Web Enablement initiative [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
For two related approaches on serving semantic-enabled sensor data see [
        <xref ref-type="bibr" rid="ref7 ref8">7,8</xref>
        ].
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>System Architecture</title>
      <p>
        The RESTful SOS proxy is available as free and open source software5. It can be
installed as a software facade in front of any OGC conform SOS and o ers the core
functionality to make sensor data available as Linked Data. Based on a well-defined
URI scheme [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], the RESTful proxy extracts the user’s query from the URI, encodes it
into valid SOS queries, fetches the results from the underlying SOS, and converts them
(after content negotiation) to RDF/XML aligned with the developed model for Linked
Sensor Data (Figure 2). Consequently, each URI identifies a particular data set and at
the same time encodes a query to the underlying SOS.
      </p>
      <p>
        The RESTful SOS proxy is implemented using the OX-Framework [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], a software
framework which facilitates the utilization of OGC Web Services, such as the SOS.
The OX-Framework handles access of various service interfaces by providing a generic
architecture that includes a plug-in mechanism for service adapters as extension points
of the framework.
      </p>
      <p>Three kinds of service adapters are needed for accessing a service (Figure 1):
Service connectors trigger service operations and instantiate the common capabilities
model. Feature stores provide the functionality to unmarshal received feature data into
the internal feature model of the OX-Framework, while data processors run on the
instantiated feature model and transform the feature data into other representations.
We developed a data processor that converts observations into RDF-encoded Linked
Data; however, we also support other representations such as KML or JPEG charts. The
5 http://52north.org/RESTful_SOS
RESTful SOS proxy chooses the right data processor based on HTTP content
negotiation.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Demonstration</title>
      <p>
        The proxy exposes sensor data following a particular URI scheme. While OGC’s
Observations &amp; Measurements standard supports unique identifiers, it currently does neither
prescribe the use of HTTP URI’s, the persistence of identifiers, nor clear and flexible
linking strategies between resources. Ontologies abstract from data models and aim at
describing the physical world. For example, they specify the notion of a stimulus which
triggers a sensor and leads to the observation. The stimulus as such, however, is out of
scope for O&amp;M. Therefore, we introduce an intermediate Linked Data model by
extending the W3C SSN ontology’s Stimulus-Sensor-Observation (SSO) ontology design
pattern [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]; see Figure 2. The relations between the presented classes act as links in our
model and define the multiple navigation paths and external references.
      </p>
      <p>In the demonstration, we present how URIs act as identifiers for sensor data
and as query filters which are mapped by the RESTful proxy to SOS
GetObservation requests. For instance, the URI http://v-swe.uni-muenster.de:
8080/52nRESTfulSOS/RESTful/sos/AirBase_SOS/observations/sensors/
HR:0002A/samplingtimes/2008-01-01,2008-12-31/observedproperties/
concentration[NO2] points to the observation collection with all NO2 observations
from a specific sensor during 2008.As the proposed solution o ers the sensor data as
a RESTful service, we will apply a common web browser to illustrate how queries are
constructed and how users may interact with the service front-end.
4</p>
    </sec>
    <sec id="sec-4">
      <title>Conclusion</title>
      <p>
        In this demonstration paper, we report on the implementation of a transparent and
RESTful SOS proxy that can serve Linked Sensor Data without any modifications to
existing OGC services and existing SDI deployments. We decided to use a RESTful
approach as it combines three key advantages. First, URIs are building blocks of Linked
Data. REST allows us to identify data and at the same time encode the query using our
URI scheme. Second, a major requirement of our vision of Semantic Enablement [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] is
transparency, which is given by our REST proxy approach. Third, the REST paradigm
focuses on simplicity with respect to application implementation.
      </p>
      <p>Summing up, the proposed approach provides an important step towards the
semantic enablement of existing information systems and infrastructures, and thereby eases
the integration of dynamic information sources such as sensor networks. Delivering
observations as Linked Data, connecting them with other data sources, and using
ontologies and Semantic Web reasoners to improve retrieval, alignment, and matching are
major building blocks for the implementation of novel information infrastructures.</p>
    </sec>
    <sec id="sec-5">
      <title>Acknowledgments</title>
      <p>The presented work is developed within the 52 North semantics community (http://
52north.org/semantics), and is partly funded by the European projects EO2Heaven
(FP7-244100) and ENVIROFI (FP7-284898).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Janowicz</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bröring</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stasch</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schade</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Everding</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Llaves</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>A restful proxy and data model for linked sensor data</article-title>
          .
          <source>International Journal of Digital Earth</source>
          (
          <year>2011</year>
          ; in press)
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2. van Zyl,
          <string-name>
            <given-names>T.</given-names>
            ,
            <surname>Simonis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>I.</given-names>
            ,
            <surname>McFerren</surname>
          </string-name>
          ,
          <string-name>
            <surname>G.</surname>
          </string-name>
          :
          <article-title>The sensor web: systems of sensor systems</article-title>
          .
          <source>International Journal of Digital Earth</source>
          <volume>2</volume>
          (
          <issue>1</issue>
          ) (
          <year>2009</year>
          )
          <fpage>16</fpage>
          -
          <lpage>30</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Janowicz</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schade</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bröring</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Keßler</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Maue</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stasch</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Semantic enablement for spatial data infrastructures</article-title>
          .
          <source>Transactions in GIS 14(2)</source>
          (
          <year>2010</year>
          )
          <fpage>111</fpage>
          -
          <lpage>129</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Bröring</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Echterho</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jirka</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Simonis</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Everding</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stasch</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Liang</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lemmens</surname>
          </string-name>
          , R.:
          <source>New Generation Sensor Web Enablement. Sensors</source>
          <volume>11</volume>
          (
          <issue>3</issue>
          ) (
          <year>2011</year>
          )
          <fpage>2652</fpage>
          -
          <lpage>2699</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Page</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>De Roure</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Martinez</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sadler</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kit</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          :
          <article-title>Linked sensor data: Restfully serving rdf and gml</article-title>
          . In K.,
          <string-name>
            <given-names>T.</given-names>
            ,
            <surname>Ayyagari</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>De Roure</surname>
          </string-name>
          , D., eds.
          <source>: Proceedings of the 2nd International Workshop on Semantic Sensor Networks (SSN09)</source>
          . Volume Vol-
          <volume>522</volume>
          .,
          <string-name>
            <surname>CEUR</surname>
          </string-name>
          (
          <year>2009</year>
          )
          <fpage>49</fpage>
          -
          <lpage>63</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Henson</surname>
            ,
            <given-names>C.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pschorr</surname>
            ,
            <given-names>J.K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sheth</surname>
            ,
            <given-names>A.P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Thirunarayan</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <article-title>Semsos: Semantic sensor observation service</article-title>
          .
          <source>In: International Symposium on Collaborative Technologies and Systems (CTS</source>
          <year>2009</year>
          ), Baltimore,
          <string-name>
            <surname>MD</surname>
          </string-name>
          , USA, IEEE (May
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Bröring</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jürrens</surname>
            ,
            <given-names>E.H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jirka</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stasch</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Development of Sensor Web Applications with Open Source Software</article-title>
          .
          <source>In: First Open Source GIS UK Conference (OSGIS</source>
          <year>2009</year>
          ), 22 June 2009, Nottingham, UK. (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Janowicz</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Compton</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>The stimulus-sensor-observation ontology design pattern and its integration into the semantic sensor network ontology</article-title>
          . In Ayyagari,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Roure</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.D.</given-names>
            ,
            <surname>Taylor</surname>
          </string-name>
          , K., eds.
          <source>: Proceedings of the 3rd International workshop on Semantic Sensor Networks</source>
          <year>2010</year>
          (
          <article-title>SSN10) in conjunction with the 9th International Semantic Web Conference (ISWC</article-title>
          <year>2010</year>
          ). Volume
          <volume>668</volume>
          ., CEUR-WS (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>