<!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>Quality Extensions and Uncertainty Handling for Context Ontologies</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Davy Preuveneers</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Yolande Berbers</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>Context, by nature, involves real world entities and is therefore subject to uncertainty and inaccuracies. Ontologies are often used to model context in a formal way in order to achieve a shared semantic understanding of concepts and the relationships that hold among them. However, they lack support for representing ambiguous context and appropriate comparison algorithms. As such, context-aware applications may make the assumption that the context they use is completely accurate. In this paper we propose a simple and lightweight yet generic approach to extend context ontologies with quality of context properties and discuss the use of these quality properties for context ontology matching under uncertainty using fuzzy set theory. We illustrate the proposed extensions and uncertainty mechanisms with a small example where uncertain spatiotemporal coverage is combined with other contextual properties.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>INTRODUCTION</title>
      <p>
        Context-awareness has been drawing much attention from
researchers in the ubiquitous and pervasive computing domain [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] as
context has become a key ingredient to create a whole range of smart
entertainment and business applications that are more supportive to
the user. Context [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] has been defined as any information that can
be used to characterize the situation of an entity. Humans take this
context information into account rather intuitively, whereas
contextaware applications require an explicit model to take advantage of
context information for non-intrusive decision making and
adaptation [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. Imperfections in the context data can cause incorrect or
unintended application behavior as relationships between similar context
properties become uncertain. For example, the precision of a
coordinate based positioning system is required to decide whether a given
position matches with a location such as ‘at the office’.
      </p>
      <p>
        In this paper we propose to extend context ontologies with quality
of context properties and discuss a lightweight and generic approach
for matching under uncertainty that is simple enough to be
implemented and used on resource constrained devices, such as PDAs.
The remainder of this paper is organized as follows. In section 2
we describe related work on quality of context and reasoning with
uncertainty. Section 3 discusses how quality of context aspects are
introduced into our context ontology. Section 4 describes the use
of membership functions based on the concept of fuzzy set theory
to achieve advanced matching mechanisms for context ontologies in
the presence of uncertainty. In section 5 we conduct an experiment
illustrating uncertain spatio-temporal coverage combined with other
contextual properties to validate the matching mechanisms in more
advanced scenarios. We conclude with section 6.
2
In this section we focus on those contributions on quality of
context and uncertainty management for mediation of ambiguous
context that are most related to the work presented in this paper. This
work is based on the ideas presented in Buchholz et al. [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ], where
the authors identify parameters that quantify the Quality of Context
(QoC) and the inevitable uncertainty of sensed values for individual
context properties:
• Precision: describes how sharply defined a measurement is stated
and what the difference is with the actual value in the real world.
• Probability of correctness: estimates how often the context
information is unintentionally wrong due to internal errors.
• Trust-worthiness: describes the reliability of the entity that may
have persistently provided incorrect information in the past.
• Resolution: describes the granularity of the information and the
inability to offer information with a finer detail.
• Up-to-dateness: describes the age of information which can be
used to decide on the temporal relevancy in a particular situation.
      </p>
      <p>
        Henricksen et al. [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] explore the problem of imperfect context
information and characterize the following four types and sources of
imperfect context information: Unknown, Ambiguous, Imprecise and
Erroneous. The first two types of imperfection are new, whereas the
latter two types combine several Quality of Context properties on the
list of the work by Buchholz et al..
      </p>
      <p>
        In [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] Parsons describes qualitative methods for reasoning with
various types of imperfect information and argues that qualitative
methods have the advantage to not require precise numerical
information, but instead to rely on abstractions such as interval values and
information about how values change.
      </p>
      <p>
        Chalmers et al. show in [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] how context can be formulated in the
presence of uncertainty using interval arithmetic for numerical
context values, and analogously using trees with abstract values for
context ontologies. The authors define within and overlap relationships
between actors and context objects both for numerical and abstract
values in order to compare context information.
3
      </p>
      <p>EXTENDING ONTOLOGIES WITH</p>
      <p>
        QUALITY PARAMETERS
Ontologies and the Web Ontology Language (OWL) are very
popular for a systematic arrangement of context concepts and the
relationships that hold among them [
        <xref ref-type="bibr" rid="ref10 ref2 ref5">10, 2, 5</xref>
        ]. In our previous work [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]
we defined an OWL context model specifying User, Platform,
Service, Environment and related concepts to provide a shared semantic
understanding for context-driven adaptation of mobile services. Our
context system [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] is able to gather and interpret this information. In
rdf:Property
owl:ObjectProperty
owl:DatatypeProperty
correctness
precision
      </p>
      <p>trust
QualityExtension
resolution
...
owl:QXObjectProperty
owl:QXDatatypeProperty
class
property</p>
      <p>
        instance
the case of uncertainty in the gathered information, the context-aware
system needs context quality parameters in OWL in order to
determine a high confidence of correctness of matching context
information. We will now show how the Quality of Context (QoC)
parameters discussed in [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] are modeled by means of two new property
types, QXObjectProperty and QXDatatypeProperty. Both property
types inherit from the DatatypeProperty and ObjectProperty OWL
language constructs, as well as from a self-defined class
QualityExtension which models the Quality of Context parameters precision,
correctness, trust and resolution as DatatypeProperties:
In the real world context information can be vague, imprecise,
uncertain, ambiguous, inexact, or probabilistic in nature. We therefore
p
i
h
s
r
e
b
m
e
M
0
p
i
h
s
r
e
b
m
e
M
0
c*t
r
r
      </p>
      <p>fV(x)
p*(v-r)
v-r
v
v+r 2v-p*(v-r)</p>
      <p>X
In classical set theory the membership of an element to a set can be
clearly described. In fuzzy set theory, an element belongs to a set with
a certain possibility of membership. Age is a typical example of a
fuzzy concept. There is no single quantitative value or clear boundary
defined for the term young: age 25 can be young for some, while age
30 can be young for others. However, age 1 is definitely young, while
age 100 is is definitely not young.</p>
      <p>We can model the membership function for a single sensed value
using the Quality of Context parameters in a similar way. Assume
a sensed value v has a precision p, a probability of correctness c,
a trust-worthiness t and a resolution r, with 0 ≤ p, c, t ≤ 1, then
we define the following symmetric membership function fV (x) with
x ∈ X for the sensed value v as in Figure 2. Note how the Quality
of Context parameters change the crisp sensed value into an interval
with a particular symmetric shape of the fuzzy set.
For example, our WiFi location sensor uses multiple Received
Signal Strength Indication (RSSI) values as a distance measurement to
known access points and models them as fuzzy sets. An example of
such an averaged sum of these fuzzy sets is shown in Figure 3. Note
that the aggregated fuzzy set is no longer symmetric.</p>
      <p>
        We define a match between two sensed values with fuzzy sets A
and B and membership functions fA(x) and fB (x) based on the
intersection of fuzzy sets A and B. The intersection [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] is a fuzzy set
C = A T B with a membership function fC (x) = fA(x) V fB (x)
which is defined as follows:
      </p>
      <p>fC (x) = fA(x) V fB (x) = Min[fA(x), fB (x)]
Two fuzzy concepts match if their overlapping area is larger than a
user-defined and context-specific threshold α:
0 ≤ α ≤ M in[RXRfXA(fxC)(,xR)X fB (x)] ≤ 1 with x ∈ X
Of course, when one of the membership functions is f (x) = 0 or
when the overlap is zero, then there is no need to calculate this ratio.
5</p>
    </sec>
    <sec id="sec-2">
      <title>EVALUATION</title>
      <p>This subsection discusses the scenario used for a preliminary
evaluation of the uncertainty mechanisms for matching context
information. A PDA enabled with WiFi networking is used for Received
Signal Strength Indication (RSSI) based location-awareness. The
computer science building has about 100 offices, labs and meeting rooms
and is equipped with 7 access points for wireless Internet access on
all 5 floors. In the first step we trained the system by walking around
in the building and taking about 10 measurements for several offices.</p>
      <p>We determined the Quality of Context parameters based on a long
test run while remaining at the same location. We looked for outliers
in the sampled data, calculated the mean and variation in the data and
estimated the values of the QoC parameters as follows:
• Precision: 95%
• Probability of correctness: 90%
• Trust-worthiness: 100%
• Resolution: 3 dBm
Using this information, the average fuzzy set for each of the
access points that were seen in a particular office was calculated.
After ordering the overlap ratios by decreasing order, and selecting the
fuzzy set with the highest overlapping ratio, the locations matched,
although non of the new RSSI measurements was exactly equal to a
previously encountered measurement at the same location.</p>
      <p>In a second test scenario which illustrates spatio-temporal
coverage, my PDA informs the instant messaging client on my desktop
system on my whereabouts and adjusts my status accordingly. I
usually have lunch around 12h30 and 13h00 together with my colleagues
in a room which is also used for meetings. Both time and place should
match in order for my client to change to the ‘out for lunch’ status.
If only the location matches, then my status should be ‘in a
meeting’. Otherwise, if I am not in my office, I will ‘be right back’. Both
location and time are modeled as fuzzy sets.</p>
      <p>This simple test case with multiple fuzzy sets being matched
worked fine in 4 out of 5 cases. On one day I had lunch at 13h30,
but had a meeting before at the same place. The instant messaging
client decided too early that I was out for lunch, and claimed that I
had a meeting while I was still having lunch. This was due to the fact
that the precision for the lunch time was set to high in order to match.</p>
      <p>In the end, this simple approach using fuzzy set matching worked
rather well for this particular application. However, for a large
number of fuzzy sets that have to match at the same time, it becomes very
difficult to decide which context information matches best as more
and more scenarios will become equally likely.</p>
    </sec>
    <sec id="sec-3">
      <title>CONCLUSION</title>
      <p>In this paper we have proposed a simple and lightweight extension
to the OWL language to model quality of context properties in order
to deal with ambiguous and imperfect context information. We have
discussed the use of these quality parameters in automated
uncertainty reasoning to achieve more advanced matching mechanisms for
context ontologies. This automated uncertainty reasoning was based
on concepts of fuzzy set theory. We have illustrated the proposed
ontology extensions and the fuzzy comparing algorithms with small
examples which included spatio-temporal coverage as fuzzy sets.</p>
      <p>The proposed matching mechanisms are still a work in progress,
but worked as expected for the examples. Difficulties are assumed to
arise when the number of fuzzy sets involved in a single contextual
condition is going to increase. We therefore will further continue to
refine the membership functions by including the likelihood of
context information in order to reduce to possible scenarios that may
match under particular circumstances. One improvement that may
proof to be useful is the inclusion of likelihood of events. This will
better differentiate the likelihood of fuzzy matches.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>D.</given-names>
            <surname>Chalmers</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Dulay</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Sloman</surname>
          </string-name>
          , '
          <article-title>Towards reasoning about context in the presence of uncertainty'</article-title>
          ,
          <source>in Proceedings of Workshop on Advanced Context Modelling, Reasoning And Management at UbiComp</source>
          <year>2004</year>
          , (
          <year>2004</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Harry</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <surname>Tim Finin</surname>
          </string-name>
          , and Anupam Joshi, '
          <article-title>An ontology for contextaware pervasive computing environments', Special Issue on Ontologies for Distributed Systems</article-title>
          , Knowledge Engineering Review, (
          <year>2003</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>D.</given-names>
            <surname>Preuveneers</surname>
          </string-name>
          , et al., '
          <article-title>Towards an extensible context ontology for ambient intelligence'</article-title>
          ,
          <source>in Second European Symposium on Ambient Intelligence</source>
          , volume
          <volume>3295</volume>
          <source>of LNCS</source>
          , pp.
          <fpage>148</fpage>
          -
          <lpage>159</lpage>
          , Eindhoven, The Netherlands, (
          <issue>Nov 8 - 11</issue>
          <year>2004</year>
          ). Springer.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Anind</surname>
            <given-names>K.</given-names>
          </string-name>
          <string-name>
            <surname>Dey</surname>
          </string-name>
          , '
          <article-title>Understanding and using context', Personal Ubiquitous Comput</article-title>
          .,
          <volume>5</volume>
          (
          <issue>1</issue>
          ),
          <fpage>4</fpage>
          -
          <lpage>7</lpage>
          , (
          <year>2001</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <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>
            <surname>D. Q. 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>
          , San Diego, California, USA,
          <year>January 2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Karen</given-names>
            <surname>Henricksen</surname>
          </string-name>
          and Jadwiga Indulska, '
          <article-title>Modelling and using imperfect context information'</article-title>
          ,
          <source>in PERCOMW '04: Proceedings of the Second IEEE Annual Conference on Pervasive Computing and Communications Workshops</source>
          , p.
          <fpage>33</fpage>
          , Washington, DC, USA, (
          <year>2004</year>
          ). IEEE Computer Society.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>Simon</given-names>
            <surname>Parsons</surname>
          </string-name>
          ,
          <article-title>Qualitative Methods for Reasoning under Uncertainty</article-title>
          , The MIT Press,
          <year>August 2001</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Davy</given-names>
            <surname>Preuveneers</surname>
          </string-name>
          and Yolande Berbers, '
          <article-title>Adaptive context management using a component-based approach'</article-title>
          ,
          <source>in Proceedings of 5th IFIP International Conference on Distributed Applications and Interoperable Systems (DAIS2005), Lecture Notes in Computer Science (LNCS)</source>
          . Springer Verlag, (
          <year>June 2005</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>Davy</given-names>
            <surname>Preuveneers</surname>
          </string-name>
          and Yolande Berbers, '
          <string-name>
            <surname>Automated</surname>
          </string-name>
          context
          <article-title>-driven composition of pervasive services to alleviate non-functional concerns'</article-title>
          ,
          <source>International Journal of Computing and Information Sciences</source>
          ,
          <volume>3</volume>
          (
          <issue>2</issue>
          ),
          <fpage>19</fpage>
          -
          <lpage>28</lpage>
          , (
          <year>August 2005</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Thomas</surname>
            <given-names>Strang</given-names>
          </string-name>
          , Claudia Linnhoff-Popien, and Korbinian Frank, '
          <article-title>CoOL: A Context Ontology Language to enable Contextual Interoperability'</article-title>
          ,
          <source>in LNCS 2893: Proceedings of 4th IFIP WG 6.1 International Conference on Distributed Applications and Interoperable Systems (DAIS2003)</source>
          , volume
          <volume>2893</volume>
          of Lecture Notes in Computer Science (LNCS), pp.
          <fpage>236</fpage>
          -
          <lpage>247</lpage>
          , Paris/France, (
          <year>November 2003</year>
          ). Springer Verlag.
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>T.</given-names>
            <surname>Buchholz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Kupper</surname>
          </string-name>
          and
          <string-name>
            <given-names>M.</given-names>
            <surname>Schiffers</surname>
          </string-name>
          , '
          <article-title>Quality of context: What it is and why we need it'</article-title>
          ,
          <source>in Proceedings of the 10th Workshop</source>
          of the OpenView University Association: OVUA'
          <fpage>03</fpage>
          ,
          <string-name>
            <surname>Geneva</surname>
          </string-name>
          , Switzerland, (
          <year>July 2003</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>Mark</given-names>
            <surname>Weiser</surname>
          </string-name>
          , '
          <article-title>The Computer for the Twenty-First Century'</article-title>
          ,
          <source>Scientific American</source>
          ,
          <fpage>99</fpage>
          -
          <lpage>104</lpage>
          , (
          <year>September 1991</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <surname>Lotfi</surname>
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Zadeh</surname>
          </string-name>
          , 'Fuzzy sets',
          <source>Information and Control</source>
          , (
          <volume>8</volume>
          ),
          <fpage>338</fpage>
          -
          <lpage>383</lpage>
          , (
          <year>1965</year>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>