<!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>Statement of Interest</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Alessandra Agostini</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Daniele Riboni</string-name>
          <email>ribonig@dico.unimi.it</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Context Aggregation and REasoning middleware</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Minds” project N. RBNE01WEJT 005)</institution>
        </aff>
      </contrib-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>The research group of the DaKWE laboratory at the University of
Milan has been working for the last three years at the specification
and implementation of a middleware – named CARE3 – to support
context-aware service adaptation for mobile users. CARE has three
major goals: a) supporting the fusion and reconciliation of context
data obtained from distributed sources, b) supporting context
dynamics through an efficient form of reasoning, and c) capturing complex
context data that go beyond simple attribute-value pairs.</p>
      <p>
        While goal b) has been considered in other works [
        <xref ref-type="bibr" rid="ref11 ref6">6, 11</xref>
        ], it
becomes more difficult to achieve when different sets of inference rules
are provided by distributed sources. Even more difficult is to
conciliate efficient reasoning with the expressiveness requirements imposed
by the goal c).
      </p>
      <p>
        The CARE middleware and its underlying technical solutions have
been presented in [
        <xref ref-type="bibr" rid="ref1 ref3">1, 3</xref>
        ]. In our framework the contextual data, being
by nature distributed, is managed by different entities (i.e., the user,
the network operator, and the service provider). We call profile a
subset of context data collected and managed by a certain entity. Each
entity has a dedicated Profile Manager for handling its own context
data. Profiles include both shallow context data and ontology-based
context data which is expressed by means of references to
ontological classes and relations. Both the user and the service provider can
declare policies in the form of rules over profile data which guide
the adaptation and final personalization of the service. A dedicated
module is in charge of building the aggregated context data for the
application logic. In particular, it evaluates adaptation policies and
solves possible conflicts arising among context data and/or policies
provided by different entities. The ad-hoc rule-based reasoner is
particularly efficient if no ontological reasoning is performed, having
linear complexity. Experimental results have shown that the
evaluation of rules is executed in few milliseconds.
      </p>
      <p>
        In our framework we need to model both simple context data such
as device capabilities or current network bearer, and socio-cultural
context data describing, for instance, the user current activity, the set
of persons and objects a user can interact with, and the user interests.
While the first category, that we call shallow context data, can be
naturally modeled by means of attribute/value pairs, the second one calls
for more sophisticated representation formalisms – such as
ontologies – and we call it ontology-based context data. Similarly to other
research works (e.g., [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] and [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]), we have adopted OWL [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] as the
language for representing ontology-based context data. This choice
is motivated by the fact that the description logic languages
underlying the Lite and DL sublanguages of OWL guarantee completeness
and decidability, while promising high expressiveness. Moreover, a
number of tools already exist for processing OWL ontologies and,
being OWL a W3C Recommendation, the available utilities should
further increase.
      </p>
      <p>For a framework in which efficiency is a fundamental requirement,
the introduction of ontological reasoning is particularly challenging.
The hybrid approach implemented in CARE is based on a loose
interaction between ontological and rule-based reasoning. While
rulebased reasoning is performed at the time of the service request,
ontological reasoning is mostly performed asynchronously by profile
managers. However, in particular cases, ontological reasoning must
be performed at the time of the user request, after having populated
the ontology with instances collected from the distributed profile
managers. In order to illustrate the hybrid mechanism, suppose that
a user declared a policy rule asking to set her status to busy when
involved in a business meeting:</p>
      <p>If Activity = ‘BusinessMeeting’ then Status = ‘Busy’
(1)
Since the rule precondition predicate Activity is an ontology-based
context parameter, its value must be inferred through ontological
reasoning before evaluating the rule.</p>
      <p>As an example, consider a possible definition of the
BusinessMeeting activity:</p>
    </sec>
    <sec id="sec-2">
      <title>BusinessMeeting ´ Activity u ¸ 2 Actor u</title>
    </sec>
    <sec id="sec-3">
      <title>8 Actor.Employee u 9 Location.WorkLocation</title>
      <p>Based on this definition, in order to check whether the user is
involved in a business meeting it is necessary to have information about
the people she is with (possibly derived by the user profile manager
analyzing her agenda) and her current location (possibly provided by
the network operator). This data is added to the assertional part of
the ontology (i.e., the ABox).</p>
      <p>
        Our initial experimental setup was based on the realization of the
whole ABox upon receiving the context data from the profile
managers. The current user activity was identified by performing nRQL
queries to the well-known description logic reasoner Racer [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ].
      </p>
      <p>Even if OWL-DL guarantees completeness and decidability,
performing online reasoning tasks with an OWL ontology could be
computationally unfeasible, especially when providing an interactive
service to a possibly huge number of users. Despite several assessments
on the performance of reasoning with description logics are
available, we performed some tests in order to verify the feasibility of
executing ontological reasoning at the time of the service request
with our specific OWL-DL ontologies. As expected, experimental
results showed that query response times are strongly correlated to
the number of instances of the examined ontology class as well as to
the depth of the class within the ontology hierarchy. Our results
confirmed that the execution of these ontological reasoning tasks at the
time of the service request is unfeasible, even having a small
ontology populated with few instances. In particular, query response times
in our experiments are in the order of seconds.</p>
      <p>
        We are investigating alternative approaches for overcoming the
above mentioned computational issues. A possible solution consists
in keeping the terminological part of the ontology (i.e., the TBox)
static, in order to be able to perform the TBox classification [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]
offline. In this way it is possible to save a good amount of
computational time while serving user requests, since the ontology
classification task is particularly expensive.
      </p>
      <p>
        Furthermore, the assertional part of the ontology can be filled
offline with those instances that are known a priori, i.e., before
retrieving context data from the distributed profile managers. This data
obviously depends on the particular domain addressed by the ontology.
In the case addressed by our example, the ABox should be populated
with a huge number of instances, including those that correspond to
the employees of the user organization, and to particular locations
(e.g., rooms belonging to the organization). After having populated
the ontology with these instances, it is possible to perform the ABox
realization [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] offline. Once again, ABox realization is an expensive
reasoning task, which is unsuitable to perform online when the
ontology contains a huge number of instances.
      </p>
      <p>At the time of the user request, the ABox is filled with only those
instances that are retrieved from the profile managers. Considering
the ontology definition (1) of our example, the instances to be
inserted into the ontology correspond to a new activity currentActivity
– the one performed by the user – and to the relations that link that
activity to its actors and location. Adopting this approach, the only
reasoning task that must be performed online is the instance checking
of the single currentActivity instance with respect to the
BusinessMeeting concept.</p>
      <p>As a preliminary step for assessing the feasibility of this approach,
we are going to perform extensive experiments for estimating the
execution times of this task in relation to various dimensions, including
the TBox size, the number of instances that are known a priori, and
the number of instances that are introduced into the ABox at the time
of the user request.</p>
      <p>
        Moreover, we are interested in testing some optimization
techniques aimed at improving the efficiency of ABox reasoning. These
optimizations are based on the use of relational database techniques.
A well-known proposal in this sense is the InstanceStore system [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
However, at the time of writing, InstanceStore has some limitations
that are critical for our reasoning scenarios. Indeed, it does not
allow the introduction of relations between individuals into the ABox.
An alternative proposal for optimizing ABox reasoning by means of
DBMS techniques can be found in [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. Since in this case relations
between individuals are supported, we are investigating the use of
similar techniques in our framework.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>A.</given-names>
            <surname>Agostini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Bettini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Cesa-Bianchi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Maggiorini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Riboni</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Ruberl</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Sala</surname>
          </string-name>
          , and
          <string-name>
            <given-names>D.</given-names>
            <surname>Vitali</surname>
          </string-name>
          , '
          <article-title>Towards Highly Adaptive Services for Mobile Computing'</article-title>
          ,
          <source>in Proceedings of IFIP TC8 Working Conference on Mobile Information Systems (MOBIS)</source>
          , pp.
          <fpage>121</fpage>
          -
          <lpage>134</lpage>
          . Springer, (
          <year>2004</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>The</given-names>
            <surname>Description Logic Handbook: Theory</surname>
          </string-name>
          , Implementation, and Applications, eds.,
          <string-name>
            <surname>Franz</surname>
            <given-names>Baader</given-names>
          </string-name>
          , Diego Calvanese, Deborah L.
          <string-name>
            <surname>McGuinness</surname>
          </string-name>
          ,
          <string-name>
            <surname>Daniele Nardi</surname>
          </string-name>
          , and
          <string-name>
            <surname>Peter F. Patel-Schneider</surname>
          </string-name>
          , Cambridge University Press,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>C.</given-names>
            <surname>Bettini</surname>
          </string-name>
          and
          <string-name>
            <given-names>D.</given-names>
            <surname>Riboni</surname>
          </string-name>
          , '
          <article-title>Profile Aggregation and Policy Evaluation for Adaptive Internet Services'</article-title>
          ,
          <source>in Proceedings of The First Annual International Conference on Mobile and Ubiquitous Systems: Networking and Services (Mobiquitous)</source>
          , pp.
          <fpage>290</fpage>
          -
          <lpage>298</lpage>
          . IEEE Computer Society, (
          <year>2004</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Cui</given-names>
            <surname>Ming</surname>
          </string-name>
          <string-name>
            <surname>Chen</surname>
          </string-name>
          , '
          <article-title>Large Abox Store (LAS): Database Support for Abox Queries'</article-title>
          ,
          <source>Master Thesis</source>
          , Concordia University, Montreal, Quebec, Canada, (
          <year>September 2005</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Harry</given-names>
            <surname>Chen</surname>
          </string-name>
          , Filip Perich,
          <string-name>
            <surname>Timothy W. Finin</surname>
          </string-name>
          , and Anupam Joshi, '
          <article-title>SOUPA: Standard Ontology for Ubiquitous and Pervasive Applications</article-title>
          .',
          <source>in Proceedings of the 1st Annual International Conference on Mobile and Ubiquitous Systems (MobiQuitous</source>
          <year>2004</year>
          ),
          <article-title>Networking</article-title>
          and Services, pp.
          <fpage>258</fpage>
          -
          <lpage>267</lpage>
          . IEEE Computer Society, (
          <year>2004</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>B.</given-names>
            <surname>Grosof</surname>
          </string-name>
          , '
          <article-title>Prioritized Conflict Handling for Logic Programs'</article-title>
          ,
          <source>in Proceedings of the International Logic Programming Symposium (ILPS)</source>
          , pp.
          <fpage>197</fpage>
          -
          <lpage>211</lpage>
          , (
          <year>1997</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>T.</given-names>
            <surname>Gu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X. H.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H. K.</given-names>
            <surname>Pung</surname>
          </string-name>
          , and
          <string-name>
            <given-names>D. Q.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , '
          <article-title>An Ontology-based Context Model in Intelligent Environments'</article-title>
          ,
          <source>in Proceedings of Communication Networks and Distributed Systems Modeling and Simulation Conference</source>
          , (
          <year>2004</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Volker</given-names>
            <surname>Haarslev</surname>
          </string-name>
          and
          <article-title>Ralf Mo¨ller, 'RACER System Description'</article-title>
          ,
          <source>in Proceedings of Automated Reasoning</source>
          , First International Joint Conference (IJCAR
          <year>2001</year>
          ), pp.
          <fpage>701</fpage>
          -
          <lpage>706</lpage>
          . Springer, (
          <year>2001</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>Ian</given-names>
            <surname>Horrocks</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Lei</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Daniele</given-names>
            <surname>Turi</surname>
          </string-name>
          , and Sean Bechhofer, '
          <article-title>The Instance Store: DL Reasoning with Large Numbers of Individuals'</article-title>
          ,
          <source>in Proceedings of the 2004 International Workshop on Description Logics (DL2004)</source>
          , volume
          <volume>104</volume>
          <source>of CEUR Workshop Proceedings</source>
          . CEURWS.org, (
          <year>2004</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Ian</surname>
            <given-names>Horrocks</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Peter F. Patel-Schneider</surname>
          </string-name>
          , and Frank van Harmelen,
          <article-title>'From SHIQ and RDF to OWL: The Making of a Web Ontology Language'</article-title>
          ,
          <source>Journal of Web Semantics</source>
          ,
          <volume>1</volume>
          (
          <issue>1</issue>
          ),
          <fpage>7</fpage>
          -
          <lpage>26</lpage>
          , (
          <year>2003</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>R.</given-names>
            <surname>Hull</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Kumar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Lieuwen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Patel-Schneider</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Sahuguet</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Varadarajan</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Vyas</surname>
          </string-name>
          , '
          <article-title>Enabling Context-Aware and privacyConscius User Data Sharing'</article-title>
          ,
          <source>in Proceedings of the 2004 IEEE International Conference on Mobile Data Management</source>
          , pp.
          <fpage>187</fpage>
          -
          <lpage>198</lpage>
          . IEEE Computer Society, (
          <year>2004</year>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>