<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">Event dashboard: Capturing user-defined semantics events for event detection over real-time sensor data</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author>
							<persName><forename type="first">Jonathan</forename><surname>Yu</surname></persName>
							<email>jonathan.yu@csiro.au</email>
							<affiliation key="aff0">
								<orgName type="department">CSIRO Land and Water</orgName>
								<address>
									<addrLine>Graham Road</addrLine>
									<postCode>3190</postCode>
									<settlement>Highett, Melbourne</settlement>
									<region>VIC</region>
									<country key="AU">Australia</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Kerry</forename><surname>Taylor</surname></persName>
							<email>kerry.taylor@csiro.au</email>
							<affiliation key="aff1">
								<orgName type="institution">CSIRO ICT Centre GPO</orgName>
								<address>
									<postBox>Box 664</postBox>
									<postCode>ACT, 2601</postCode>
									<settlement>Canberra</settlement>
									<country key="AU">Australia</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">Event dashboard: Capturing user-defined semantics events for event detection over real-time sensor data</title>
					</analytic>
					<monogr>
						<imprint>
							<date/>
						</imprint>
					</monogr>
					<idno type="MD5">407BD31BA918405AD443455E502894C7</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2023-03-24T22:34+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<textClass>
				<keywords>
					<term>ontologies</term>
					<term>sensor networks</term>
					<term>semantic sensor web</term>
					<term>semantic sensor network</term>
					<term>user interface design</term>
				</keywords>
			</textClass>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>Sensor networks provide the ability to observe physical phenomena in real-time and provide useful information to help conservation and management of environmental resources. However, sensor data meaning, format and interface heterogeneity are barriers to effective discovery and analysis of events of interest. We propose a web-based user application, the Event Dashboard, which facilitates user capture semantics for events of interest over a sensor network. The Event Dashboard user interface is driven by a set of ontologies, which provide metadata about relevant domain concepts and the sensor network. We utilise the SSN sensor ontology to capture constraints on the sensor metadata. We propose ontology extensions for capturing domain and event semantics using a case study in the water quality domain. Our approach allows the event description to be abstracted from specific interfaces of a sensor network and to be used for querying of sensor data. Event descriptions can subsequently be deployed through a semantic mediator to complex event processing and stream processing implementations over a sensor network.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>Technological advancement has allowed real-time sensor data to be published and shared through increased connectivity with physical devices through web services. This is useful for informing policy and decision making in the management of the environment, infrastructure assets, and early warning systems. However, protocols and interfaces for discovery and access to sensors vary as they are not widely standardised. Service platforms and middleware technologies that provide standard (or defacto standard) protocols and Application Programming Interfaces (APIs) to allow consistent access to sensors are essential in handling the heterogeneous nature of sensor networks. Platforms, such as GSN <ref type="bibr" target="#b0">[1]</ref>, have provided the above features for enabling sensor data to be available via web services.</p><p>Despite the availability of such service platforms, finding useful information within the sensor data streams is still a challenge. Sensor data often provides parameter level information about events about a physical phenomenon, and as such it can be too fine-grained. Abstractions over the sensor data help to provide insight into significant events, e.g. a flood event occurring when heavy precipitation takes place over a short period of time.</p><p>However, users with domain knowledge and insight into these events are impeded by having to learn the syntax, languages, data formats, and APIs associated with sensor networks, their access protocols as well as middleware platforms such as GSN. Users may also need to consider data quality issues that arise from handling raw data streams. Without any appropriate user interfaces, the ability to directly interact and perform high level queries on sensor data is impeded.</p><p>Kwon et al. <ref type="bibr" target="#b9">[10]</ref> present a system called SCONSTREAM for aggregating spatial data streams into spatial context streams based on spatial information maintained in a sensor catalogue. This system provides a user interface (UI) to allow the definition of spatial based queries, rather than on individual sensors. While this is a step towards lowering the barrier for users, this approach does not allow for event detection based on the semantics of the underlying sensor network expressed in a standard way, which restricts its interoperability and extensibility.</p><p>The semantic annotation of sensor data through a Semantic Sensor Web (SSW) is a proposed solution to the heterogeneity of sensor networks using ontologies and semantic web technologies <ref type="bibr" target="#b15">[16]</ref>. This approach assumes three things: users are competent with both the semantic rule language and the task of formulating appropriate semantic rules; appropriate semantic rule engines are available; and standardised ontologies are available. At the time of the above work, sensor ontologies were not standardised, which meant that the semantics used lacked a common agreed representation of the semantics of a sensor network.</p><p>An alternative solution is to provide query languages to sensor data streams that have been formalized using RDF. Calbimonte et al. <ref type="bibr" target="#b3">[4]</ref> propose a method of accessing sensor streams which have been mapped to an ontology via a data translation process. This process produces RDF data streams from the raw sensor data streams. They propose SPARQLstream, for capturing queries to streaming RDF data that have been translated from the raw sensor data. There are also other proposed solutions for querying semantic sensor data, such as C-SPARQL <ref type="bibr" target="#b17">[18,</ref><ref type="bibr" target="#b2">3]</ref>, CQELS <ref type="bibr" target="#b10">[11]</ref> and EP-SPARQL <ref type="bibr" target="#b1">[2]</ref>. The limitations with such query-based approaches are that the set of query language extensions has not been standardised and a representation of the sensor data in RDF is assumed, which is certainly uncommon in practice. From a user's perspective, defining a query using such query-based approaches at the level of a user such as a domain scientist is a significant barrier. Thus a more appropriate mechanism is required for such users.</p><p>The approach proposed by Yu et al. <ref type="bibr" target="#b18">[19]</ref> seeks to address the above challenges using an ontology-based approach for complex event processing over a sensor network (shown in Fig. <ref type="figure">1</ref>). Yu et al. extends the prior work proposed in <ref type="bibr" target="#b16">[17]</ref> using the SSN ontology developed by the W3C SSN-XG working group for describing sensors that is compatible with other standards <ref type="bibr" target="#b4">[5]</ref>, e.g. OGC Observations and Measurements. They also propose the use of GSN as a platform for interfacing with sensors and providing stream processing capabilities. This enables users to define complex events associated with the semantically annotated sensors. The current challenge in the above work is the appropriate methodology for facilitating user definition of event constraints. An event constraint relates to properties of the event of interestthat is, physical, spatial, and temporal properties of a set of observations over the sensor network, e.g. observed properties over a sensor network (physical) monitoring water quality parameters for a storage dam (spatial) over hourly data (temporal). An event constraint therefore captures the semantics of specific kinds of observation values from sensor data streams, e.g. when air temperature exceeds 25C. This presents two specific challenges: a) capture of event constraint semantics; and b) facilitating userbased definition of event constraints via ontology-driven interfaces.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Fig. 1. Ontology-driven complex event processing over a sensor network</head><p>In this paper, we propose the Event Dashboard, which is an ontology-driven UI to address the challenge of facilitating user definition of machine-readable semantic descriptions of event constraints from the semantic descriptions of available sensors in the sensor network. Our approach aims to resolve the data heterogeneity of sensor networks by using a domain ontology, which extends the SSN ontology for representing semantics of a sensor network and relevant domain concepts. The Event Dashboard directly uses the aforementioned ontologies to populate relevant UI elements such as selection and input forms. We hypothesize that this approach helps to enable users to express event constraints over a sensor network. The captured constraints of event of interest can be then be used for deploying complex event queries that is compatible with the approach proposed in <ref type="bibr" target="#b18">[19]</ref>.</p><p>We present this work in the context of a case study for detecting water quality events in water reservoirs in early warning systems, specifically algal bloom events. Nutrient availability, such as nitrogen and phosphorus, has been studied and determined as a factor in algal growth <ref type="bibr" target="#b14">[15]</ref>. Detection can help authorities respond with appropriate preventative management to mitigate potential algal bloom events. In this paper, we will present a discussion of a domain ontology for representing event constraints to support this case study, limiting our discussion to observations around water quality chemical properties, such as Total Nitrogen, for which measurements are available. The structure of the paper is as follows. Sections 2 and 3 discuss the SSN ontology briefly, present our domain extensions in the context of annotating sensor observations of a Water feature, and propose a simple model for capturing event constraints. In Section 4, we present the ontology-driven UI design and implementation details for the Event Dashboard that enables the capture of events of interest. We then discuss this specific ontology-driven UI with other related work in Section 5 and present conclusions in Section 6.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Extending the SSN Ontology with Domain concepts</head><p>Ontologies are key components in our approach. They are used to drive the UI and allow users to select the appropriate set of event constraints. We propose domain extensions to the SSN ontology represent sensor observations for a water feature over a sensor providing a data stream and, more specifically, water quality chemical properties for Chaffey Dam sensor observations. We also reuse the Quantities, Units, Dimensions and Types (QUDT) ontologies <ref type="bibr" target="#b7">[8]</ref> to represent the constraints around the observation values from a sensor. In this paper, we present the OWL ontologies as visualisations using the Cmap Ontology editor tool <ref type="bibr" target="#b5">[6]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1">An observation-centric view of the SSN ontology</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Fig. 2. Extract of the SSN ontology</head><p>The SSN ontology <ref type="bibr" target="#b4">[5]</ref> models an observation with regards to a feature of interest, its observed property and the result (shown in Fig. <ref type="figure">2</ref>). The Observation class relates to the Sensor class via two paths: via the sensingMethodUsed and the obser-vationResult to the output of the sensor (i.e. the SensorOutput class). Focusing on the SensorOutput class, it is modelled with a relationship to an Observa-tionValue class, which is used to represent the value of the output from the sensor, e.g. a value of 21 degrees Celsius for the property, Air Temperature, produced by a temperature sensor. The rest of this section describes the specific extensions we have made to the SSN ontology relating to the above extract of the SSN ontology for enabling the representation of event constraints.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2">Representation of streaming sensor data observations for a water feature with the SSN Ontology</head><p>We propose an an extension module to the SSN ontology by subclassing the following SSN classes -Observation, Sensor, SensorOutput, and Obser-vationValue, with classes defined in the ext: namespace to maintain the declarations in our extension module separate from original SSN definitions (shown in yellow in Fig. <ref type="figure">3</ref>). We extend the ObservationValue class specifically with the QuantityObservationValue class for representing quantity values with reference to a Unit of measure ontology. In this case, we utilise the Unit class from the QUDT ontology <ref type="bibr" target="#b7">[8]</ref>, which is shown shaded in purple in the figure below. The intention is to allow the referencing of a subset of the defined units of measure instances from the QUDT ontology. We a set of SSN classes to represent domain concepts (shown in blue in Fig. <ref type="figure">3</ref>). The domain extensions allow references to concepts relating to observations of a Water Feature to be made, i.e. we extended the FeatureOf-Interest class to define a WaterFeature class. This allows us to represent particular instances of water features, such as lakes, rivers, and storage dams.  We can also extend the model with other relevant observation properties, such as meteorological properties relating to the spatial location of the water feature (e.g. temperature, wind speed, atmospheric pressure, humidity, precipitation), and also water quantity observation properties (e.g. flow and water level). To represent observations around these properties, the respective extensions would include appropriate sensor classes relating to the added observation properties.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">Representing event constraints</head><p>A model is required for capturing machine-readable descriptions of event constraints.</p><p>An event constraint in this context captures physical and spatial properties of a set of observation values over the sensor network. In terms of defining these properties using the SSN ontology, we needed to capture constraints around the respective classes: ssn:FeatureOfInterest, ssn:Property, and ssn:ObservationValue (see Fig. <ref type="figure">5</ref>).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Fig. 5. A model for capturing event constraints</head><p>We have introduced two main classes for handling the event constrainted:EventRule and ed:ValueConstraint. Subsequently, we have defined two classes which specialise these classesed:ValueConstraintEventRule and ed:QuantityValueConstraintto handle the definition of a class of event constraints based on quantity value constraints.</p><p>The Value Constraint classes allow the definition of a value constraint such as, a concentration value constraint with the milligrams per litre unit greater than the value of 10.0, with the following OWL 2 RDF representation of concentrationConstraint (shown in Fig. <ref type="figure">6</ref> using Turtle syntax).</p><p>:concentrationConstraint a ed:QuantityValueConstraint ; ed:hasValue [ a ext:QuantityObservationValue ; ext:hasQuantityValue "10.0"^^xsd:double ; ext:hasQuantityUnitOfMeasure qu:milligramsPerLitre; ] ; ed:hasLogicalOperator "&gt;"^^xsd:string .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Fig. 6. OWL description of quantity value constraint</head><p>The ed:ValueConstraintEventRule class allows us to capture event constraints that associate the value constraints with the feature of interest (e.g. Chaffey Dam), sensor (e.g. water quality sensor -chafchemvm) and observed property (e.g. total phosphorus). This allows us to capture an event constraint such as highPhos-phorusEvent as shown in Fig. <ref type="figure">7</ref>.</p><p>:highPhosphorusEvent a ed:ValueConstraintEventRule ; ed:hasProperty water:TotalPhosphorusObservedProperty ; ed:hasFeature chaffey:ChaffeyDam ; ed:hasSensor :chafchemvm ; ed:hasValueConstraint :concentrationConstraint .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Fig. 7. OWL description of an event constraint</head><p>Using the above OWL model, therefore, enables the capture of machine-readable descriptions of event constraints in a declarative manner, whilst reusing appropriate SSN classes where possible. We have shown that we can use this model to capture simple physical and spatial properties, and constraints over the observation values relevant for a sensor network. We will use this model as the basis for proposing an ontology-driven UI that allows users to express these constraints.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">The Event Dashboard</head><p>We present the design and implementation details for an ontology-driven UI to facilitate the capture of constraints over observations. The UI uses the domain extensions to the SSN ontology and event constraint model described in the previous two sections, which we refer to as the domain ontology. The domain ontology provides the metadata about relevant domain concepts and the sensor network. This allows for a simple method of capturing machine-readable descriptions of event constraints without the user having to learn the syntax and language of the ontology specification language. We seek to capture constraints over events of interest using ontological descriptions via our proposed UI.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>4.1</head><p>Leveraging the ontology in the UI Classes in the SSN ontology are used to bind the various UI panels with appropriate details. Observation constraints are key components in specifying events of interest. Thus, we propose a UI design with three panels (see Fig. <ref type="figure">8</ref>).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Fig. 8. UI for specifying constraints for the observed property</head><p>The first panel, the Observation selection panel (shown in the top of Fig. <ref type="figure">8</ref>), captures the various constraints that require a selection of the observation class. The second panel, the Properties panel (shown on the left side of Fig. <ref type="figure">8</ref>), presents the user with the property restrictions for the selected observation. The third and last panel, the Constraints panel (shown on the right side of Fig. <ref type="figure">8</ref>), presents to the user an appropriate form for users to input the appropriate constraints in context of the selected observation and property restriction (Constraints panel). The three panels allow the user to add a constraint definition. Users can append constraints one after another by interacting with this form such that users can define conjunctive constraints on the set of properties listed in the Properties panel. OWL API <ref type="bibr" target="#b8">[9]</ref> is used to interface with the ontologies and is used, with reasoning capabilities provided by the Pellet reasoner <ref type="bibr" target="#b11">[12]</ref>, to populate components such as the list of observation subclasses for the observation selection drop-down box, the list of property restrictions for the selected observation class for the properties panel and the appropriate forms and input widgets for the constraints panel (e.g. list of instances for the appropriate class of the property restriction selection).</p><p>The UI is implemented with a binding to the URIs of classes in the SSN ontology. For example, the Observation selection panel is bound to the URI of the Observation class in the SSN ontology. This allows for the UI to be unchanged for other domain extensions of the SSN ontology. It also allows for the UI to incorporate any additional extensions to the domain ontology.</p><p>The UI is implemented using the following APIs: Google Web Toolkit API, OWL API, and the Pellet reasoner. The Google Web Toolkit (GWT) allows us to develop UIs with the look and feel of standard HTML forms and allows our application to be deployed on servers such as Apache Tomcat for access via standard web browsers. Due to technical challenges, we have developed additional software libraries that bridge GWT and ontology tools, such as, OWL API, for building the ontology driven UIs. The bridging software libraries are available via GitHub<ref type="foot" target="#foot_0">1</ref> .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2">Specifying observed property constraints</head><p>In Fig. <ref type="figure">8</ref>, we show how constraints for an observed property of the WaterQualityChemicalObservation class are specified via the UI. The observedProperty property restriction is selected in the Properties panel. The UI uses OWL API and the reasoner to evaluate an appropriate Property class for the observedProperty of the selected observation class. In this case, the observedProperty of a WaterQualityChemicalObservation is WaterQualityChemicalProperty. For this particular case, to specify an observedProperty property constraint, the Constraints panel displays the list of available instances corresponding to the modeled class, WaterQualityChemicalProperty. In the example shown in Fig. <ref type="figure">8</ref>, the user has selected TotalNitrogen is selected as the constraint for the observedProperty. The constraint captured with this UI populates the respective information in the event constraint definition as per the following:</p><p>:exampleEventConstraint a ed:ValueConstraintEventRule ; ed:hasProperty water:TotalNitrogenObservedProperty .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3">Specifying observedResult constraint</head><p>Another key requirement in specifying an observation constraint is defining a constraint on the observation result. The interface design for capturing the observed result constraint is more complex than the previous UI presented in Section 4.1, due to the way the SSN ontology models the result.  <ref type="figure" target="#fig_2">9</ref>).</p><p>To adequately capture the constraint of a sensor output, the interface design requires a specification of an instance of SensorOutput class to encapsulate the modelling of the domain ontology as shown in the above figure. An example of the UI selection to facilitate the input of a logical constraint for the QuantityObser-vationValue is shown in Fig. <ref type="figure" target="#fig_4">10</ref>.</p><p>For this particular case, as shown in the below figure, we needed to create a customised form layout using the ontology-driven UI APIs to flatten the property chains from an Observation class to a definition of a constraint on a QuantityObservationValue class. We bind the cu stomised form input elements to corresponding elements in the SSN ontology and our extension module, rather than the domain ontology to enable reusability in other domains. Based on the context of the user selection, the OWL API and Pellet reasoner is used to evaluate the appropriate domain specific  We define a datatype for expressing logical comparison operators (shown in Fig. <ref type="figure">11</ref>).</p><p>ed:LogicalOperator a rdfs:Datatype ; owl:oneOf ( "&gt;"^^xsd:string "&lt;="^^xsd:string "&gt;="^^xsd:string "=="^^xsd:string "&lt;"^^xsd:string) .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Fig. 11. OWL Datatype definition of Logical Operator</head><p>This is used to populate the list of available logical-operator constraints on the QuantityObservationValue section of the customised form. In the example in the above figure, the constraint on the QuantityObservationValue is "greaterthan a value of 10.0". This updates the event constraint as shown in Fig. <ref type="figure" target="#fig_5">12</ref>.  </p><formula xml:id="formula_0">:</formula></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.4">Specifying observedBy constraint</head><p>Constraining the sensor selection is a key requirement. The observedBy property restriction for an Observation class associates directly with a Sensor class. The UI design to capture the constraint allows users to be able to select from a list of appropriate Sensor instances. Users can select Sensor instances for the selected Observation class using the right hand side "Constraints" panel of the UI (shown in Fig. <ref type="figure">13</ref>).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Fig. 13. User interface for specifying the observed by constraint</head><p>This yields the following expression:</p><p>:exampleEventConstraint a ed:ValueConstraintEventRule ; ed:hasSensor chaffey:chafchemjsoncallvs1 .</p><p>A fuller example of the capability offered with the above UIs is shown below in Fig. <ref type="figure" target="#fig_1">14</ref> for defining a high total nitrogen event: which is defined to be for WaterQuali-tyChemicalObservation on a Sensor, which observes the TotalNitrogen property with a value greater than 10.0.</p><p>: </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">Discussion</head><p>The proposed Event Dashboard facilitates the capture of user-defined constraints around observation events as machine-readable descriptions based on the domain ontology and the SSN ontology. This allows the event definition to be abstracted from the UI implementation while retaining machine-readable domain and sensor semantics. With the proposed UI, users are able to capture a range of domain specific event constraints over a sensor network. The captured constraints of event of interest can be then be used for deploying complex event queries that is compatible with the approach proposed in <ref type="bibr" target="#b18">[19]</ref>.  <ref type="table" target="#tab_2">1</ref>, we codify our usage of ontologies in the interface according to the classification system presented by <ref type="bibr" target="#b12">[13]</ref>. The proposed ontology-driven UI has a high level of interaction, as it allows users to view the ontology base and edit the ontology base for adding and deleting OWL individuals for event constraints. The set of ontologies used to drive the UI has a relatively high degree of complexity, according to the classification system, as we are utilizing OWL DL to capture the appropriate seman-tics and constraints. There are also a number of features that possess a moderate to high level of visualization as the ontology is used to populate lists, drop-boxes, tree structures and textual descriptions.</p><p>It is highlighted that most approaches to ontology-enabled UI applications use static ontologies due to lack of useful scenarios for editing ontologies, and the ability of users to edit ontologies <ref type="bibr" target="#b12">[13]</ref>. This work demonstrates a scenario for using an application for using ontologies beyond the static scenarios. We have shown that a key aspect of the proposed UI is the ability to create and edit semantic descriptions of domain specific event constraints using ontologies, although this is currently limited to adding and deleting individuals as opposed to other kinds of ontological descriptions, e.g. class descriptions. The issue around users lacking the ability to edit ontology and preventing the use of alterable ontologies may be due to the fact that describing semantics using ontology languages, such as OWL, is difficult and beyond user groups like domain scientists and managers. That is not to say that the scenarios and use cases do not exist, as we discussed earlier. The reason could be linked to barriers in terms of suitable tools to allow these users to specify semantics using familiar interfaces, rather than the need for specifying the semantics. Our approach seeks to overcome these barriers and facilitate user-definition of semantics of event constraints by building an ontology UI library on which our ontology-driven UI is based on. A user study to comparing our approach with existing ontology editing tools is required to test this hypothesis.</p><p>An alternative approach to our ontology-driven UI is presented in <ref type="bibr" target="#b6">[7]</ref>. They present a generalized approach for generating ontology-driven UIs for capturing descriptions of instances and related property instances. Our work differs as we specifically bind our UI to the SSN ontology and our extension module. The drawback is that as our UI is tightly coupled to the SSN ontology, and is sensitive to any significant changes to the design of the SSN ontology and our extension module. The advantage of our approach is that our UI is tailored specifically for the creating semantic descriptions of event constraints over a sensor network and thus provides a more customized look and feel to the user experience in this context.</p><p>In Sections 2 and 3, we presented an extension module to the SSN ontology, other domain extensions and a model for describing the semantics of an event constraint. The extensions and model for event constraints allow the description of domain of interest and events to be used for the respective domain users, with specific modeling around the sensors, observations, and observed properties. The methodology used to extend the SSN ontology can be used for modeling other domains so that the semantics captured are modeled have the same level of granularity, for example, modeling other domains such as soil observations. Because the UI is not bound to a specific domain, it allows the UI to be reused based on a given domain ontology.</p><p>In this work, we have explored how event constraints are defined for a simple set of observation use cases. We presented an OWL model for capturing machinereadable descriptions of event constraints. Although, capturing event constraints using OWL presents an overhead over defining queries in a complex event processing engine, it allows a level of flexibility as the semantics are abstracted. Event constraints can potentially be deployed over a wider range of complex event processing implementations, provided that the appropriate semantic mediators exist or are developed.</p><p>We chose to capture the event constraints using OWL over rule-based languages, such as RIF, SWRL and SPIN, and query languages, such as SPARQL, as they restrict further reasoning and processing that our approach allows. Using OWL to define event constraints allows us to use URIs for tying subsequent event notifications to the event rule, i.e. for provenance. It also allows for semantic optimization of translation processes between an event constraint and a complex event processing implementation, e.g. subsumed relationships between event constraints can be collated and processed together. The current UI design is not exhaustive and does not allow for additional constraints parameters to be captured, such as user-defined spatial geometries and temporal aspects. The current UI can be extended to provide the ability for users to specify windowing over a sensor output, for example, specifying a window of observations over a 24-hour period, by modeling the windowing semantics in the domain ontology. The UI can also be extended to describe more sophisticated event semantics, for example, for allowing a user to express events arising from causality or correlation by incorporating additional event semantics such as that proposed by <ref type="bibr" target="#b13">[14]</ref>. We plan to address the above UI extensions in future work.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6">Conclusion</head><p>We have presented an ontology-driven UI to facilitate the capture of event constraints on observations in a sensor network. The proposed UI does not require users to learn query languages, sensor network APIs, or ontology languages. Rather, the UI directly uses the domain ontology to populate selection and input forms to allow users such as, domain scientists, to express event constraints over a sensor network. We extended the SSN ontology with an extension module for specifying quantities and domain concepts as well as a simple event model for enabling the capture event constraints, such as, water quality event constraints for the Chaffey Dam. The methodology of extending the SSN ontology with domain concepts can be applied to represent other kinds of observations, such as water quantity observations. Because the UI is coupled to the SSN ontology and our extension module, it allows the UI to be unchanged for other domain extensions of the SSN ontology. We have also proposed an OWL 2 model for capturing event constraints.</p><p>Although the set of UIs presented in this paper is not exhaustive, it offers a capability for users to specify a range of events constraints over sensor observations and their properties. For future work, we propose expanding the UIs for sensor mapping and model-driven generation of sensor stream processing code through semantic mediation for deployment to sensor network middleware technologies, such as GSN.</p><p>We also propose UI and ontology extensions to allow users to represent data stream windowing and other event semantics in future work. The GSN semantic mediator requires further development for generating a broader range of virtual sensor descriptions. Lastly, we suggest the application our approach for wider range of event detection scenarios in the water and hydrology domain, such flash flood detection.</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head>Fig. 3 .. 3 Representation</head><label>33</label><figDesc>Fig. 3. Domain extensions to the SSN ontology to allow representation of the sensor data</figDesc><graphic coords="5,153.65,494.62,289.20,181.03" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_1"><head>Fig. 4 .</head><label>4</label><figDesc>Fig. 4. Domain extensions to SSN ontology to represent Water Quality Chemical ObservationsWe define the following instances to support the definition of constraints around the water chemical observations: TotalNitrogen, TotalPhosphorus, and Ph as instances of the WaterQualityChemicalProperty class. Lastly, we include the milligramPerLitre instance of the QUDT Units ontology for specifying the units for the observation values and relate them to the respective property instances.The above domain ontology allows us to model Chaffey Dam as an instance of a water feature and associate it with specific water quality property instances in our model, such as Total Nitrogen. The water quality instances in our domain model include relationships to the respective QUDT unit of measure instances. The instance level information will be used for constraining available property and unit selection in the UI. This is shown in green in the above figure.We can also extend the model with other relevant observation properties, such as meteorological properties relating to the spatial location of the water feature (e.g. temperature, wind speed, atmospheric pressure, humidity, precipitation), and also</figDesc><graphic coords="6,139.37,287.09,318.06,214.36" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_2"><head>Fig. 9 .</head><label>9</label><figDesc>Fig. 9. Extract of the domain ontology around observation result</figDesc><graphic coords="10,161.60,486.51,249.63,139.61" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_3"><head></head><label></label><figDesc>Sensor and SensorOutput classes. The figure below shows an example where the reasoner has evaluated the appropriate Sensor and SensorOutput classes</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_4"><head>Fig. 10 .</head><label>10</label><figDesc>Fig. 10. User interface for specifying an observation result</figDesc><graphic coords="11,126.20,425.46,345.35,141.35" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_5"><head>Fig. 12 .</head><label>12</label><figDesc>Fig. 12. Example event constraint OWL description expressed using Turtle syntax</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0"><head></head><label></label><figDesc></figDesc><graphic coords="3,144.18,274.39,319.80,235.80" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_2"><head>Table 1 .</head><label>1</label><figDesc>Characteristics of our use of ontologies for user interfaces as defined by<ref type="bibr" target="#b12">[13]</ref> </figDesc><table><row><cell>Characteristics</cell><cell>Classifications</cell><cell></cell><cell></cell><cell></cell><cell></cell></row><row><cell>Domain</cell><cell>Real world</cell><cell>IT Systems</cell><cell>Users and roles</cell><cell></cell><cell></cell></row><row><cell>Complexity</cell><cell>Informal</cell><cell>Low</cell><cell>Medium</cell><cell>High</cell><cell></cell></row><row><cell>Usage</cell><cell cols="2">Design time Run time</cell><cell></cell><cell></cell><cell></cell></row><row><cell>Visualization</cell><cell>None</cell><cell>List</cell><cell>Graphical</cell><cell>Verbalized</cell><cell>Source</cell></row><row><cell></cell><cell></cell><cell></cell><cell></cell><cell></cell><cell>code</cell></row><row><cell>Interaction</cell><cell>None</cell><cell>View</cell><cell>View and edit</cell><cell></cell><cell></cell></row><row><cell>In Table</cell><cell></cell><cell></cell><cell></cell><cell></cell><cell></cell></row></table></figure>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0">https://github.com/jyucsiro/gwt-ontology-lib</note>
		</body>
		<back>

			<div type="acknowledgement">
<div xmlns="http://www.tei-c.org/ns/1.0"><p>Acknowledgements. We thank our colleagues at CSIRO: Bradford Sherman for his expertise in the water quality, and Laurent Lefort for his helpful review of this work.</p></div>
			</div>

			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<analytic>
		<title level="a" type="main">A middleware for fast and flexible sensor network deployment</title>
		<author>
			<persName><forename type="first">K</forename><surname>Aberer</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Hauswirth</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Salehi</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proc. Intl. Conf. Very Large Data bases, VLDB &apos;06</title>
				<meeting>Intl. Conf. Very Large Data bases, VLDB &apos;06</meeting>
		<imprint>
			<date type="published" when="2006">2006</date>
			<biblScope unit="page" from="1199" to="1202" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b1">
	<analytic>
		<title level="a" type="main">EP-SPARQL: a unified language for event processing and stream reasoning</title>
		<author>
			<persName><forename type="first">D</forename><surname>Anicic</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Fodor</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Rudolph</surname></persName>
		</author>
		<author>
			<persName><forename type="first">N</forename><surname>Stojanovic</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proc. of the 20th Intl. Conf. on World Wide Web, WWW&apos;11</title>
				<meeting>of the 20th Intl. Conf. on World Wide Web, WWW&apos;11<address><addrLine>NY, USA</addrLine></address></meeting>
		<imprint>
			<publisher>ACM</publisher>
			<date type="published" when="2011">2011</date>
			<biblScope unit="page" from="635" to="644" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b2">
	<analytic>
		<title level="a" type="main">Querying RDF streams with C-SPARQL</title>
		<author>
			<persName><forename type="first">D</forename><forename type="middle">F</forename><surname>Barbieri</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Braga</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Ceri</surname></persName>
		</author>
		<author>
			<persName><forename type="first">E</forename><forename type="middle">D</forename><surname>Valle</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Grossniklaus</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">SIGMOD Rec</title>
		<imprint>
			<biblScope unit="volume">39</biblScope>
			<biblScope unit="issue">1</biblScope>
			<biblScope unit="page" from="20" to="26" />
			<date type="published" when="2010-09">Sept 2010</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<analytic>
		<title level="a" type="main">Enabling ontology-based access to streaming data sources</title>
		<author>
			<persName><forename type="first">J</forename><forename type="middle">P</forename><surname>Calbimonte</surname></persName>
		</author>
		<author>
			<persName><forename type="first">O</forename><surname>Corcho</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><forename type="middle">J</forename><surname>Gray</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">The Semantic Web (ISWC)</title>
				<imprint>
			<publisher>Springer</publisher>
			<date type="published" when="2010">2010</date>
			<biblScope unit="volume">6496</biblScope>
			<biblScope unit="page" from="96" to="111" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b4">
	<analytic>
		<title level="a" type="main">The SSN Ontology of the W3C Semantic Sensor Network Incubator Group</title>
		<author>
			<persName><forename type="first">M</forename><surname>Compton</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Barnaghi</surname></persName>
		</author>
		<author>
			<persName><forename type="first">L</forename><surname>Bermudez</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>Garcia-Castro</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Web Semantics: Science, Services and Agents on the World Wide Web</title>
		<imprint>
			<biblScope unit="volume">17</biblScope>
			<biblScope unit="page" from="25" to="32" />
			<date type="published" when="2012-12">Dec 2012</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b5">
	<analytic>
		<title level="a" type="main">Formalizing the informal: A confluence of concept mapping and the semantic web</title>
		<author>
			<persName><forename type="first">T</forename><surname>Eskridge</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Hayes</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>Hoffman</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proc. 2nd Intl. Conf. Concept Mapping</title>
				<meeting>2nd Intl. Conf. Concept Mapping</meeting>
		<imprint>
			<date type="published" when="2006">2006</date>
			<biblScope unit="volume">1</biblScope>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b6">
	<analytic>
		<title level="a" type="main">Interacting with linked data via semantically annotated widgets</title>
		<author>
			<persName><forename type="first">A</forename><surname>Haller</surname></persName>
		</author>
		<author>
			<persName><forename type="first">T</forename><surname>Groza</surname></persName>
		</author>
		<author>
			<persName><forename type="first">F</forename><surname>Rosenberg</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proc. Joint Intl. Semantic Tech. Conf. (JIST)</title>
				<meeting>Joint Intl. Semantic Tech. Conf. (JIST)</meeting>
		<imprint>
			<date type="published" when="2011-12">December 2011</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b7">
	<monogr>
		<author>
			<persName><forename type="first">R</forename><surname>Hodgson</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><forename type="middle">J</forename><surname>Keller</surname></persName>
		</author>
		<ptr target="http://www.qudt.org" />
		<title level="m">QUDT -quantities, units, dimensions and data types in OWL and XML</title>
				<imprint>
			<date type="published" when="2011-09">September 2011. Dec 2012</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b8">
	<analytic>
		<title level="a" type="main">The OWL API: a Java API for working with OWL 2 ontologies</title>
		<author>
			<persName><forename type="first">M</forename><surname>Horridge</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Bechhofer</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proc. of OWL Experiences and Directions</title>
				<meeting>of OWL Experiences and Directions</meeting>
		<imprint>
			<date type="published" when="2009">2009</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b9">
	<analytic>
		<title level="a" type="main">SCONSTREAM: A spatial context stream processing system</title>
		<author>
			<persName><forename type="first">O</forename><surname>Kwon</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Y</forename><forename type="middle">S</forename><surname>Song</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><forename type="middle">H</forename><surname>Kim</surname></persName>
		</author>
		<author>
			<persName><forename type="first">K</forename><forename type="middle">J</forename><surname>Li</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proc. Intl. Conf. Comp.Sci. &amp; Applications (ICCSA)</title>
				<meeting>Intl. Conf. Comp.Sci. &amp; Applications (ICCSA)</meeting>
		<imprint>
			<date type="published" when="2010">2010</date>
			<biblScope unit="page" from="165" to="170" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b10">
	<analytic>
		<title level="a" type="main">A native and adaptive approach for unified processing of linked streams and linked data</title>
		<author>
			<persName><forename type="first">D</forename><surname>Le-Phuoc</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Dao-Tran</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Xavier Parreira</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Hauswirth</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">The Semantic Web -ISWC 2011</title>
				<meeting><address><addrLine>Berlin Heidelberg</addrLine></address></meeting>
		<imprint>
			<publisher>Springer</publisher>
			<date type="published" when="2011">2011</date>
			<biblScope unit="volume">7031</biblScope>
			<biblScope unit="page" from="370" to="388" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b11">
	<analytic>
		<title level="a" type="main">Pellet: An OWL DL reasoner</title>
		<author>
			<persName><forename type="first">B</forename><surname>Parsia</surname></persName>
		</author>
		<author>
			<persName><forename type="first">E</forename><surname>Sirin</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">The Semantic Web Conference-Poster</title>
				<imprint>
			<date type="published" when="2004">2004</date>
			<biblScope unit="page">18</biblScope>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b12">
	<analytic>
		<title level="a" type="main">Ontology-enhanced user interfaces: A survey</title>
		<author>
			<persName><forename type="first">H</forename><surname>Paulheim</surname></persName>
		</author>
		<author>
			<persName><forename type="first">F</forename><surname>Probst</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">International Journal on Semantic Web and Information Systems (IJSWIS)</title>
		<imprint>
			<biblScope unit="volume">6</biblScope>
			<biblScope unit="issue">2</biblScope>
			<biblScope unit="page" from="36" to="59" />
			<date type="published" when="2010">2010</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b13">
	<analytic>
		<title level="a" type="main">F-a model of events based on the foundational ontology dolce+ DnS ultralight</title>
		<author>
			<persName><forename type="first">A</forename><surname>Scherp</surname></persName>
		</author>
		<author>
			<persName><forename type="first">T</forename><surname>Franz</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><surname>Saathoff</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Staab</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proc. Intl. Conf. Knowledge capture</title>
				<meeting>Intl. Conf. Knowledge capture</meeting>
		<imprint>
			<publisher>ACM</publisher>
			<date type="published" when="2009">2009</date>
			<biblScope unit="page" from="137" to="144" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b14">
	<analytic>
		<title level="a" type="main">The Chaffey Dam Project -nutrient supply and algal response</title>
		<author>
			<persName><forename type="first">B</forename><surname>Sherman</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proc. Intl. Conf. Reservoir Limnology and Water Quality</title>
				<meeting>Intl. Conf. Reservoir Limnology and Water Quality</meeting>
		<imprint>
			<publisher>ICARIS Ltd</publisher>
			<date type="published" when="2002">2002</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b15">
	<analytic>
		<title level="a" type="main">Semantic sensor web</title>
		<author>
			<persName><forename type="first">A</forename><surname>Sheth</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><surname>Henson</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><forename type="middle">S</forename><surname>Sahoo</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Internet Computing</title>
				<imprint>
			<date type="published" when="2008">2008</date>
			<biblScope unit="volume">12</biblScope>
			<biblScope unit="page" from="78" to="83" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b16">
	<analytic>
		<title level="a" type="main">Ontology-driven complex event processing in heterogeneous sensor networks</title>
		<author>
			<persName><forename type="first">K</forename><surname>Taylor</surname></persName>
		</author>
		<author>
			<persName><forename type="first">L</forename><surname>Leidinger</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proc. 8th Extended Semantic Web Conference</title>
				<meeting>8th Extended Semantic Web Conference<address><addrLine>Crete, Greece</addrLine></address></meeting>
		<imprint>
			<publisher>Springer</publisher>
			<date type="published" when="2011-05">May 2011</date>
			<biblScope unit="page" from="285" to="299" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b17">
	<analytic>
		<title level="a" type="main">A first step towards stream reasoning</title>
		<author>
			<persName><forename type="first">E</forename><forename type="middle">D</forename><surname>Valle</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Ceri</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><forename type="middle">F</forename><surname>Barbieri</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Braga</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Campi</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">FIS</title>
		<imprint>
			<biblScope unit="page" from="72" to="81" />
			<date type="published" when="2008">2008</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b18">
	<analytic>
		<title level="a" type="main">Ontology-driven complex event processing for realtime algal bloom detection</title>
		<author>
			<persName><forename type="first">J</forename><surname>Yu</surname></persName>
		</author>
		<author>
			<persName><forename type="first">K</forename><surname>Taylor</surname></persName>
		</author>
		<author>
			<persName><forename type="first">B</forename><surname>Sherman</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proc. Aust. Ontology Workshop, CRPIT</title>
				<meeting>Aust. Ontology Workshop, CRPIT</meeting>
		<imprint>
			<publisher>ACS</publisher>
			<date type="published" when="2011">2011</date>
			<biblScope unit="volume">132</biblScope>
			<biblScope unit="page" from="35" to="36" />
		</imprint>
	</monogr>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
