<!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>A Knowledge Management System for Assistive Robotics</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Luigi Asprino</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Aldo Gangemi</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Andrea Giovanni Nuzzolese</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Valentina Presutti</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Alessandro Russo</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>DISI - Universita di Bologna</institution>
          ,
          <addr-line>Bologna</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>LIPN, Universite Paris 13, Sorbone Cite, UMR CNRS</institution>
          ,
          <addr-line>Paris</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>STLab, ISTC-CNR</institution>
          ,
          <addr-line>Rome</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <fpage>46</fpage>
      <lpage>50</lpage>
      <abstract>
        <p>In this paper we demonstrate how to use an ontology network in order to ll the gap between knowledge and robots' abilities. The demonstration is focused on two components of the knowledge management system of MARIO robots. These components are the MARIO Ontology Network (i.e. MON) that organises knowledge in MARIO and an Object-RDF mapper, called Lizard, that dynamically generates APIs on top of the MON to enable the interaction between software components that implement robot's abilities and the MON itself.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
    </sec>
    <sec id="sec-2">
      <title>Related work</title>
      <p>
        In recent year many ontology based knowledge systems for robotics have been
proposed. Examples are ORA [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], RACE [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], and OUR-K frame work [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. ORA
introduces a core ontology that encompasses a set of terms commonly used in
Robotics and Automation along with the methodology we have adopted. RACE
uses an ontology for connecting actuator and sensory experiences with
semantics for implementing robots' abilities. OUR-K presents an ontology-based
unied robot knowledge framework that integrates low-level data with high-level
knowledge for robot intelligence. To the best of our knowledge none of the cited
works uses a modular ontology network to organise knowledge and foster its
reuse for implementing robots' abilities by means of an Object-RDF mapper
that dynamically provides HTTP REST APIs for interacting with such an
ontology network.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>MARIO Ontology Network</title>
      <p>In the following sections we describe the methodology adopted for designing the
MON and the resulting ontology modules.
3.1</p>
      <sec id="sec-3-1">
        <title>Design Methodology</title>
        <p>
          The MON is designed by following best design practices and pattern-based
ontology engineering aimed at extensively re-using Ontology Design Patterns
(ODPs) [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ] for modelling ontologies. The design methodology that we followed
is based on an extension [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] of the eXtreme Design [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ], an agile design
methodology developed in the context of the NeON project5. Such an extension mainly
focuses on providing ontology engineer with clear strategies for ontology re-use.
According to the guidelines provided by [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ], the strategy we adopted for the
development of the MON is the indirect re-use of ontology design patterns and
alignments. This means that ODPs are used as templates. At the same time,
the ontology guarantees interoperability by keeping the appropriate alignments
with the external ODPs, and provides extensions that satisfy more speci c
requirements. With this type of reuse, the potential impact of possible changes in
the external ontology modules (e.g. ODPs) is minimised.
3.2
        </p>
      </sec>
      <sec id="sec-3-2">
        <title>Ontology Network Modules</title>
        <p>Based on this methodology we designed the MON as a networked ontology6
composed of di erent modules that cover di erent knowledge areas that are
relevant to MARIO in order to make it a cognitive agent able to support older</p>
        <sec id="sec-3-2-1">
          <title>5 http://www.neon-project.org/nw/.</title>
          <p>
            6 The ontologies part of the network are available at http://www.
ontologydesignpatterns.org/ont/mario/. The root of the network is
available at http://www.ontologydesignpatterns.org/ont/mario/mario.owl.
patient a ected by dementia. The knowledge areas were identi ed by analysing
the use cases emerged from the system speci cation carried on for Pilot 1 in
the context of the Work Package 1 [
            <xref ref-type="bibr" rid="ref1">1</xref>
            ] of the MARIO project. These uses cases
mainly describe actions and behaviours that the robot should perform or select.
However, they also provide us with detailed descriptions about the nature of the
knowledge that the robot should deal with in order to perform and select actions
and behaviours, respectively. For each use case we highlighted the knowledge
domains required to address the use cases. This process was enabled by the
identi cation of the competency questions from the textual descriptions of the use
cases. We remark that in knowledge engineering the competency questions are
commonly identi ed as the requirements that an ontology has to address. Hence,
the knowledge domains emerged from the competency questions we collected,
i.e. the knowledge topics that speci c competency questions answers to. Finally,
we gathered a set of top-level knowledge areas by iteratively generalising the
knowledge domains.
          </p>
          <p>Figure 1 shows the ontologies composing the MON. Each color identi es a
speci c knowledge area, namely:
{ Personal sphere. People information, information about relationship among
people, contacts, etc.;
{ Life events. Information about everyday events, patterns memories,
scheduling, plans, etc.;
{ Social and multimedia content. Online social network community,
multimedia content such as photos, videos, movies, documents;
{ Environment. Information about rooms, furnitures, objects, etc.;
{ Health sphere. Information about living patterns, health patterns, vital
signs, anything related to CGI;
{ Emotional sphere. Information about emotions, sentiments, interests,
opinions related to people etc.;
{ Open knowledge. Speech-derived data, web-extracted data, etc.;
{ Regulatory sphere. Information about norms, rules, social habits etc.;
{ \MARIOception". Information about the MARIO robot, its
functionalities, and the applications it is able to run and to do.
4</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Binding MON with robots' abilities</title>
      <p>
        The MON organises knowledge in MARIO robots according to the areas
described in Section 3.2. However, robots' abilities are implemented in MARIO by
software components that can be plugged-in by means of the REST
architectural style. These software components are supposed to interact with the MON
in order to access, store, and dealing with the knowledge organised by the MON.
Hence, MARIO is provided with a Knowledge Management System that relies
on an Object-RDF mapper called Lizard7. An Object-RDF mapper is a system
7 Lizard is available as open source with Apache Version 2 license on GitHub at
https://github.com/anuzzolese/lizard
that exposes the RDF triple sets as sets of resources and seamlessly integrates
them into the Object Oriented paradigm. However, di erently from existing
systems such as SuRF8 or ActiveRDF9 [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], Lizard provides a RESTful layer that
exposes Object Oriented paradigm by using the REST architectural style over
HTTP. Basically, Lizard dinamically generates Java and HTTP REST APIs
from the MARIO Ontology Network (MON). Those APIs re ect the semantics
of MON and allow transparent access to the knowledge base. This means that
a client application (i.e., any component of the MARIO robotic framework) can
access the knowledge base without any prior knowledge of the ontologies used
within the KMS. For example, this avoids client applications to deal with OWL
      </p>
      <sec id="sec-4-1">
        <title>8 https://pythonhosted.org/SuRF/ 9 https://github.com/ActiveRDF/ActiveRDF</title>
        <p>and RDF or to interact with a knowledge base by means of SPARQL queries.
Additionally, Lizard embeds an Access Control Management System (ACMS)
that enables the setup of speci c access policies in order to guarantee the
access (either in read or write mode) to speci c knowledge areas only to a set of
allowed entities/systems. For example, an application that performs some
entertainment activity (e.g. play music) would not be allowed to access knowledge
about the Continuous Geriatric Assessment (CGA). Hence, the ACMS allows
Lizard to deal with some important data management aspects regarding data
access, security and data privacy.
5</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Conclusions</title>
      <p>In this paper we introduced the MARIO Ontology Network (i.e. MON) and
Lizard that are two components of the knowledge management system adopted
by MARIO robots. These two component enable (i) modular knowledge
organisation and (ii) dynamic APIs generation in oder to enable the development of
intelligent abilities in MARIO robots.</p>
      <p>Acknowledgements. The research leading to these results has received
funding from the European Union Horizons 2020 the Framework Programme for
Research and Innovation (2014-2020) under grant agreement 643808 Project
MARIO "Managing active and healthy aging with use of caring service robots".</p>
    </sec>
    <sec id="sec-6">
      <title>References</title>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Bisset</surname>
            ,
            <given-names>D.L.</given-names>
          </string-name>
          :
          <article-title>D1.1 MARIO System Speci cation for Pilot 1</article-title>
          .
          <source>Tech. rep., MARIO cosortium (dec</source>
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Blomqvist</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Presutti</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Daga</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gangemi</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Experimenting with eXtreme Design</article-title>
          . pp.
          <volume>120</volume>
          {
          <fpage>134</fpage>
          . Springer (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Gangemi</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Presutti</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          :
          <article-title>Ontology Design Patterns</article-title>
          . pp.
          <volume>221</volume>
          {
          <fpage>243</fpage>
          . Springer (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Lim</surname>
            ,
            <given-names>G.H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Suh</surname>
            ,
            <given-names>I.H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Suh</surname>
          </string-name>
          , H.:
          <article-title>Ontology-based uni ed robot knowledge for service robots in indoor environments</article-title>
          .
          <source>IEEE Transactions on Systems, Man, and Cybernetics-Part A: Systems and Humans</source>
          <volume>41</volume>
          (
          <issue>3</issue>
          ),
          <volume>492</volume>
          {
          <fpage>509</fpage>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Oren</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Heitmann</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Decker</surname>
            ,
            <given-names>S.:</given-names>
          </string-name>
          <article-title>ActiveRDF: Embedding Semantic Web data into object-oriented languages</article-title>
          .
          <source>Web Semantics</source>
          <volume>6</volume>
          (
          <issue>3</issue>
          ),
          <volume>191</volume>
          {
          <fpage>202</fpage>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Prestes</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Carbonera</surname>
            ,
            <given-names>J.L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rama Fiorini</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jorge</surname>
            ,
            <given-names>V.A.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Abel</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Madhavan</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Locoro</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Goncalves</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Barreto</surname>
            ,
            <given-names>M.E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Habib</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chibani</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gerard</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Amirat</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schleno</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Towards a core ontology for robotics and automation</article-title>
          .
          <source>Robotics and Autonomous Systems</source>
          <volume>61</volume>
          (
          <issue>11</issue>
          ),
          <volume>1193</volume>
          {
          <fpage>1204</fpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Presutti</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lodi</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nuzzolese</surname>
            ,
            <given-names>A.G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gangemi</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Peroni</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Asprino</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>The role of ontology design patterns in linked data projects</article-title>
          . pp.
          <volume>113</volume>
          {
          <fpage>121</fpage>
          . Springer (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Rockel</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Neumann</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhang</surname>
          </string-name>
          , J.,
          <string-name>
            <surname>Dubba</surname>
            ,
            <given-names>K.S.R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cohn</surname>
            ,
            <given-names>A.G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Konecny</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mansouri</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pecora</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sa</surname>
            <given-names>otti</given-names>
          </string-name>
          , A., Gunther,
          <string-name>
            <surname>M.</surname>
          </string-name>
          , et al.:
          <article-title>An ontology-based multi-level robot architecture for learning from experiences</article-title>
          .
          <source>In: Designing Intelligent robots: Reintegrating AI II</source>
          . pp.
          <volume>52</volume>
          {
          <fpage>57</fpage>
          . AAAI Press (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>