<!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 DemaWare Service-Oriented AAL Platform for People with Dementia?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Thanos G. Stavropoulos</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Georgios Meditskos</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Efstratios Kontopoulos</string-name>
          <email>skontopo@iti.gr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ioannis Kompatsiaris</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Information Technologies Institute</institution>
          ,
          <country country="GR">Greece</country>
        </aff>
      </contrib-group>
      <fpage>11</fpage>
      <lpage>15</lpage>
      <abstract>
        <p>This work presents DemaWare, an Ambient Intelligence platform that targets Ambient Assisted Living for people with Dementia. DemaWare seamlessly integrates diverse hardware (wearable and ambient sensors), as well as software components (semantic interpretation, reasoning), involved in such context. It also enables both online and offline processes, including sensor analysis and storage of context semantics in a Knowledge Base. Consequently, it orchestrates semantic interpretation which incorporated defeasible logics for uncertainty handling. Overall, the underlying functionality aids clinicians and carers to timely assess and diagnose patients in the context of lab trials, homes or nursing homes.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
    </sec>
    <sec id="sec-2">
      <title>DemaWare Architecture</title>
      <p>
        Overall, system requirements include an abstraction from data and functions,
modularity for multiple components, orchestration of data transfer and reasoning, support for
various roles and sites. The proposed architecture follows a layered approach (Figure
1) to address them. The hardware layer entails multi-modal sensors for collecting
context information, each of which stores or handles data of specific format (video, audio,
text or binary). Due to hardware constraints, some data have to be manually transferred
offline by the clinicians. The analysis layer primarily addresses format heterogeneity,
extracting higher-level information called observations to be stored in the Knowledge
Base (KB). In detail:
– The SleepClock (SC)2 logs residential patients’ sleep state patterns (deep, shallow
or no sleep) and summary (total deep/shallow sleep/awake time). Data is manually
retrieved and parsed by the system’s SC Library.
– The DTI2 Wristwatch (WW)3 monitors physical activity (accelerometer), skin
conductivity and temperature, ambient temperature and light. Binary WW data are
collected offline and parsed by the system’s WW Library.
– An ambient, Depth Camera is used for Complex Activity Recognition (CAR) [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]
events related to patient location within zones of interest (e.g. “Kitchen”, “Out of
bed” etc.) or posture (e.g. “Standing”, “Walking”, “Sitting”). Multiple CAR nodes
reside on linux-based mini-PCs with attached Depth Cameras in each residence.
– A second ambient, IP camera is used for Human Activity Recognition (HAR) [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]
such as “Eat” or “Drink”.
– Wearable Camera videos, processed by the Wearable Camera Processing Unit (WCPU)
detect rooms and objects that the patient’s encounter [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
– Wearable wireless microphones capture audio for Offline Speech Analysis (OSA)
[
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], measuring various indicators for the progress of patient dementia.
– The KB Manager stores Observations to the KB in RDF triples (triple store).
– The Semantic Interpretation (SI) [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] performs analysis on KB-stored data and
enriches it with new observations. SI also combines different sensor data (Fusion),
detects various complex events in time (Complex Event Processing - CEP) and
handles uncertainty.
      </p>
      <p>The Service layer lifts platform heterogeneity based on the WSDL W3C
standard4 for remote access. It also allows using the XML/XSD-based Dema@Care
Exchange Model to type-define observations, facilitating their mapping to KB constructs.
Implementation-wise, the services wrap analysis components using Java JAX-WS5.
Services (WSDL/SOAP) are pull-based and invoked as soon as Observations are
available since most components perform offline processing (due to manual data transfer or
time-demanding analysis). Meanwhile, CAR (non-WSDL service) processes streaming
video and pushes observations.
2 Gear4 Renew SleepClock: http://www.stage.gear4.com/
3 Phillips Healthcare: http://www.healthcare.philips.com/
4 http://www.w3.org/TR/wsdl
5 JAX-WS: https://jax-ws.java.net/</p>
      <p>The application layer consists of various Graphical User Interfaces (GUIs) as well
as application logic (Controller). The Controller backend, resolves requirements related
to information flow, as it orchestrates the retrieval of observations from components and
stores them into the KB. It also performs certain hardware operations (e.g. start and end
recordings) and gathers metadata for component invocation. GUIs are used to invoke
analysis (Technician role) and view assessment results (Clinician, Carer roles).
3</p>
    </sec>
    <sec id="sec-3">
      <title>Semantic Interpretation Layer</title>
      <p>
        While individual sensing modalities monitor different perspectives, the Semantic
Interpretation (SI) layer provides inferencing capabilities for the derivation of complex
activities over the combination of those modalities. To do so, it encapsulates the ontology
vocabularies for modeling the Dem@Care application context, such as activities,
measurements, summaries, patients, locations and objects. The ontologies reuse the
conceptual model provided by the SSN ontology [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] to model observations, measurements
and sensors, as well as, relevant dementia-specific vocabularies. In detail they model:
– atomic activities and measurements detected by means of monitoring and analysis
components (e.g. body temperature, luminance level, having meal, sleeping, etc.).
– problems and situations that the clinicians need to be informed about (e.g. missed
meals, excessive napping, insufficient communication attempts, nocturia, etc.) .
– clinically relevant attributes and summaries (e.g. sleep efficiency and duration,
number of daily telephone interactions, etc.).
      </p>
      <p>SI’s reasoning framework supports a hybrid combination of the OWL 2 reasoning
paradigm and the execution of SPARQL rules in terms of a CONSTRUCT and a WHERE
clause: the former defines the graph patterns, i.e. the set of triple patterns that should
be added to the underlying RDF graph upon the successful pattern matching of the
graphs in the WHERE clause. For example, the recognition of the PrepareTea activity
is performed by fusing tea-related objects (detected from wearable camera) and the
PrepareDrink intermediate activity (detected from static camera).</p>
      <p>
        Since the proposed framework is required to handle data that is vastly
heterogeneous, inherently uncertain and noisy, this work proposes Defeasible Logics [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] as an
extremely suitable tool for handling this type of data. This can be illustrated by the
following example that involves two complex activities makeT ea and eatLunch, which
are respectively defined via the following sets of primitive observations as follows:
makeT ea = {kitchenZone, cup, kettle, teabag}, and eatLunch = {kitchenZone,
cup, f ork, dish}.
      </p>
      <p>In multi-sensor environments with multi-modal and often incomplete information,
where the absence of primitive observations is frequent, Defeasible Logics can offer a
flexible and human-intuitive formalism for efficiently handling such situations. For
instance, the following defeasible theory (written in Defeasible Logics) can handle some
cases involving the above two activities:
r1 : kitchenZone ∧ cup ⇒ makeT ea
r2 : kitchenZone ∧ cup ∧ f ork ⇒ eatLunch
r3 : kitchenZone ∧ cup ∧ kettle ⇒ makeT ea
r2 &gt; r1, r3 &gt; r2 and C = {makeT ea, eatLunch}</p>
      <p>Defeasible rule r1 reads as “ if the user is in the kitchen and uses the cup then he
is probably making tea” and similar interpretations accompany defeasible rules r2 and
r3). Moreover, rules r2 and r3 are superior to rules r1 and r2, respectively, meaning
that they will prevail in potential conflicts - a conflict between two rules is initiated
by complementary rule heads or heads with conflicting literals (i.e. pairs of mutually
exclusive literals that cannot both be derived at the same time, see e.g. set C in the
sample rule base above).
4</p>
    </sec>
    <sec id="sec-4">
      <title>STATE OF THE ART</title>
      <p>
        The work in [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], introduces openAAL, a general-purpose open source middleware for
AAL, which provides context management, service matching, composition and
workflow execution. However, while some components are similar to Dem@Care (e.g. KB
Manager), openAAL does not yet handle hardware. FamiWare [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] implements a
Publish/Subscribe approach, discovery, fusion etc., but targets limited hardware, e.g.
Android smartphones and TinyOS sensors. Previous work in aWESoME-S [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ], AIM
[
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] and Hydra [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] have focused on energy and environmental sensors, excluding
higher-level analysis. Work in [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] also provides context-sensing and user profiling.
In contrast to those works, DemaWare unifies ambient and wearable devices, but also
offers higher-level analysis e.g. speech, image recognition and interpretation.
      </p>
    </sec>
    <sec id="sec-5">
      <title>CONCLUSIONS AND FUTURE WORK</title>
      <p>The proposed system integrates both low and high level processes in the context of AAL
for people with dementia i.e. sensor data retrieval, analysis and semantic interpretation
under uncertainty. The framework is applicable to various pilot scenarios for patient
monitoring and assessment. Current limitations include hardware constraints, e.g.
manual data transfer, and the lack of even richer context information, for which we plan to
investigate alternative sensors.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>R.</given-names>
            <surname>Romdhane</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.F.</given-names>
            <surname>Crispim</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Bremond</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Thonnat</surname>
          </string-name>
          , '
          <article-title>Activity recognition and uncertain knowledge in video scenes'</article-title>
          ,
          <source>in Advanced Video and Signal Based Surveillance (AVSS)</source>
          ,
          <year>2013</year>
          10th IEEE International Conference on, pp.
          <fpage>377</fpage>
          -
          <lpage>382</lpage>
          , (
          <year>Aug 2013</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>K.</given-names>
            <surname>Avgerinakis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Briassouli</surname>
          </string-name>
          ,
          <string-name>
            <surname>and I. Kompatsiaris</surname>
          </string-name>
          , '
          <article-title>Recognition of activities of daily living for smart home environments'</article-title>
          , in 9th International Conference on, pp.
          <fpage>173</fpage>
          -
          <lpage>180</lpage>
          , (
          <year>July 2013</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>H.</given-names>
            <surname>Boujut</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Benois-Pineau</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>R.</given-names>
            <surname>Megret</surname>
          </string-name>
          , '
          <article-title>Fusion of multiple visual cues for visual saliency extraction from wearable camera settings with strong motion'</article-title>
          ,
          <source>in 12th International Conference on Computer Vision</source>
          - Volume
          <string-name>
            <surname>Part</surname>
            <given-names>III</given-names>
          </string-name>
          ,
          <source>ECCV'12</source>
          , pp.
          <fpage>436</fpage>
          -
          <lpage>445</lpage>
          , (
          <year>2012</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>A.</given-names>
            <surname>Satt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Sorin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Toledo-Ronen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Barkan</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Kompatsiaris</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Kokonozi</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Tsolaki</surname>
          </string-name>
          , '
          <article-title>Evaluation of speech-based protocol for detection of early-stage dementia</article-title>
          .',
          <string-name>
            <surname>in</surname>
            <given-names>INTERSPEECH</given-names>
          </string-name>
          , pp.
          <fpage>1692</fpage>
          -
          <lpage>1696</lpage>
          . ISCA, (
          <year>2013</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>G.</given-names>
            <surname>Meditskos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Dasiopoulou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Efstathiou</surname>
          </string-name>
          ,
          <string-name>
            <surname>and I. Kompatsiaris</surname>
          </string-name>
          , '
          <article-title>Sp-act: A hybrid framework for complex activity recognition combining owl and sparql rules'</article-title>
          ,
          <source>in PerCom Workshops</source>
          , pp.
          <fpage>25</fpage>
          -
          <lpage>30</lpage>
          , (
          <year>2013</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>Michael</given-names>
            <surname>Compton</surname>
          </string-name>
          , Payam Barnaghi, and
          <string-name>
            <surname>Luis</surname>
          </string-name>
          Bermudez et al., '
          <article-title>The SSN ontology of the W3C semantic sensor network incubator group'</article-title>
          ,
          <source>Web Semantics: Science, Services and Agents on the World Wide Web</source>
          ,
          <volume>17</volume>
          (
          <issue>0</issue>
          ),
          <fpage>25</fpage>
          -
          <lpage>32</lpage>
          , (
          <year>2012</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>D.</given-names>
            <surname>Nute</surname>
          </string-name>
          , '
          <article-title>Handbook of logic in ai and logic programming (vol. 3)'</article-title>
          , chapter Defeasible Logic,
          <fpage>353</fpage>
          -
          <lpage>395</lpage>
          , Oxford University Press, Inc., New York, NY, USA, (
          <year>1994</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>P.</given-names>
            <surname>Wolf</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Schmidt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.P.</given-names>
            <surname>Otte</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Klein</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Rollwage</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Konig-Ries</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Dettborn</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Gabdulkhakova</surname>
          </string-name>
          , '
          <article-title>openaal - the open source middleware for ambient-assisted living (aal)'</article-title>
          , in AALIANCE conference, Malaga, Spain, March
          <volume>11</volume>
          -12,
          <year>2010</year>
          , (
          <year>2010</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9. N. Ga´mez and L. Fuentes, '
          <article-title>Famiware: a family of event-based middleware for ambient intelligence'</article-title>
          ,
          <source>Personal and Ubiquitous Computing</source>
          ,
          <volume>15</volume>
          (
          <issue>4</issue>
          ),
          <fpage>329</fpage>
          -
          <lpage>339</lpage>
          , (
          <year>2011</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10. T. G. Stavropoulos,
          <string-name>
            <given-names>K.</given-names>
            <surname>Gottis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Vrakas</surname>
          </string-name>
          ,
          <string-name>
            <surname>and I. Vlahavas</surname>
          </string-name>
          , '
          <article-title>awesome: A web service middleware for ambient intelligence'</article-title>
          ,
          <source>Expert Syst. Appl.</source>
          ,
          <volume>40</volume>
          (
          <issue>11</issue>
          ),
          <fpage>4380</fpage>
          -
          <lpage>4392</lpage>
          , (
          <year>2013</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11. T. G. Stavropoulos,
          <string-name>
            <given-names>E.</given-names>
            <surname>Kontopoulos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Bassiliades</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Argyriou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Bikakis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Vrakas</surname>
          </string-name>
          ,
          <string-name>
            <surname>and I. Vlahavas</surname>
          </string-name>
          , '
          <article-title>Rule-based approaches for energy savings in an ambient intelligence environment'</article-title>
          ,
          <source>Journal of Pervasive and Mobile Computing</source>
          , to appear.
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <given-names>A.</given-names>
            <surname>Capone</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Barros</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Hrasnica</surname>
          </string-name>
          , and
          <string-name>
            <given-names>S.</given-names>
            <surname>Tompros</surname>
          </string-name>
          , '
          <article-title>A new architecture for reduction of energy consumption of home appliances', in TOWARDS eENVIRONMENT, European conference of the Czech Presidency of the Council of the EU</article-title>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>8</lpage>
          , (
          <year>2009</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>M. Eisenhauer</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Rosengren</surname>
            , and
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Antolin</surname>
          </string-name>
          , '
          <article-title>Hydra: A development platform for integrating wireless devices and sensors into ambient intelligence systems'</article-title>
          ,
          <source>in The Internet of Things</source>
          ,
          <fpage>367</fpage>
          -
          <lpage>373</lpage>
          , Springer, (
          <year>2010</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>A. De Paola</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Gaglio</surname>
            , G. Lo Re, and
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Ortolani</surname>
          </string-name>
          , '
          <article-title>Sensor9k: A testbed for designing and experimenting with wsn-based ambient intelligence applications'</article-title>
          ,
          <source>Pervasive and Mobile Computing</source>
          ,
          <volume>8</volume>
          (
          <issue>3</issue>
          ),
          <fpage>448</fpage>
          -
          <lpage>466</lpage>
          , (
          <year>2012</year>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>