<!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>Short Paper: Semantic Sensor Composition</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Khoi-Nguyen Tran</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Michael Compton</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jemma Wu</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Rajeev Gor´e</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>CSIRO ICT Centre, ANU Campus</institution>
          ,
          <addr-line>Canberra, ACT 0200</addr-line>
          ,
          <country country="AU">Australia</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>College of Engineering and Computer Science, Australian National University</institution>
          ,
          <addr-line>Canberra, ACT 0200</addr-line>
          ,
          <country country="AU">Australia</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>This paper describes an application of semantics to sensors to automatically create sensor compositions. Two main contributions of this paper are a sensor ontology and a composition system. The OWL ontology describes user goals, functional and non-functional properties of sensors and sensor composition, while the Region Connection Calculus and Allen's Interval Algebra are used for describing the spatial and temporal properties of sensors. The composition system composes sensors and sensor processes to satisfy a user specified goal. Through experiments, this paper demonstrates the feasibility of semantics for specifying sensor compositions with low reasoning times, and the composition approaches with low composition times in most cases. Some scalability issues with semantic sensor networks are resolved with reasoning, but new composition approaches are needed for large scale use requiring large compositions.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Sensors are becoming more prevalent and diverse [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], requiring methods of
managing this diversity to ensure interoperability. This paper describes the
application of semantics to sensors for composition, which provides some semantic
interoperability. The definition of a sensor in this paper is “an entity capable of
observing a phenomenon and returning an observed value” [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Semantic sensor
composition allows data flow between sensors to be specified based on
semantic constraints of sensors and user goals. Semantics allow users to interact with
sensor networks without needing to know specifics of the sensor networks.
Abstracting these low level details is a way of dealing with the diversity of sensors.
This paper describes two contributions: a sensor ontology describing semantic
constraints of sensors and goals, and a composition system that uses these
constraints and reasoning to build sensor compositions satisfying user goals.
      </p>
      <p>
        The sensor ontology describes semantics for composition such as types,
processes, spatial and temporal properties, user goals, and sensor specific semantics.
The Web Ontology Language (OWL) (specifically OWL 1.1 [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]) is used to specify
these semantics. To improve the expressivity of spatial and temporal properties,
semantics from the Region Connection Calculus (RCC) [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] and Allen’s Interval
Algebra (AIA) [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], respectively, are used in addition to OWL. This semantic
diversity is advantageous [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] by expressing relations of regions for sensing and
communication, and of time intervals for operation time. These relations
simplify the quantitative descriptions of regions and intervals, and allow reasoning
in their respective logics, which are not covered by OWL.
      </p>
      <p>The composition system, in the initialisation phase, takes syntactic sensor
specifications, extracts the semantics, and asserts them into the sensor ontology.
The derivation of RCC and AIA relations are performed by the composition
system. In the composition phase, a matchmaking algorithm then analyses a set
of sensors and sensor processes to create a set of possible matches based on the
sensor and user goal constraints. A composition algorithm then creates composite
sensors by building a binary tree of source to target sensors using the matches.
The new composite sensors are then added to the current set of sensors. The
process repeats until the goals are satisfied or there are no more compositions
to be created. Every composition must end at data collecting sensors or base
stations.</p>
      <p>This paper discusses experiments that evaluate the capabilities of the
composition system through three aspects of sensor networks: the number of
neighbouring sensors, the number of sensors in the network, and the length of composition.
The first aspect looks at wide composition trees, which translates to many short
compositions at each sensor. The second aspect tests the filtering of relevant
sensors and processes by the matchmaking algorithm. The third aspect looks
at deep composition trees, or long sensor compositions. Favourable results are
seen with the first two experiments with low execution and reasoning time. The
third experiment shows some scalability issues with the matchmaking approach
adopted by other sensor composition systems.</p>
      <p>An evaluation of the sensor ontology and composition system is given to
identify and discuss strengths and weaknesses of the system. The novel addition of
RCC and AIA semantics in addition to OWL allows relations about spatial and
temporal properties be asserted in the ontology. These additions are exploited
in the composition system through the fast reasoning to find spatially and
temporally collocated sensors. The composition system allows composition to be
created automatically based on user specified goals. While short compositions
can be found quickly, long and large sensor compositions are still problematic
because of the matchmaking approach. However, the application of semantics to
sensors shows feasibility for composition, which provides semantic
interoperability of sensor resources, and automation of many tasks, allowing users to interact
with sensor networks on a higher level by expressing queries and goals.</p>
      <p>
        The rest of this paper is organized as follows. Section 2 summarises related
work. Section 3 describes the semantic constructs of the sensor ontology with
visualisations. Section 4 describes the composition system. Section 5 shows a
few experiments with the system. Section 6 gives an evaluation of the ontology
and the system. Section 7 provides concluding remarks. The sensor ontology and
other artefacts from this paper, including the original thesis [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], are available from
http://cs.anu.edu.au/people/Nguyen.Tran/SemanticSensorComposition/.
      </p>
    </sec>
    <sec id="sec-2">
      <title>Related Work</title>
      <p>This section looks at the related research fields of semantic Web service
composition (SWSC), sensor ontologies and sensor composition.</p>
      <p>
        In SWSC, semantic interoperability of Web services provides additional
capabilities that can be automated: (semantic) searching, invocation, composition,
interoperation, execution monitoring and recovery [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. Syntactic interoperability
of Web services is the syntax and the established communication protocols of
the Web. To gain additional functionalities that are meaningful to humans, Web
Services are marked up semantically using ontologies. For example, searching
for the desired output of Web services based on ambiguous terms, and
composing multiple Web services to create a new Web service that satisfies some user
goals [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. The semantics for Web services and their composition are adapted to
this work for sensor processes in a similar way to L´ecu´e et al. [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ].
      </p>
      <p>
        The research on sensor ontologies has produced many ontologies for modelling
of sensors and their capabilities, but they are domain specific for each research
community [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ], such as focusing on marine or geospatial use. The design of
the sensor ontology makes extensions or integration simpler to perform. For
example, the CSIRO sensor ontology is a generic sensor ontology that describes
sensor capabilities and operation [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. The ontology provides some of the basic
semantics for describing sensors in the sensor ontology. The sensor ontology could
be integrated into the CSIRO sensor ontology to provide diverse semantics that
have been evaluated with a sensor composition system.
      </p>
      <p>
        There are two sensor composition systems that relates to this paper by
focusing on the data flow in sensor networks: a Semi-Automatic Sensor Composer and
Semantic Streams. The Semi-Automatic Sensor Composer is an extension of the
Semi-Automatic Web services Composer [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. The composer uses a matchmaking
algorithm to compose the Web services [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. The extension adds non-functional
sensor attributes to the Web Services on the sensor. The composition system
aids a user in matching sensors by their processes, a reinterpretation of Web
services, and non-functional attributes such as location and types. This approach
is clearly not scalable as there can be many sensors of many types in a sensor
network.
      </p>
      <p>
        Semantic Streams offers a fully automated semantic sensor composition
system based on Constraint Logic Programming Reals (CLP-R) [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]. The functional
and non-functional properties of sensors are described semantically in CLP-R.
The non-functional properties are hard-coded such as the numeric boundaries of
the sensing region. These boundaries are computed quantitatively for each query
to build the semantic streams of data flowing through the network. The sensor
compositions are deduced automatically from the inference engine with
backtracking capabilities. The Semantic Streams research shows the composition of
sensors being performed automatically. However the logic used is very restrictive
in its expressiveness and so limits the capabilities of the composition system.
      </p>
      <p>These two sensor composition systems have a similar composition approach
of identifying the user goals and build sensor composition trees towards that
goal. Composing sensors mainly differs from composing Web services by the
additional sensor, spatial and temporal properties. These properties add
additional complexities to the composition problem, which are not addressed by Web
services composition. This paper follows the composition approach of the two
sensor systems above.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Sensor Ontology</title>
      <p>This section describes the construction of the sensor ontology. Each of the
semantics used for composition can exist independently, but each is required in
the composition system.
3.1</p>
      <sec id="sec-3-1">
        <title>Type Semantics</title>
        <p>
          The top level of the COMETMAN energy classification scheme of sensors is
used in the sensor ontology: Chemical, Optical, Mechanical, Electrical, Thermal,
Magnetic, Acoustic, and Nuclear [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ]. These can be extended to be more or less
descriptive of a sensor or a family of sensors.
3.2
        </p>
      </sec>
      <sec id="sec-3-2">
        <title>Process Semantics</title>
        <p>
          The semantics for sensor processes are modelled after the CSIRO Sensor
Ontology [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ] with some differences and an explicit modelling of the data types,
inputs and outputs. Each process has a set of inputs and outputs. The data flow
between two processes is a match of an output to an input, which is recorded as
a binding. Figure 1 shows the ontology fragment of the P rocess concept.
Figure 2 shows the Binding concept, where the bindingDistance property records
the distance between the composed processes. The advantage with this form of
composition is the coordination or micro-management of sensors through their
inputs and outputs.
        </p>
        <p>The matching of outputs to inputs on the semantic level allows analysis
beyond precise or identical definitions required on the syntactic level. The added
semantics allows determining the degree of match of outputs to inputs, which
is exploited with the DataT ype concept. The hasDataT ype property maps to
a string representing the DataT ype concept. The composition system takes the
strings and interprets them as concepts3.
3.3</p>
      </sec>
      <sec id="sec-3-3">
        <title>Spatial Semantics</title>
        <p>
          Sensors have spatial information required in forming networks that can benefit
from a semantic interpretation, Figure 3. The sensing/communication regions of
sensors can be approximated with polygons [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ]. Polygons have the advantage
of storage of points of the polygon, and variability of region and number of
3 The Semantic Web Best Practice Description discusses this issue further: http:
//www.w3.org/TR/swbp-classes-as-values/.
points. An OWL mapping of the Region Connection Calculus (RCC) relations
describes the relationships between the regions. The RCC relations are externally
determined by analysing the polygons, and then asserted into the ontology. The
combined use of RCC and OWL provides semantic diversity and capabilities
beyond OWL.
        </p>
        <p>
          Some advantages of using RCC relations are that the RCC relations only
change when necessary, whereas numeric descriptions require frequent
computation. The view of the spatial and temporal world as relations is more natural
to users. The RCC relations can simplify the creation of sensor compositions
through RCC reasoning, but this is not explored in this paper. The
complexity of RCC can be varied by using more or fewer relations to describe spatial
properties [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ]. These advantages and the OWL integration makes RCC ideal to
describe spatial properties of sensors.
3.4
        </p>
      </sec>
      <sec id="sec-3-4">
        <title>Temporal Semantics</title>
        <p>
          Sensors operate over one or more time intervals that can be described
qualitatively using the thirteen exhaustive relations of Allen’s Interval Algebra (AIA) [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ].
The temporal semantics, Figure 4, are modelled after the AIA relations in the
OWL-Time ontology [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ] with some minor differences. The AIA relations are also
determined externally and then asserted into the ontology. The advantages of
using AIA are similar to the RCC advantages.
        </p>
        <p>Fig. 4. The temporal semantics in the sensor ontology.
3.5</p>
      </sec>
      <sec id="sec-3-5">
        <title>Sensor Semantics</title>
        <p>
          Sensors are the focus, which is reflected in Figure 5 showing the sensor semantics
in the sensor ontology. The AtomicSensor concept is described by the semantics
above. The CompositeSensor concept connects the sensors and defines the order
of execution and data flow.
Goals specify the desired results and constraints that the composition system
must try to satisfy. The semantics shown in Figure 6 are modelled after the
Sensor concept in a similar way that Lin et al. [
          <xref ref-type="bibr" rid="ref19">19</xref>
          ] specifies the goal ontology
for OWL-S. Only atomic goals are discussed in this paper, but composite goals
can be extended to specify the order goals need to be satisfied.
        </p>
        <p>The changeStream data property is used in the composition system to
determine if the most general data type of Stream should be instantiated.
Instantiating Stream to a more specific type allows sensors that can forward data to
forward it directly to sensors that can take that specific type. This allows for
sensors not required in the goal to be used and so extend the length of
compositions. The sensingRegionOverlap data property indicates whether the sensing
regions of the sensors must overlap.
4</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Semantic Sensor Composition System</title>
      <p>A conceptual model of the composition system, with the flow of information, is
given in Figure 7. This section covers the parts of the system surrounding the
sensor ontology. Syntactic descriptions of sensors and goals can be easily created
or generated. The composition system extracts semantics from these syntactic
descriptions and populates the sensor ontology. The following tools used are not
discussed: OWL 1.14, Pellet 2.0.0 RC75, and OWL API6.
4 http://www.w3.org/Submission/owl11-overview/
5 http://clarkparsia.com/pellet/
6 Version that came with Pellet 2.0 RC7 was used. http://owlapi.sourceforge.net/
Matching sensors is filtering the required sensors based on user goals and then
filtering on sensor properties as compositions are created. Filtering sensor types
matching the goal is a simple query. Filtering on spatial and temporal properties
is made simpler by the asserted RCC and AIA relations. The canSendDataT o
relation in the sensor ontology is derived from the RCC and AIA relations to
suggest sensors in range and that operate in the same time frames of each other.</p>
      <p>
        For sensor processes, the matching is based on their inputs and outputs. The
ontology allows determining the degree of match of the concept(s) of the
outputs to the concept(s) of the inputs. There are four degrees of matches: exact
(outputClass ≡ inputClass), subsumed by (outputClass v inputClass),
subsumes (outputClass w inputClass) and fail [
        <xref ref-type="bibr" rid="ref10 ref14">10,14</xref>
        ]. The sensors with processes
with inputs and outputs matching goal are filtered and the OWL reasoner is
invoked to determine the degree of match in the composition process.
      </p>
      <p>Creating new matches is performed by a matchmaking algorithm. The
algorithm creates a set of possible matches from the current working set of sensors
for the composition algorithm. The matches are recorded based on the Binding
concept with the structure of the properties of the concept. The composition
algorithm creates a new set of composite sensors on each iteration and the
matchmaking process is repeated on these new composite sensors.
The composition algorithm takes the bindings created by the matchmaking
algorithm and builds a binary tree of processes and sensors to create new composite
sensors. Base stations are defined as sensors having a process marked to be a data
collector. Composition is directed towards these sensors and all compositions end
with a base station.</p>
      <p>New composite sensors are checked against the goal requirements. If the new
composite sensors satisfy the goal, the system stops and adds the new sensors
into the sensor ontology; otherwise, the composite sensors are added to the
set of working sensors and the process repeats. The new composite sensors are
compared to the old sensors to reduce the number of comparisons. Circular
compositions resulting from composite processes on the same sensors or in a
chain of compositions are checked against the current composition trees.</p>
      <p>For experiments, the composition system is split into the “Initialisation Phase”,
encapsulating the creation and extraction of semantics from syntactic
descriptions (left half of Figure 7), and “Composition Phase” (right half of Figure 7),
encapsulating the composition system. Data collection and ontology consistency
checks of the ontology are performed at the start, middle, and end of the two
phases of the system. The data collected are summarised in next section.
5</p>
    </sec>
    <sec id="sec-5">
      <title>Experiments</title>
      <p>
        Experiments were conducted to evaluate the system for performance based on
automatically generated random syntactic sensor descriptions. The evaluation uses
randomly generated location, sensing and communication regions, and operation
intervals. The same properties are also randomised in the goal descriptions. Data
points were recorded after three data points had been generated to “warm-up”
the Just-In-Time compiler [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ]. Three experiments are presented: the first two
compare the effects of density of sensors, and the last looks at the combinatorial
problem when a message forwarding process is introduced with freedom of input
and output.
A scenario was created and varied according to the experiments. Let n ∈ {10, 15,
20, 25}, then the scenario conditions for Experiment 1 are:
– 1000 × 1000 two dimensional grid
– For Experiment 2 only: change the above grid to a 50n×50n two dimensional
grid
– n Wind Sensors with
• Wind Speed Process
      </p>
      <p>∗ Outputs wind speed
• For Experiment 3 only: additional Message Forwarding Process
∗ Input is a generic stream of data and output is also a stream
– n Temperature Sensors with
• Temperature Process (outputs the ambient temperature)
• Wind Chill Temperature Process
∗ Inputs of wind speed and temperature
∗ Output of wind chill temperature
• For Experiment 3 only: additional Message Forwarding Process
∗ Input is a generic stream of data and output is also a stream
– 2 × n/5 Base Stations with</p>
      <p>• Capture Messages Process
– Randomising
• Location
• Sensing Region</p>
      <p>∗ Maximum size: 100 × 100
• Communication</p>
      <p>∗ Maximum size: 200 × 200
• Operation Interval</p>
      <p>∗ Operation times varies over the same day</p>
      <p>The number of wind and temperature sensors remains the same, and the
number of base stations is in proportion to the other sensors in a ratio of
(number of windsensors + number of temperature sensors) : 1 basestation.
The ratio ensures that satisfiable compositions are likely to be found. The
results for the three experiments are summarised in Figures 8 and 9 for the average
time over 50 iterations of the algorithm, and Figures 10 and 11 for the number of
individuals created for each part of the algorithm. The key of the results figures
means windSensors temperatureSensors baseStations (e.g. 10 10 4 means 10
Wind Sensors, 10 Temperature Sensors, and 4 Base Stations were used in the
experiment).</p>
      <p>Fig. 8. Average execution times of experiments 1, 2 and 3 for compositions
satisfying the goal.</p>
      <sec id="sec-5-1">
        <title>Experiment 1: Increasing Density</title>
        <p>This experiment looks at the performance of the composition system as more
sensors are added to a fixed region. As the density increases, it is expected that
the likelihood of compositions satisfying the goal is higher, but more sensors may
need to be checked in a targeted region. This experiment tests the composition
system as the breadth of the composition trees increases.</p>
        <p>Results The results show an increase in the execution time of all parts of
the algorithm as more sensors are added. The Initialisation Phase dominates
Fig. 10. Number of Individuals generated in the ontology for experiments 1, 2
and 3 for compositions satisfying the goal. The rightmost set of results is not
the number of individuals.</p>
        <p>Fig. 11. Number of Individuals generated in the ontology for experiments 1, 2
and 3 for compositions not satisfying the goal. The rightmost set of results is not
the number of individuals. No individuals are created for an unsatisfied goal.
the execution time and the reasoner takes the least time. Comparing the two
cases for the goal, the composer takes less time in the unsatisfiable case, the
Initialisation Phase remains about the same, and the reasoner takes less time.
For the unsatisfiable case, the composer does not add more individuals to the
ontology as there are no suitable sensors, hence the reasoner takes less time.</p>
        <p>
          The increasing number of individuals with the increasing number of
sensors is observed. The size of the ontology and the number of individuals
naturally affects the reasoner’s capabilities to check for consistency and answering
queries [
          <xref ref-type="bibr" rid="ref21">21</xref>
          ]. The reasoner remains efficient when the number of individuals is
around a thousand. The number of individuals required for the composite sensors
are comparatively small compared to the initialisation.
        </p>
        <p>The small number of individuals for composite sensors is ideal as more
compositions are likely to be added, but initialisation only needs to be performed
once (or partially when new sensors are added). This experiment shows
composite sensors do not make the ontology unreasonable complex and that most of the
time taken is in the initialisation and composition phase. The number of
composite sensors increases, suggesting more sensors evaluated in the composition
phase and the likelihood of finding a satisfying composite sensor decreases.
5.3</p>
      </sec>
      <sec id="sec-5-2">
        <title>Experiment 2: Constant Density</title>
        <p>This experiment looks at the performance of the system as more sensors are
added to a region of space that increases in ratio with the number of sensors.
Since the density remains constant, it is expected that the likelihood of
compositions satisfying the goals in any region remains the same and similarly with the
running time. This experiment tests the filtering capabilities of the composition
system to remove irrelevant sensors.</p>
        <p>Results The execution times have no significant difference to Experiment 1 for
both cases (paired 2-tailed student’s t-test value is between 0.45 and 1.00 for each
time component). The composition part has some differences in the execution
time, performing slightly better with more sensors (i.e. less time) and slightly
worst with fewer sensors (i.e. more time). The number of individuals created by
composition reflects the changes in execution time.</p>
        <p>The area where the sensors are placed seems to have an effect on the number
of sensors created. Smaller areas means sensors are likely to be closer, so there
more sensors for the composition system to check. The time taken by the
composition system seems to be dependent on the number of sensors instead of the
sensors required to measure the goal sensing region. Another possibility is the
goal region covers an area common to many sensors. The density of sensors does
not seem to have a significant difference in the performance of the composition
system.
5.4</p>
      </sec>
      <sec id="sec-5-3">
        <title>Experiment 3: Message Forwarding Sensors</title>
        <p>This experiment investigates the complexity of the compositions by adding a
simple message forwarding process to each sensor type. The process has one
input and one output, where both has the most general type Stream and unit of
measurement measureAny. This process simply takes any input and forwards
the message to another sensor (not at the same sensor). This experiment tests
the composition system as the sensor network becomes more complex, requiring
longer chains of compositions.</p>
        <p>Some problems were encountered in this experiment, which revealed
limitations of the system for future work. The problems come from the vast number
of composite sensors created in the composition algorithm. An upper limit on
the time taken is placed at 400 composite sensors. The results presented in this
section are only for compositions not satisfying the goal and when the algorithm
terminates because of a large set of composite sensors.</p>
        <p>Results The number of compositions is low compared to the number of
composite sensors created as seen in Table 1. When the algorithm creates more than
400 composite sensors the average size of the set of sensors is shown in the last
column of Table 1, which can be very large. The large set of sensors in the last
column for a small starting set of atomic sensors results from the composition
system check for many more possible composite sensors, resulting in complex
compositions.
The experiments show the feasibility of applying semantics to sensors and of
automatically creating compositions. From the execution times for experiments
1 and 2, the reasoner performed efficiently and showing only small increases
with more sensors and many more individuals in the ontology. Comparing to
the initialisation phase, in the composition phase few number of individuals for
composite sensors are created when the goal can be satisfied. Experiment 3 shows
a wide variation of execution times over 50 iterations, which is only partially seen
in the figures. However, the number of composite sensors and individuals are also
low, but higher than experiments 1 and 2 in some cases.</p>
        <p>Table 1 shows the crippling number of sensors created in the last column
for experiment 3. The creation of long compositions required many sensors to
be created, which vary greatly on each iteration, similarly with the time taken
in the composition phase. However, checking consistency and reasoning on the
ontology are performed quickly, similar to experiments 1 and 2. So, the semantic
overhead in searching for composition do not contribute greatly to the overall
execution times.</p>
        <p>Experiments 1 and 2 have very similar execution times and resulting number
of individuals. This suggests the number of surrounding sensors and number of
sensors does not affect the composition system significantly. The composition
system stops early when the goals cannot be satisfied, suggesting the system can
quickly determine unsatisfiable goals. The execution time of the initialisation
phase and checking of consistency by the reasoner are similar across all three
experiments.</p>
        <p>The number of individuals created in the initialisation phase is numerous
because the quantitative values for the regions and intervals. The values do not
affect the reasoner, but can be removed to reduce the size of the ontology. Despite
the large number of composite sensors created in experiment 3, the number of
individuals representing compositions remains low (in the case of satisfied goal).
This suggests the composite sensors have many common constituent sensors.</p>
        <p>These experiments show that the composition system works well on wide
composition trees, but struggles on deep composition trees. The number of
individuals in the ontology do not affect the reasoning time. Comparatively few
individuals are created in the composition phase than the initialisation phase.
Semantic sensor composition is achieved with a sensor ontology and a
composition system, but some weaknesses are apparent that limits the application of
composition system to large and complex sensor networks.
7</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>Conclusion</title>
      <p>This paper describes two contributions: a sensor ontology and a composition
system. The ontology covers semantics of the sensor types, process semantics,
spatial semantics, temporal semantics, sensor semantics, and goal semantics. The
spatial and temporal semantics are a novel addition, providing semantic
diversity and capabilities beyond OWL. The composition system provides automated
and goal directed composition of sensors using the ontology. Experiments show
the feasibility of the sensor ontology in describing sensors and sensor
compositions, and the limitations of the composition approach. From the experiments,
future work includes looking at pruning methods and AI search approaches that
exploits semantic information. The sensor ontology and composition system
provide semantic interoperability, semantic diversity, and automation, which allows
users to query, interact, and extract knowledge directly from any sensor network.
Acknowledgements This work was conducted as part of an Honours research
project with a scholarship from the CSIRO ICT Centre.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Yick</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mukherjee</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ghosal</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Wireless sensor network survey</article-title>
          .
          <source>Computer Networks</source>
          <volume>52</volume>
          (
          <issue>12</issue>
          ) (
          <year>2008</year>
          )
          <fpage>2292</fpage>
          -
          <lpage>2330</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Botts</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Robin</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <string-name>
            <surname>OpenGIS Sensor Model Language (SensorML) Implementation Specification</surname>
          </string-name>
          (
          <year>Jul 2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Patel-Schneider</surname>
            ,
            <given-names>P.F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Horrocks</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          :
          <article-title>OWL 1.1 Web Ontology Language Overview</article-title>
          (
          <year>December 2006</year>
          ) http://www.w3.org/Submission/owl11-overview/.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Cohn</surname>
            ,
            <given-names>A.G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bennett</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gooday</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gotts</surname>
            ,
            <given-names>N.M.</given-names>
          </string-name>
          :
          <article-title>Qualitative Spatial Representation and Reasoning with the Region Connection Calculus</article-title>
          .
          <source>Geoinformatica</source>
          <volume>1</volume>
          (
          <issue>3</issue>
          ) (
          <year>1997</year>
          )
          <fpage>275</fpage>
          -
          <lpage>316</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Hobbs</surname>
            ,
            <given-names>J.R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pan</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>An ontology of time for the Semantic Web</article-title>
          .
          <source>ACM Transactions on Asian Language Information Processing (TALIP) 3</source>
          (
          <issue>1</issue>
          ) (
          <year>2004</year>
          )
          <fpage>66</fpage>
          -
          <lpage>85</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Sheth</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ramakrishnan</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Thomas</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Semantics for the Semantic Web: The Implicit, the Formal and the Powerful</article-title>
          .
          <source>Int'l Journal on Semantic Web &amp; Information Systems</source>
          <volume>1</volume>
          (
          <issue>1</issue>
          ) (Jan-March
          <year>2005</year>
          )
          <fpage>1</fpage>
          -
          <lpage>18</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Tran</surname>
            ,
            <given-names>K.N.</given-names>
          </string-name>
          :
          <article-title>Semantic Sensor Composition</article-title>
          .
          <source>Honours Thesis</source>
          . The Australian National University (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>McIlraith</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Martin</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Bringing semantics to Web services</article-title>
          .
          <source>Intelligent Systems, IEEE</source>
          <volume>18</volume>
          (
          <article-title>1) (Jan-Feb</article-title>
          <year>2003</year>
          )
          <fpage>90</fpage>
          -
          <lpage>93</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Milanovic</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Malek</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Current Solutions for Web Service Composition</article-title>
          .
          <source>IEEE Internet Computing</source>
          <volume>8</volume>
          (
          <issue>6</issue>
          ) (
          <year>2004</year>
          )
          <fpage>51</fpage>
          -
          <lpage>59</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10. L´ecu´e,
          <string-name>
            <given-names>F.</given-names>
            ,
            <surname>Salibi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Bron</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            ,
            <surname>Moreau</surname>
          </string-name>
          ,
          <string-name>
            <surname>A.</surname>
          </string-name>
          :
          <article-title>Semantic and Syntactic Data Flow in Web Service Composition</article-title>
          .
          <source>In: IEEE International Conference on Web Services</source>
          ,
          <year>2008</year>
          . ICWS '
          <fpage>08</fpage>
          . (Sept.
          <year>2008</year>
          )
          <fpage>211</fpage>
          -
          <lpage>218</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Compton</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Henson</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lefort</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Neuhaus</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sheth</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>A Survey of the Semantic Specification of Sensors</article-title>
          .
          <source>In: 2nd International Workshop on Semantic Sensor Networks</source>
          <year>2009</year>
          (
          <article-title>SSN09</article-title>
          ). (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Compton</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Neuhaus</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Taylor</surname>
          </string-name>
          , K.,
          <string-name>
            <surname>Tran</surname>
            ,
            <given-names>K.N.</given-names>
          </string-name>
          :
          <article-title>Reasoning about Sensors and Compositions</article-title>
          .
          <source>In: 2nd International Workshop on Semantic Sensor Networks</source>
          <year>2009</year>
          (
          <article-title>SSN09</article-title>
          ). (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Sirin</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hendler</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Parsia</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Semi-automatic Composition of Web Services using Semantic Descriptions</article-title>
          . In: In Web Services: Modeling, Architecture and Infrastructure workshop in ICEIS 2003.
          <article-title>(</article-title>
          <year>2002</year>
          )
          <fpage>17</fpage>
          -
          <lpage>24</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Paolucci</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kawamura</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Payne</surname>
            ,
            <given-names>T.R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sycara</surname>
            ,
            <given-names>K.P.</given-names>
          </string-name>
          :
          <article-title>Semantic Matching of Web Services Capabilities</article-title>
          .
          <source>In: ISWC '02: Proc. of the First Int'l Semantic Web Conference on The Semantic Web</source>
          , London, UK, Springer-Verlag (
          <year>2002</year>
          )
          <fpage>333</fpage>
          -
          <lpage>347</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhao</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Composing semantic services in open sensor-rich environments</article-title>
          . Network, IEEE
          <volume>22</volume>
          (
          <issue>4</issue>
          )
          <string-name>
            <surname>(July-Aug</surname>
          </string-name>
          .
          <year>2008</year>
          )
          <fpage>44</fpage>
          -
          <lpage>49</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>McGhee</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Henderson</surname>
            ,
            <given-names>I.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sydenham</surname>
            ,
            <given-names>P.H.</given-names>
          </string-name>
          :
          <article-title>Sensor science - essentials for instrumentation and measurement technology</article-title>
          .
          <source>Measurement</source>
          <volume>25</volume>
          (
          <issue>2</issue>
          ) (
          <year>1999</year>
          )
          <fpage>89</fpage>
          -
          <lpage>113</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Cohn</surname>
            ,
            <given-names>A.G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hazarika</surname>
            ,
            <given-names>S.M.</given-names>
          </string-name>
          :
          <article-title>Qualitative Spatial Representation and Reasoning: An Overview</article-title>
          . Fundam. Inf.
          <volume>46</volume>
          (
          <issue>1-2</issue>
          ) (
          <year>2001</year>
          )
          <fpage>1</fpage>
          -
          <lpage>29</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Allen</surname>
            ,
            <given-names>J.F.</given-names>
          </string-name>
          :
          <article-title>Maintaining knowledge about temporal intervals</article-title>
          .
          <source>Commun. ACM</source>
          <volume>26</volume>
          (
          <issue>11</issue>
          ) (
          <year>1983</year>
          )
          <fpage>832</fpage>
          -
          <lpage>843</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Lin</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Guo</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yin</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          :
          <article-title>Goal Description Language for Semantic Web Service Automatic Composition</article-title>
          .
          <source>In: SAINT '05: Proceedings of the The 2005 Symposium on Applications and the Internet</source>
          , Washington, DC, USA, IEEE Computer Society (
          <year>2005</year>
          )
          <fpage>190</fpage>
          -
          <lpage>196</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Blackburn</surname>
            ,
            <given-names>S.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>McKinley</surname>
            ,
            <given-names>K.S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Garner</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hoffmann</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Khan</surname>
            ,
            <given-names>A.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bentzur</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Diwan</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Feinberg</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Frampton</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Guyer</surname>
            ,
            <given-names>S.Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hirzel</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hosking</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jump</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lee</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Moss</surname>
            ,
            <given-names>J.E.B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Phansalkar</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stefanovik</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          , VanDrunen, T.,
          <string-name>
            <surname>von Dincklage</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wiedermann</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Wake up and smell the coffee: evaluation methodology for the 21st century</article-title>
          .
          <source>Commun. ACM</source>
          <volume>51</volume>
          (
          <issue>8</issue>
          ) (
          <year>2008</year>
          )
          <fpage>83</fpage>
          -
          <lpage>89</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <surname>Agostini</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bettini</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Riboni</surname>
            ,
            <given-names>D.:</given-names>
          </string-name>
          <article-title>A Performance Evaluation of Ontology-Based Context Reasoning</article-title>
          .
          <source>In: Pervasive Computing and Communications Workshops</source>
          ,
          <year>2007</year>
          . PerCom Workshops '
          <fpage>07</fpage>
          . Fifth Annual IEEE International Conference on.
          <source>(March</source>
          <year>2007</year>
          )
          <fpage>3</fpage>
          -
          <lpage>8</lpage>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>