<!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>Semantic Access to Siemens Streaming Data: the OPTIQUE Way?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>E. Kharlamov</string-name>
          <xref ref-type="aff" rid="aff4">4</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>S. Brandt</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>C. Neuenstadt</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>O¨ . O¨zc¸ep</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>M. Roshchin</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>M. Giese</string-name>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>E. Jime´nez-Ruiz</string-name>
          <xref ref-type="aff" rid="aff4">4</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>S. Lamparter</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>C. Pinkel</string-name>
          <xref ref-type="aff" rid="aff5">5</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>A. Soylu</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>D. Zheleznyakov</string-name>
          <xref ref-type="aff" rid="aff4">4</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>S. Watson</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>I. Horrocks</string-name>
          <xref ref-type="aff" rid="aff4">4</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Gjøvik University College</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Siemens Energy</institution>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>University of Lu ̈beck</institution>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>University of Oslo</institution>
        </aff>
        <aff id="aff4">
          <label>4</label>
          <institution>University of Oxford</institution>
        </aff>
        <aff id="aff5">
          <label>5</label>
          <institution>fluid Operations AG</institution>
        </aff>
      </contrib-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1 Introduction</title>
      <p>
        Siemens Energy runs several service centres for power plants. The main task of a service
centre is remote monitoring and diagnostics of many thousands appliances, such as
gas and steam turbines, generators, and compressors installed in plants. Monitoring
and diagnostics are performed by service engineers and are typically conducted in four
steps: (i) engineers receive a notification about a potential or detected issue with an
appliance, (ii) they gather data relevant to the case, (iii) analyse the data, and finally
(iv) report about ways to address the issue to the appliance owner. Currently, Step (ii)
of the process is the bottleneck consuming, as statistics shows [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], up to 80% of the
overall time needed by the engineer to accomplish the task. The main reason for this
time consumption is the indirect data access, i.e., in many cases the engineers have
to access data via IT experts. Involvement of IT experts in the process slows it down
dramatically due to various reasons such as their overload, miscommunication between
IT experts and the engineers.
      </p>
      <p>
        Enhancing Step (ii) by enabling direct data access for Siemens’ engineers, i.e.,
without IT experts being involved, is important for enhancing the overall performance of
the monitoring [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. This task is challenging for several reasons. One reason is the
conceptual mismatch between the way the engineers expect the data to look like, i.e., the
language and structures they use to describe the data, and the way the data is
actually described and structured in Siemens databases. Moreover, the data accessible from
Siemens service centres have various formats, large in volume, and it changes at a high
rate, thus reflecting the dimensions of Big Data. Indeed, it is stored in several thousands
databases, its size is in the order of hundreds of terabytes, and it currently grows with
the average rate of 30 GB per day. At the moment only Siemens IT experts fully
understand these data and thus currently only they can write queries over these databases in
order to extract information relevant for engineers.
      </p>
      <p>
        Ontology Based Data Access (OBDA) [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] has been recently proposed to enhance
end-user direct data access. The key idea behind OBDA is to use ontologies, to mediate
between users and data. Ontologies describe the domain of interest on a higher level
of abstraction and in terms that are clear for domain experts. In OBDA users formulate
their information needs as queries using terms defined in the ontology, and ontological
queries are then translated into SQL or some other database query languages and
executed automatically, without an IT expert’s intervention. To this end a set of mappings
describes the relationship between the ontological vocabulary and the data schema.
? This research has been partially supported by the EU project Optique (FP7-IP-318338), the
      </p>
      <p>Royal Society, the EPSRC grants Score!, DBonto, and MaSI3.</p>
      <p>CREATE STREAM S_out AS
CONSTRUCT GRAPH NOW { ?c2 rdf:type :MonInc }
FROM STREAM S_Msmt [NOW-10s, NOW]-&gt;"1S"ˆˆxsd:duration,</p>
      <p>STATIC ABOX &lt;http://www.optique-project.eu/siemens/ABoxstatic&gt;,</p>
      <p>TBOX &lt;http://www.optique-project.eu/siemens/TBox&gt;
USING PULSE WITH START = "00:10:00CET", FREQUENCY = "1S"
WHERE {?c1 a sie:Assembly. ?c2 a sie:Sensor. ?c1 sie:inAssembly ?c2.}
SEQUENCE BY StdSeq AS seq
HAVING MONOTONIC.HAVING(?c2,sie:hasValue)</p>
      <p>
        In this demo we present our OBDA solution for Siemens Energy [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] which we
develop as a part of the OPTIQUE project [
        <xref ref-type="bibr" rid="ref3 ref4">3, 4</xref>
        ] The demo will focus on three aspects of
the solution: (i) deployment module: to semi-automatically deploy the platform over the
Siemens relational data streams with the help of ontology and mapping bootstrapping
and importing, (ii) component for formulation and registration of monitoring tasks: to
create general monitoring tasks as parametrised continuous queries and register
concrete instances of these tasks over specific data streams, (iii) monitoring dashboards: to
visualise results of monitoring tasks. We demonstrate OPTIQUE on an anonymized
version of Siemens data streams gathered from 200 gas/steam turbines between 2002 and
2011 and using 20 representative monitoring tasks from Siemens service centres that
are gathered as a part of requirement analyses for developing our OBDA solution [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
      </p>
    </sec>
    <sec id="sec-2">
      <title>2 System Overview</title>
      <p>In this section we give details of our three OBDA components. All components are
integrated in a unified OPTIQUE solution that is based on Information Workbench, a
generic and extensible platform for semantic data management that provides many base
components for our solution such as APIs, datastores, and visualisation engines.</p>
      <p>
        Deployment Support. In order to deploy an OBDA system over relational data streams,
one has to develop a new or reuse a third party domain ontology that describes the
domain behind the streams. E.g., for Siemens monitoring the ontology should describe
structure and functionality of turbines, technical characteristics of turbines’
components including deployed sensors. Besides, the ontology should capture additional
relevant information such as results of previous monitoring tasks and repairs, weather
forecasts, etc. Creating such ontology and then developing mappings to relate it to
Siemens databases is a costly process. We addressed this problem by providing a tool
BOOTOX [
        <xref ref-type="bibr" rid="ref2 ref7">2, 7</xref>
        ] for semi-automatic extraction of OWL 2 ontologies and R2RML
mappings from relational databases and for incorporation of third party OWL 2 ontologies
in an existing OBDA system deployment either by aligning it to the ontology used in
the deployment or by connecting it to the databases underlying the deployment with so
called direct mappings. We applied our deployment support solution to Siemens data
and obtained an OWL 2 QL ontology with dozens classes and properties, and about 50
axioms. Our OBDA platform also allows for mapping editing and we used the editor to
complement the semi-automatic deployment with another dozen of classes and
properties, and 20 axioms. You can see a screenshot of our deployment module in Figure 2.
      </p>
      <p>
        Monitoring Queries. In order to express monitoring tasks we developed (i) a devoted
query language STARQL [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] for temporal and streaming queries and (ii) a visual query
system OPTIQUEVQS for end users without a prior knowledge of formal query
languages that allows to formulate conjunctive STARQL queries. The main features of
STARQL are: it allows to express typical mathematical, statistical, and event pattern
features needed in real-time monitoring scenarios; it comes with a formal syntax and
semantics [
        <xref ref-type="bibr" rid="ref5 ref6">5, 6</xref>
        ] that combines open and closed-world reasoning and extends snapshot
semantics for window operators [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] with a sequencing semantics that can handle
integrity constraints such as functionality assertions. In spite of its expressivity, answering
STARQL queries is still efficient since they can be transformed into relational stream
queries. Both inputs and outputs of STARQL queries are timestamped RDF triples.
      </p>
      <p>Therefore, triples, coming from the result of one query, can be used as input when
constructing another query. While producing a STARQL query, one can select an ontology
and streams over which the query will be evaluated.</p>
      <p>Consider an example of a monitoring task: Detect a real-time failure of the
turbine caused by the a temperature increase within 10 seconds. This task can be
formulated in STARQL as in Figure 1. An output stream S out is defined by the
following language constructs: The CONSTRUCT specifies the format of the output stream,
here instantiated by RDF triples asserting that there was a monotonic increase. The
FROM clause specifies the resources on which the query is evaluated: the ontology
(here separated in TBox containing intensional knowledge and the ABox containing
factual data), and the input stream(s) for which a window operator is specified with
window range (here 10 seconds) and with slide (here 1 second). The PULSE
declaration specifies the output frequency. In the WHERE clause bindings for sensors (attached
to some assembly) are chosen. For every binding, the relevant condition of the
monitoring task is tested on the window contents. Here this condition is abbreviated by
MONINC.HAVING(?c, sie:hasValue) using a macro that is defined at the
bottom of Fig. 1 in an AGGREGATE declaration. In words, the conditions asks whether
there is some state ?k in the window s.t. the sensor shows a failure message at ?k and
s.t. for all states before ?k the attribute value ?attr (in the example instantiated by
sie:hasValue) is monotonically increasing.</p>
      <p>
        The example query can also be formulated with the help of STREAMVQS, a
variant of OPTIQUEVQS [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], see the screenshot in Figure 2. STREAMVQS allows domain
experts to construct queries by combining classes and properties using a box-and-arrow
visualisation metaphor. During query construction, the user can choose dynamic classes
and properties, i.e. properties and classes whose extensions are time dependent.
Moreover, the user may specify additional predefined patterns of functions on dynamically
updated window contents. The idea is that the power user or the IT expert constructs
these patterns for each use case by looking at the special needs and re-occurring
calculations as well as sub-queries and hence builds a library of relevant patterns—similar to
having a library of mappings, ontologies, and queries from which the user can choose.
      </p>
      <p>Diagnostic Dashboard. In order to address diverse needs of end users in answer
visualisation we developed a flexible wiki-based Diagnostic Dashboard that can be easily
customised by end users themselves. The dashboard allows to visualise query answers,
inspect query results, do incremental query refinement, and export of relevant result
fragments to external diagnostic tools. Moreover, it allows to perform monitoring of
incoming data streams and query answers for continuos queries over these streams. In
Figure 2, we present four examples of our visualisation widgets. Depending on the type
of data (e.g., time series data, appliance structure), a suitable visualisation paradigm
has to be selected (e.g., pivot table, trend diagram, histogram). The diagnostic
dashhort
tstrappers
l axioms, direct map.</p>
      <p>appings to query
wers come from
cing onto vocabulary with annotations for visual QF
ology importing module
importing regime
hecks for undesired logical consequences [ISWC-14-in-use-1]</p>
      <p>[ISWC-14-in-use-2]
re tightly integrated in the platform
otstrapping interface</p>
      <p>Demo
eriments with Statoil, Siemens, other schemas Visualiza/on)widgets)
rsion of bootstrapping benchmaFrigk. 2. Screenshots of the OPTIQUE platform deployed over Siemens streaming data
dules: quantitative and quabloitaartdivcaeneavlsaoluchaotoiosne tohef rBeoproetssetnrt.ation paradigm for query answers automatically by
analysing the corresponding SPARQL query.
ssion
ootstrapping of complex mappings (logical bootstr.)
cement of provenance and3visuDaelmbooontssttrraatpiopninSgcenario</p>
      <p>We will demonstrate semantic access to Siemens relational streams with OPTIQUE
using anonymised version of streams• 4gathered from 200 Siemens gas and steam turbines
between 2002 and 2011, and 20 representative Siemens monitoring tasks. The attendees
will be able to deployment of the platform over schemas of the relational streams using
bootstrapping and importing. Then, they will be able to register streaming queries by
either choosing them from a catalog of preconfigured queries or by formulating them in
the query system. Finally, they will be able to run queries and observe the results of the
evaluation in the monitoring dashboard.
4</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>A.</given-names>
            <surname>Arasu</surname>
          </string-name>
          et al.
          <article-title>The CQL continuous query language: semantic foundations and query execution</article-title>
          .
          <source>In: The VLDB Journal 15 (2</source>
          <year>2006</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>E.</given-names>
            <surname>Jime</surname>
          </string-name>
          <article-title>´nez-Ruiz et al</article-title>
          .
          <article-title>BootOX: Practical Mapping of RDBs to OWL 2</article-title>
          . In: ISWC.
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>E.</given-names>
            <surname>Kharlamov</surname>
          </string-name>
          et al.
          <article-title>Optique: Towards OBDA Systems for Industry</article-title>
          .
          <source>In: ESWC (SE)</source>
          .
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>E.</given-names>
            <surname>Kharlamov</surname>
          </string-name>
          et al.
          <article-title>Enabling Ontology Based Access at an Oil and Gas Company Statoil</article-title>
          . In: ISWC.
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>E.</given-names>
            <surname>Kharlamov</surname>
          </string-name>
          et al.
          <article-title>How Semantic Technologies Can Enhance Data Access at Siemens Energy</article-title>
          . In: ISWC.
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>O</given-names>
            <surname>¨ . L. O</surname>
          </string-name>
          <article-title>¨ zc¸ep et al. A Stream-Temporal Query Language for Ontology Based Data Access</article-title>
          .
          <source>In: KI 2014</source>
          . Vol.
          <volume>8736</volume>
          .
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>C.</given-names>
            <surname>Pinkel</surname>
          </string-name>
          et al.
          <article-title>RODI: A Benchmark for Automatic Mapping Generation in Relational-toOntology Data Integration</article-title>
          . In: ESWC.
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>A.</given-names>
            <surname>Poggi</surname>
          </string-name>
          et al.
          <article-title>Linking Data to Ontologies</article-title>
          .
          <source>In: J. Data Sem</source>
          .
          <volume>10</volume>
          (
          <year>2008</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>A.</given-names>
            <surname>Soylu</surname>
          </string-name>
          et al.
          <article-title>A Preliminary Approach on Ontology-Based Visual Query Formulation for Big Data</article-title>
          .
          <source>In: MTSR</source>
          .
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>