7
A Web of Things Based Eco-System for Urban Computing - Towards Smarter Cities Andreas Kamilaris * , Andreas Pitsillides , Francesc X. Prenafeta-Bold * and Muhammad Intizar Ali * GIRO Joint Research Unit IRTA-UPC, Barcelona, Spain Emails: [email protected], [email protected] Department of Computer Science, University of Cyprus, Nicosia, Cyprus Email: [email protected] Insight Centre for Data Analytics, National University of Ireland, Galway, Ireland Email: [email protected] Abstract—Environmental awareness and knowledge may help people to take more informed decisions in their everyday lives, ensuring their health and safety. The Web of Things enables embedded sensors to become easily deployed in urban areas for environmental monitoring such as air quality, electromagnetism, radiation, etc. In this paper, we propose an eco-system for urban computing which combines the concept of the Web of Things, together with big data analysis and event processing, towards the vision of smarter cities that offer real-time information to their habitants about the urban environment. We touch upon near real- time web-based discovery of sensory services, citizen participa- tion, semantic technologies and mobile computing, helping people to take more informed everyday decisions when interacting with their urban landscape. We then present a case study where we demonstrate the feasibility and usefulness of this eco-system to the everyday lives of citizens. I. I NTRODUCTION Urban environments are becoming largely congested, host- ing more citizens than they were designed and developed to support. Today, urban areas host around 50% of the world’s population and the cities’ population is expected to double in the next 40 years [1]. Increasing urbanism implies negative effects to the people and the city. Traffic is heavily increased and levels of pollution are rising. Some areas become dirty and polluted while health and security are compromised. In recent years however, miniaturized sensors appeared at the market, which are capable of measuring with high preci- sion environmental conditions and phenomena, such as tem- perature, humidity, radiation, electromagnetism, noise, chem- icals, air quality etc. These sensor devices, when deployed to urban environments, could provide rich content about the environmental context of these areas. Through the practice of enabling these tiny devices to the web [2], [3], based on the concepts of the Web of Things (WoT) [4], [5], [6], [7], numerous new possibilities arise, in regard to helping citizens to better interact with their urban landscape. In this case, sensors start operating as tiny Web servers, being able to expose their capabilities as Web services [2], [3]. Hence, the information gathered by their sensing capabilities can be shared by means of open Web standards and semantic technologies 1 , creating easier integrations with other web-based information, towards advanced knowledge. Since the Web penetrated deeply in our everyday lives, it can con- stitute the platform for supporting environmental monitoring, exploiting big data analysis and mobile computing [8]. Then, citizens who have access to this knowledge may take more informed decisions during their everyday lives, ensuring their general health, well-being and security. These decisions include avoiding congested regions when driving, deciding which means of transportation to take depending on weather, avoiding polluted areas with bad air quality etc. In this way, people could acquire more sustainable lifestyles, becoming more aware about the impact of their actions (and other people’s actions) on the environment [9], [10], [11]. Since all the building blocks for this web-based integration are already there, in this paper, we introduce a complete eco- system that exploits WoT advancements, suggesting a scalable and flexible approach to discover web-connected embedded devices deployed in the urban environment, analyze their data streams through big data analysis and complex event processing (CEP), and then share their services with citizens through information and communication technologies (ICT). The contribution of this paper is to summarize and connect together our work in WoT, semantic technologies, big data analysis and smart city applications. Hence, this paper serves as a survey in urban computing, focusing on the previous relevant projects completed by the authors, tied together under the umbrella of a WoT-based smart city eco-system. II. RELATED WORK Our paper spans the following research domains: a) urban computing and mobile remote sensing, b) real-time analytics based on big data analysis and CEP, and c) discovery methods for WoT-based devices and data streams. A. Urban Computing and Mobile Remote Sensing Urban computing is an emerging research area that focuses on the use of technology in public environments such as cities, parks and suburbs and their interaction possibilities with 1 For example, REST, MQTT, XMPP, RDF, OWL, SWE and SensorML.

A Web of Things Based Eco-System for Urban Computing ...akamil01/papers/kamilaris_urbanw... · A Web of Things Based Eco-System for Urban Computing - Towards Smarter Cities Andreas

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: A Web of Things Based Eco-System for Urban Computing ...akamil01/papers/kamilaris_urbanw... · A Web of Things Based Eco-System for Urban Computing - Towards Smarter Cities Andreas

A Web of Things Based Eco-System for UrbanComputing - Towards Smarter Cities

Andreas Kamilaris∗, Andreas Pitsillides†, Francesc X. Prenafeta-Bold∗ and Muhammad Intizar Ali‡∗GIRO Joint Research Unit IRTA-UPC, Barcelona, Spain

Emails: [email protected], [email protected]†Department of Computer Science, University of Cyprus, Nicosia, Cyprus

Email: [email protected]‡Insight Centre for Data Analytics, National University of Ireland, Galway, Ireland

Email: [email protected]

Abstract—Environmental awareness and knowledge may helppeople to take more informed decisions in their everyday lives,ensuring their health and safety. The Web of Things enablesembedded sensors to become easily deployed in urban areas forenvironmental monitoring such as air quality, electromagnetism,radiation, etc. In this paper, we propose an eco-system for urbancomputing which combines the concept of the Web of Things,together with big data analysis and event processing, towards thevision of smarter cities that offer real-time information to theirhabitants about the urban environment. We touch upon near real-time web-based discovery of sensory services, citizen participa-tion, semantic technologies and mobile computing, helping peopleto take more informed everyday decisions when interacting withtheir urban landscape. We then present a case study where wedemonstrate the feasibility and usefulness of this eco-system tothe everyday lives of citizens.

I. INTRODUCTION

Urban environments are becoming largely congested, host-ing more citizens than they were designed and developed tosupport. Today, urban areas host around 50% of the world’spopulation and the cities’ population is expected to double inthe next 40 years [1]. Increasing urbanism implies negativeeffects to the people and the city. Traffic is heavily increasedand levels of pollution are rising. Some areas become dirtyand polluted while health and security are compromised.

In recent years however, miniaturized sensors appeared atthe market, which are capable of measuring with high preci-sion environmental conditions and phenomena, such as tem-perature, humidity, radiation, electromagnetism, noise, chem-icals, air quality etc. These sensor devices, when deployedto urban environments, could provide rich content about theenvironmental context of these areas.

Through the practice of enabling these tiny devices to theweb [2], [3], based on the concepts of the Web of Things(WoT) [4], [5], [6], [7], numerous new possibilities arise, inregard to helping citizens to better interact with their urbanlandscape. In this case, sensors start operating as tiny Webservers, being able to expose their capabilities as Web services[2], [3]. Hence, the information gathered by their sensingcapabilities can be shared by means of open Web standards and

semantic technologies1, creating easier integrations with otherweb-based information, towards advanced knowledge. Sincethe Web penetrated deeply in our everyday lives, it can con-stitute the platform for supporting environmental monitoring,exploiting big data analysis and mobile computing [8].

Then, citizens who have access to this knowledge maytake more informed decisions during their everyday lives,ensuring their general health, well-being and security. Thesedecisions include avoiding congested regions when driving,deciding which means of transportation to take dependingon weather, avoiding polluted areas with bad air quality etc.In this way, people could acquire more sustainable lifestyles,becoming more aware about the impact of their actions (andother people’s actions) on the environment [9], [10], [11].

Since all the building blocks for this web-based integrationare already there, in this paper, we introduce a complete eco-system that exploits WoT advancements, suggesting a scalableand flexible approach to discover web-connected embeddeddevices deployed in the urban environment, analyze theirdata streams through big data analysis and complex eventprocessing (CEP), and then share their services with citizensthrough information and communication technologies (ICT).

The contribution of this paper is to summarize and connecttogether our work in WoT, semantic technologies, big dataanalysis and smart city applications. Hence, this paper servesas a survey in urban computing, focusing on the previousrelevant projects completed by the authors, tied together underthe umbrella of a WoT-based smart city eco-system.

II. RELATED WORK

Our paper spans the following research domains: a) urbancomputing and mobile remote sensing, b) real-time analyticsbased on big data analysis and CEP, and c) discovery methodsfor WoT-based devices and data streams.

A. Urban Computing and Mobile Remote Sensing

Urban computing is an emerging research area that focuseson the use of technology in public environments such ascities, parks and suburbs and their interaction possibilities with

1For example, REST, MQTT, XMPP, RDF, OWL, SWE and SensorML.

Page 2: A Web of Things Based Eco-System for Urban Computing ...akamil01/papers/kamilaris_urbanw... · A Web of Things Based Eco-System for Urban Computing - Towards Smarter Cities Andreas

humans. A special area of urban computing is mobile partici-patory sensing, involving the tasking of mobile devices to forminteractive, participatory sensing systems that enable individ-uals in the general public to gather, analyze and share localknowledge. The MetroSense project [12] aims at transformingthe mobile device into a social sensing platform. Goldman etal. [10] show the significance of participatory sensing for ourdaily lives and its impact on climatic change. GPS-equippedmobile phones are used to photograph diesel trucks, in order tounderstand air pollution. In the NoiseTube project [13], mobilephones are used as noise sensors, to measure the personalexposure of citizens to noise, in their everyday environment.Mobile remote sensing through the Web, is used as well forinforming the citizens about local environmental conditions[8]. The Common Sense project [14] derives design princi-ples for describing data collection and knowledge generationfrom remote air quality data. PachuRadar [15] is a mobileapplication informing the user about local Web-based sensingservices. UrbanRadar [11] extends PachuRadar, allowing usersto combine environmental services.

B. Real-time Analytics over Urban Data Streams

Most of the existing smart city initiatives focus on thecollection and provision of a variety of data generated fromurban environments, e.g. the ODAA platform [16] whichprovides open data access to IoT data collected from thecity of Aarhus, using IoT infrastructure deployed within thecity, and Spitfire [17], which uses semantic technologies toprovide a uniform way to search, interpret and transformsensory data. IBM Start City [18] supports real-time IoT dataanalytics for event detection pertaining to the traffic domain.Service-oriented approaches for on-demand integration of datastreams include ACEIS [19], which uses CEP for on-demanddiscovery and integration of urban data streams. PLAY [20]provides an event-driven middleware that is able to processcomplex event detection in large distributed and heterogeneoussystems. PLAY architecture facilitates event-driven adaptiveprocess management, which can automatically adapt aftersensing contextual information. Similarly, VITAL [21] aimsto develop a smart cities platform OS, which will enablethe integration and semantic interoperability of multiple IoTsystems that underpin smart city applications. A big weaknessof ACEIS, PLAY and VITAL is that they rely on existing,static repositories of registered data streams.

C. Discovery at the Web of Things

The absence of standardized discovery methods for web-enabled physical devices led to the development of online,global sensor directories, such as Thingful2 and SenseWeb[22]. These infrastructures allow people to share, discoverand monitor in real-time environmental data from sensorsconnected to the internet around the world. The main drawbackis that they are centralized, with a single point of failure.Decentralized approaches have also been proposed, such as

2Thingful: https://thingful.net/

Fig. 1. An eco-system for web-based urban computing.

IrisNet [23] and G-Sense [24]. These approaches, althoughmore robust and scalable, have not been largely adopted assensor discovery is still a challenging issue. More recentapproaches include Snoogle [25] and Dyser [26]. Snoogle isan information retrieval system for wireless sensor networkswhile Dyser focuses on entities than on sensor devices, e.g.whether a classroom is occupied or not. These approachesare both computationally-expensive while Dyser requires addi-tional internet infrastructure such as sensor gateways. Anotherproposed technique is to exploit the DNS system for servicediscovery [27], [28]. On the other hand, microformats3 suggestways for making HTTP data available for searching. Finally,WOTS2E [29] is a semantics search engine, based on theSpEnD platform [30], being able to discover Linked Dataendpoints and, through them, WoT-enabled devices and theirservices by means of web crawling.

III. AN ECO-SYSTEM FOR URBAN COMPUTING

In this section, we describe the main elements of an eco-system proposed for exploiting the WoT for scalable and flexi-ble urban computing. From related work, it has been observedthat existing smart city frameworks [16], [17], [18], [19],[20], [21] have been designed based on static artefacts, andany changes in the underlying infrastructure require manualintegration of new sources. Hence, dynamicity, autonomy andheterogeneity are major hurdles in the wide adoption of WoTtechnologies in the smart city application development realm.WoT still lacks a universal, widely-accepted protocol for adhoc discovery of sensors and devices. Finally, semantic webtechnologies, which could guarantee seamless data integra-tions, are only partly used in related work.

Considering the limitations of related work, our proposedeco-system combines the state of art approaches in relatedwork [19], [11], [29], taking into account on-demand, adhoc discovery of sensor data streams, integration based on

3Microformats: http://microformats.org/

Page 3: A Web of Things Based Eco-System for Urban Computing ...akamil01/papers/kamilaris_urbanw... · A Web of Things Based Eco-System for Urban Computing - Towards Smarter Cities Andreas

semantic web technologies and CEP, providing robust, real-time smart city analytic solutions over heterogeneous urbandata streams. It is designed based on the concepts of WoT,involving mobile computing and support for flexible urbanmashups (see Section III-D1).

A. Main Elements

A WoT-based eco-system for urban computing combinesmachine sensing (data streams produced by sensor devices)and human sensing (citizen participation to provide informa-tion using mobile devices) as input. It consists of various com-ponents and provides services for efficient urban computing,such as on-demand discovery of sensors and data streams, real-time analytics and mobile computing. Figure 1 illustrates themajor components of this eco-system.

• WoT-based sensor data streams involve devices fullyintegrated to the Web, directly by embedding Web serverson them [2], [3] or indirectly by means of gateways [31],[32]. These devices measure environmental conditions,produce sensor data streams and expose their sensingservices as RESTful web services [7], in order to beeasily reusable and interoperable. Human sensing can beinvolved when citizens either participate through theirmobile phones or install and deploy sensor devices attheir homes, exposing their services through the web. Notonly individuals but also companies, non-governmentalorganizations (NGOs) and governmental services couldcontribute by placing sensor devices in city locations.

• Discovery of WoT devices, services and sensor datastreams, which needs to be achieved through a scal-able and flexible mechanism that is ubiquitous to webusers. This mechanism must comply with existing internetstandards and not require major changes to the existingtechnical equipment and protocols.

• Middleware performing big data analysis and CEP,collecting and analyzing online or offline sensor streamscoming from various sources such as statistics fromgovernmental organizations, information from online so-cial networking sites, environmental repositories, physicalsensors etc. These platforms should analyze in real-timethese massive amounts of data and take fast decisions,providing recommendations to citizens or input to varioussmart city applications [33], [19].

• Publish/subscribe messaging queues, abstracting pub-lishers (sensor streams) from subscribers (middleware orend users) in order to achieve asynchronous communi-cations, loosely-coupled operations and reduction of thetotal messages exchanged [34]. These messaging queuescan be part of the middleware or be independent entities.

• ICT technologies such as mobile applications [15],which locate and interact with environmental servicesprovided by embedded devices, informing the user aboutexisting environmental conditions where he/she is cur-rently located [8]. These applications could combinesensory services together in the form of urban mashups[11], blending them with online web services (e.g. public

transportation time schedule, weather forecasting, socialevents in the city, notifications for traffic by the policedepartment etc.), to assist the citizens in their everydaylife by taking more informed decisions.

• Semantic web technologies for uniformly describingWoT data streams, devices and services, allowing seam-less integrations with other sources of information, plat-forms and applications towards advanced knowledge.

In this eco-system for urban computing, WoT-enabled sen-sor devices and their data streams can be discovered throughscalable and pervasive discovery mechanisms [29], [27], [25],[26]. This discovery is performed either by middleware andonline platforms performing big data analysis and CEP [33],[19], or by mobile applications which are used by citizens ofthe urban landscape [11], [15]. In the former case, these mid-dleware have advanced reasoning capabilities and can evaluatecomplex event patterns in real-time, combining numerous datastreams and event services. In the latter, mobile applicationslocate and interact with a small number of nearby sensordevices and their services, and have the opportunity to combinethese services together to develop opportunistic, more com-posite services, called urban mashups, which are described inSection III-D1. Mobile applications would only have a localview of the urban environment, and would be able to takeonly local decisions. For global decisions and more advancedreasoning, taking into account the whole city infrastructure,the use of the aforementioned middleware is required. Thiscould be parallelized to cloud and fog computing [35], wherethe first offers large computing capabilities and the secondtries to offload some of the burden by making local inference.

In the following sub-sections, we describe in more detailthe main elements of the proposed eco-system.

B. Real-Time Discovery at the Web of Things

Near real-time discovery of physical entities is an openresearch area at the WoT, as discussed in II-C. Centralizedsolutions were proposed without much success, while decen-tralized ones [23], [24] were not largely adopted. Informationretrieval systems for the real world [25], [26] were not adoptedeither, as they did not scale for the web and required additionalphysical infrastructure. Microformats would be more practical,but they would increase our dependency on commercial searchengines. Moreover, discovery through the DNS system [27],[28], was not considered a flexible enough solution.

Considering these issues, we propose the use of a novelmethod for discovering WoT devices/services and semanticallyannotated data on the web related to IoT/WoT, by usingspecialized web crawlers acting as agents for a discoverysearch engine on a semantically-enabled WoT. The operationof WOTS2E [29] consists of:

1) Discovery of Linked Data endpoints, by means of webcrawlers that crawl the world wide web,

2) Examination of each discovered Linked Data endpointto understand whether it relates to an IoT/WoT project,deployment or infrastructure,

Page 4: A Web of Things Based Eco-System for Urban Computing ...akamil01/papers/kamilaris_urbanw... · A Web of Things Based Eco-System for Urban Computing - Towards Smarter Cities Andreas

Fig. 2. Environmental service discovery using WOTS2E [29].

3) Analysis of the IoT/WoT Linked Data endpoints toacquire meta-data and information about the IoT/WoTdevices and services available, and

4) Recording of the IoT/WoT devices and services dis-covered, along with their service and data descriptioninformation.

Figure 2 depicts how WOTS2E works, illustrating the wholeprocedure for discovery information retrieval.

C. Big Data Analysis and Complex Event Processing

Middleware between smart city applications and sensor datastreams are needed for processing complex events and for ana-lyzing big data coming from hundreds or thousands of sensors.Providing support for quality-aware distributed event systemsconsuming WoT streams is still a challenge. Moreover, modernreal-world applications in the WoT space require reasoningcapabilities that can handle incomplete, diverse and unreliableinput. To address these challenges, we propose using theAutomated Complex Event Implementation System (ACEIS)[33], [19], which is a quality-aware adaptive CEP platform forurban data streams. Each sensor data stream is annotated withvarious QoS and Quality of Information (QoI) metrics. ACEISreceives an event service request described using a complexevent service information model and automatically composesthe most suitable data streams for the particular event request.It then transforms the event service composition into a streamquery to be deployed and executed on a stream engine (i.e.CQELS [36], C-SPARQL [37]) to evaluate the complex eventpattern specified in the event service request. ACEIS workswith the RabbitMQ publish/subscribe messaging queue [34],in order to offload total network traffic.

Figure 3 presents the architecture of ACEIS, which consistsof three main components: Application Interface, SemanticAnnotation and Core. The application interface interacts withend users as well as with ACEIS core modules. It allows usersto provide inputs required by the application and presents theresults to the user in an intuitive way. The semantic annotationcomponent receives WoT-based data streams while the coremodule serves as a middleware between low-level data streamsand upper-level smart city applications. When ACEIS is wiredto a real-time discovery WoT protocol [29] (see Section III-B),

Fig. 3. ACEIS architecture [33].

it can become very adaptive and dynamic to a wide range ofsmart city applications.

D. Mobile Applications for Urban Computing

Mobile apps targeting smart cities locate and interact withenvironmental services, provided by sensors installed at var-ious urban locations, informing the user about the existingenvironmental conditions where he/she is currently located [8].These mobile apps have a local view of the urban environ-ment, and are able to take only local decisions, unless theycommunicate with smart city middleware (such as ACEIS),which would assist them in taking more informed, broaderdecisions, taking into account the whole city infrastructure.Eleven important design elements for engaging and persuasivemobile apps related to urban computing are listed in [11],including personalization, forecasting, easy rule creation andcustomization, visualizations, comparative feedback etc.

Fig. 4. UrbanRadar operation [11].

UrbanRadar [11] is one such application, designed anddeveloped for Android phones. Exact user location can beinferred from GPS services and Wi-Fi positioning. Proximityis defined as a circle with the user’s location at center. Radiusranges from some meters to a few kilometers. In highlydense areas such as big cities, a radius of tens of meters canbe enough while in suburbs this radius can cover hundredsor thousands of meters. Figure 4 illustrates the operationof UrbanRadar. The mobile phone represents user’s positionand the red circle indicates the area of interest, in whichthe user can be informed in real-time about nearby sensoryservices, using the search and discovery mechanism describedin Section III-B. According to the figure, one sensor device

Page 5: A Web of Things Based Eco-System for Urban Computing ...akamil01/papers/kamilaris_urbanw... · A Web of Things Based Eco-System for Urban Computing - Towards Smarter Cities Andreas

exists in this covered area, with which the user can interactand be informed about its sensing services.

Fig. 5. An example of a simple urban mashup (left) [11]. An extended urbanmashup combining two urban mashups together (right).

1) Urban Mashups: Exposing the features provided bysensor devices as web services [5], [7], allows the developmentof web mashups involving real entities. In this case, webmashups are extended into physical mashups [6], combiningsensory services using the classic web mashup technique.Physical mashups cannot be directly applied in urban envi-ronments, since these dense areas are characterized by highmobility and unpredictability. Thus, in order to adapt to thesehighly dynamic landscapes, urban mashups are defined asopportunistic physical mashups, validated only when the localenvironmental conditions support the sensor-based servicesdefined by the mashups [11]. Urban mashups are used bymobile apps and are service-centric, focusing on the servicesoffered by sensor devices. UrbanRadar includes support forurban mashups, allowing users to combine environmentalservices using operations such as greater than, if/then, and/or,etc. An example urban mashup is displayed in Figure 5 (left).In this example, a sensor measuring the levels of noise, apollution sensor and a street camera combine their servicesin order to infer the traffic conditions existing at a city’scenter. Urban mashups can be combined and reused, formingdirected acyclic graphs. For example, the example mashup canbe extended to suggest to the user whether to take the bus to goto work, in case traffic and weather conditions are appropriate.This extended mashup is presented in Figure 5 (right).

Users must specify if the real-world services that produceeach event need to be perceived as low/average/high (forservices such as temperature, humidity) or good/average/bad(for services such as weather, air quality). It is more convenientto select easy-to-understand keywords than complex measure-ments (e.g. decibels for noise, miles per hour for wind). Inaddition, users have the option to select weights for eachenvironmental service, if for example street occupancy affectstraffic more significantly than noise.

E. Semantic web technologies

As mentioned before, the glue for the aforementionedelements to work together is the notion of semantic webtechnologies. Semantics provide seamless data integration,combination and reuse with minimal effort.

To semantically annotate sensory data streams, we proposethe use of lightweight information models that are developedon top of well-known ontologies, such as SSN [38] and OWL-S [39]. Based on these, we can describe streams coming fromurban sensors using the Stream Annotation Ontology (SAO)

Fig. 6. An information model for a smart city eco-system.

[40] and events detected relating to smart cities using the Com-plex Event Ontology (CEO) [41]. Hence, middleware suchas ACEIS can become suitable for describing CEP serviceswith event patterns based on semantics. Particularly relatedto describing smart city entities and relationships, existingwell-known ontologies include W3C PROV, IoT, SUMO andOGC GeoSPARQL. These ontologies can be used to describeelements and actors of smart cities such as pollution sensors,traffic cameras, smart meters, weather forecasting services,spatial information etc. Figure 6 shows a suggested linking ofthese smart city ontologies together with SAO/CEO, which canbe used by ACEIS and other relevant platforms for seamlessdata discovery and integration, combined with a discoveryapproach as discussed in Section III-B, towards large-scale,real-time stream processing and event detection.

IV. CASE STUDY: A TRAFFIC MONITORING SCENARIO

In this section, we demonstrate the use of the proposedeco-system (and its elements) in the context of a trafficmonitoring scenario in the city of Aarhus, Denmark [42],where 449 pairs of traffic sensors were deployed on the streets.Their sensory information was semantically annotated basedon the information model described in Section III-E. TheWOTS2E discovery service (see Section III-B) was locallyinstalled, scanning the web daily for semantically-annotatedWoT devices and services. In this way, all 449 pairs of trafficsensors were discovered in real-time, and became available toACEIS for use and analysis (see Section III-C).

A Travel Planner mobile app (see Section III-D) wasdeveloped based on ACEIS, providing the ideal route forits users while commuting at the city of Aarhus, takinginto account users’ current context. Unlike state of the arttravel planning solutions with a choice of fastest/shortestroute, this app allows its users to provide multi-dimensionalrequirements and preferences, e.g. weather conditions, trafficand people intensity, traffic schedules etc. Travel Planner alsoperforms real-time data analytics, using the services of ACEIS,continuously monitoring user context and relevant events (e.g.traffic accidents) on the planned routes.

Hence, ACEIS can dynamically discover (throughWOTS2E) all city-level sensor streams, made available assemantic services to monitor city events. A user of the TravelPlanner app may specify requirements and preferences forthe route planning. ACEIS considers also additional info

Page 6: A Web of Things Based Eco-System for Urban Computing ...akamil01/papers/kamilaris_urbanw... · A Web of Things Based Eco-System for Urban Computing - Towards Smarter Cities Andreas

regarding QoS and QoI of available sensor data streams,providing optimal solutions for the user request.

Figure 7(a) shows the user interface of Travel Planner.The app allows the user to provide functional (e.g. startingpoint, end point) and non-functional requirements (e.g. airquality, shortest path, avg. traffic speed etc.). ACEIS considersfunctional requirements as constraints (solution must satisfythese requirements) and non-functional requirements as pref-erences (solutions must be ordered based on the satisfiability ofpreferences). Figure 7(b) shows suggestions for the top-threeavailable routes based on user-defined constraints and prefer-ences. The app can subscribe to city events relevant to the user,generating real-time notifications if any detected events canpotentially affect the current journey, as shown in Figure 7(c).Finally, users can create urban mashups (see Section III-D),combining traffic conditions together with other informationsuch as weather forecasting, air quality, parking availabilityetc, towards better, more personalized and customized decisionmaking on the fly, while commuting around the city.

(a) Interface (b) Selected route (c) Event notification

Fig. 7. Travel planner application for the city of Aarhus [42].

V. DISCUSSION

The proposed eco-system addresses numerous challengesfaced by urban computing, exploiting dynamic services andheterogeneous data streams offered by WoT-enabled sensors.The components comprising this eco-system solve varioustechnical problems that need to be tackled for offering high-quality environmental services to the citizens. A major techni-cal challenge is the real-time discovery of urban sensors anddata streams. Also, their semantic description is importantfor smooth and seamless integration to various middlewareand platforms. Information models such as complex eventservice ontologies [43] should become standardized, ensuringinteroperability among the urban eco-system’s components.

Challenges include also coping with heterogeneous andunreliable sensor data streams, being required to describecomprehensive event operators and non-functional constraints.ACEIS is an important step towards addressing these issues.Platforms such as ACEIS would encourage the developmentof a variety of smart city applications by third-parties, whichwould harness these services for offering decision support andadvanced knowledge to their users.

Since the whole concept is participatory-based, only peoplewho are willing to share their sensory services with the onlinecommunity would do so. A culture could be created in thefuture around the concept of sharing environmental serviceswith the rest of the world, while some incentives could begiven by local municipalities and governmental organizations.More organizations and agencies need to start contributingwith sensor deployments and data streams that measure variousenvironmental phenomena. A culture around making sensorspublicly available through the web could be used as a pressuretechnique to individuals, companies or governments to im-prove possibly poor life conditions. Even though the describedcase study targeted environmental services and sensor datastreams, the architecture could support any kind of physicaldevice and pervasive service, such as parking sensors in citycenters and malls, roadway infrastructure for the exchangeof safety and operational data between vehicles and driversetc., as well as data streams from social media. Discoveryof services could become more personalized, selecting onlydevices meeting particular user preferences. For example,users may wish to interact solely with devices belonging towell-known authorities or NGOs.

The web can be a driver towards smarter digital citiesoffering real-time information and knowledge. In this paper,we harnessed the popularity, ubiquity and acceptance of theweb (and consequently WoT and semantic web), suggestinga flexible, large-scale, location-based city monitoring solutionthat promotes the idea of citizen participation.

As future urban areas are expected to be highly crowded,massively equipped with networked sensors, location will bean important parameter in the future web, directly integratedinto it. Mobile location-based services [11], [8] will facilitatethe filtering of vast amount of sensory data into relevant infor-mation that would enhance the quality of life of citizens, whilemoving within their cities. To enable this vision, trustwor-thiness, accuracy and semantic annotation of measurementsare important matters, which become more complex whencitizens are encouraged to contribute with their own servicesin a participatory-based scheme. In this case, reputation-basedsystems could be employed for raising trust while well-definedontologies could reduce heterogeneity barriers.

More interaction of the citizens with their urban landscapethrough remote sensing could increase their environmentalawareness [10], [11], but (eco-)feedback should be carefullypresented, in order to have positive and long-term effect inpeople’s everyday lives [44].

VI. CONCLUSIONS

In this paper, an eco-system for urban computing was in-troduced combining the concepts of Web of Things and urbancomputing. The research domains of near real-time web-baseddiscovery of sensory services, big data analysis and complexevent processing, mobile computing, citizen participation andsemantic web technologies are combined together to enable thevision of smarter cities offering real-time knowledge to theirhabitants, towards more informed decision making. The case

Page 7: A Web of Things Based Eco-System for Urban Computing ...akamil01/papers/kamilaris_urbanw... · A Web of Things Based Eco-System for Urban Computing - Towards Smarter Cities Andreas

study in the city of Aarhus, Denmark indicated the feasibilityand usefulness of the proposed eco-system.

As future work, we aim to evaluate this urban eco-systemthrough larger-scale case studies and deployments in variouscities, involving thousands of sensor devices and environmen-tal services such as dust, water pollution, radiation, dangerouschemicals and heavy metals in foods. Also, we plan toinvolve hundreds of participants for long experimental periods,assessing the eco-system’s acceptance to citizens involved,their engagement and potential behavioural change. Finally,privacy and security constitute crucial aspects that need to beaddressed in this participatory-based scheme.

VII. ACKNOWLEDGMENT

This research has been supported by the P-SPHERE project,which has received funding from the European Union’s Hori-zon 2020 research and innovation programme under the MarieSkodowska-Curie grant agreement No 665919.

REFERENCES

[1] United Nations. Millennium Development Goals Report, 2007.http://www.un.org/millenniumgoals/pdf/mdg2007.pdf.

[2] D. Yazar and A. Dunkels. Efficient Application Integration in IP-basedSensor Networks. In Proc. of BuildSys Workshop, California, USA,November 2009.

[3] L. Schor, P. Sommer, and R. Wattenhofer. Towards a Zero-ConfigurationWireless Sensor Network Architecture for Smart Buildings. In FirstWorkshop On Embedded Sensing Systems For Energy-Efficiency InBuildings (BuildSys), Berkeley, California, USA, November 2009. ACM.

[4] D. Guinard, V. Trifa, and E. Wilde. Architecting a Mashable Open WorldWide Web of Things. Technical Report 663, Institute for PervasiveComputing, ETH Zurich, 2010.

[5] E. Wilde. Putting things to REST. Technical Report UCB iSchoolReport 2007-015, UC Berkeley, November 2007.

[6] D. Guinard and V. Trifa. Towards the Web of Things: Web Mashupsfor Embedded Devices. In MEM Workshop, in Proc. of WWW, Madrid,Spain, 2009.

[7] R. T. Fielding. Architectural Styles and the Design of Network-basedSoftware Architectures. PhD thesis, University of California, Irvine,California, 2000.

[8] A. Kamilaris and A. Pitsillides. Mobile Phone Computing and theInternet of Things: A Survey. IEEE Internet of Things (IoT) Journal,3(6):885–898, December 2016.

[9] J. Blake. Overcoming the value-action gapin environmental policy: Ten-sions between national policy and local experience. Local environment,4(3):257–278, 1999.

[10] J. Goldman et al. Participatory sensing: A citizen-powered approachto illuminating the patterns that shape our world. Woodrow WilsonInternational Center for Scholars.

[11] A. Kamilaris and A. Pitsillides. The Impact of Remote Sensing onthe Everyday Lives of Mobile Users in Urban Areas. In Proc. ofthe International Conference on Mobile Computing and UbiquitousNetworking (ICMU), Singapore, January 2014.

[12] A. T. Campbell et al. The rise of people-centric sensing. IEEE InternetComputing, 12(4):12–21, 2008.

[13] N. Maisonneuve, M. Stevens, M. E. Niessen, P. Hanappe, and L. Steels.Citizen noise pollution monitoring. In Proc. of the 10th AnnualInternational Conference on Digital Government Research, pages 96–103, 2009.

[14] W. Willett, P. Aoki, N. Kumar, S. Subramanian, and A. Woodruff.Common sense community: Scaffolding mobile sensing and analysis fornovice users. In Pervasive Computing, pages 301–318. Springer BerlinHeidelberg, 2010.

[15] A. Kamilaris, N. Iannarilli, V. Trifa, and A. Pitsillides. Bridging theMobile Web and the Web of Things in Urban Environments. In FirstWorkshop on the Urban Internet of Things, in Proc. of IoT 2010, Tokyo,Japan, 2011.

[16] Open Data Aarhus, 2016. http://www.odaa.dk.

[17] D. Pfisterer et al. SPITFIRE: toward a semantic web of things. IEEECommunications Magazine, 49(11):40–48, 2011.

[18] F. Lecue et al. Smart traffic analytics in the semantic web with star-city:Scenarios, system and lessons learned in dublin city. Web Semantics:Science, Services and Agents on the World Wide Web, 27:26–33, 2014.

[19] F. Gao, M. I. Ali, and A. Mileo. Semantic Discovery and Integration ofUrban Data Streams. In Proc. of the Fifth International Conference onSemantics for Smarter Cities, 2014.

[20] R. Stuhmer, Y. Verginadis, I. Alshabani, T. Morsellino, and A. Aversa.PLAY: Semantics-based Event Marketplace. In Collaborative Systemsfor Reindustrialization, pages 699–707. Springer, 2013.

[21] VITAL Smart City Management OS, 2016. http://vital-iot.eu/live-demos/management/vital-smart-city-management.

[22] A. Santanche et al. SenseWeb: Browsing the Physical World in RealTime. Nashville, TN, April 2006.

[23] P.B. Gibbons et al. IrisNet: An Architecture for a Worldwide SensorWeb. IEEE Pervasive Computing, 2(4):22 – 33, October 2003.

[24] A.J. Perez, M.A. Labrador, and S.J. Barbeau. G-Sense: A scalablearchitecture for global sensing and monitoring. IEEE Network, 24(4):57–64, July 2010.

[25] H. Wang, C.C. Tan, and Q. Li. Snoogle: A Search Engine for thePhysical World. In Proc. of INFOCOM, pages 1382 –1390, 2008.

[26] B. Ostermaier, K. Roemer, F. Mattern, M. Fahrmair, and W. Kellerer.A Real-Time Search Engine for the Web of Things. In Proc. of IoT,Tokyo, Japan, 2010.

[27] A. Kamilaris, K. Papakonstantinou, and A. Pitsillides. Exploring theUse of DNS as a Search Engine for the Web of Things. In Proc. ofthe IEEE World Forum on Internet of Things (WF-IoT), Seoul, SouthKorea, March 2014.

[28] A. Kamilaris and A. Pitsillides. Using DNS for Global Discovery ofEnvironmental Services. In Proc. of WEBIST, Porto, Portugal, 2012.

[29] A. Kamilaris, S. Yumusak, and M. I. Ali. WOTS2E: A Search Enginefor a Semantic Web of Things. In IEEE World Forum on Internet ofThings (WF-IoT), Reston, VA, USA, December 2016. IEEE.

[30] H. Kodaz S. Yumusak, E. Dogdu and A. Kamilaris. SpEnD: LinkedData SPARQL Endpoints Discovery Using Search Engines. IEICETRANSACTIONS on Information and Systems, E100-D(4):758–767,April 2017.

[31] A. Kamilaris, V. Trifa, and A. Pitsillides. The Smart Home meets theWeb of Things. IJAHUC Journal, 7(3):145–154, 2011.

[32] A. Kamilaris, V. Trifa, and D. Guinard. Building web-based infrastruc-tures for smart meters. In Energy Awareness and Conservation throughPervasive Applications Workshop (Pervasive 2010), May 2010.

[33] F. Gao, M. I. Ali, E. Curry, and A. Mileo. QoS-aware Adaptation forComplex Event Service, 2016.

[34] RabbitMQ. Robust messaging for applications, 2016.https://www.rabbitmq.com/.

[35] F. Bonomi, R. Milito, J. Zhu, and S. Addepalli. Fog computing and itsrole in the internet of things. In Proc. of the first edition of the MCCworkshop on Mobile cloud computing, pages 13–16. ACM, 2012.

[36] D. Le-Phuoc, M. Dao-Tran, J.X. Parreira, and M. Hauswirth. A nativeand adaptive approach for unified processing of linked streams andlinked data. In Proc. of the International Conference on Semantic Web(ISWC), pages 370–388. Springer, 2011.

[37] D.F. Barbieri et al. C-SPARQL: SPARQL for continuous querying. InProc. of the 18th International Conference on World Wide Web, pages1061–1062. ACM, 2009.

[38] M. Compton et al. The SSN ontology of the W3C semantic sensornetwork incubator group. Web Semantics: Science, Services and Agentson the World Wide Web, 17(1):25–32, 2012.

[39] W3C. OWL-S: Semantic Markup for Web Services, 2016.https://www.w3.org/Submission/OWL-S/.

[40] S. Kolozali, M. Bermudez, and P. Barnaghi. Stream AnnotationOntology, 2016. http://iot.ee.surrey.ac.uk/citypulse/ontologies/sao/sao.

[41] F. Gao, M. I. Ali, and A. Mileo. Complex Event Service Ontology,2016. http://citypulse.insight-centre.org/ontology/ces/.

[42] CityPulse EU FP7 Project. Demonstrations, 2016. http://www.ict-citypulse.eu/page/content/tools-and-data-sets.

[43] A. Sasa and O. Vasilecas. Ontology-Based Support for Complex Events.Elektronika ir Elektrotechnika, 113(7):83–88, 2011.

[44] Salil S Kanhere. Participatory sensing: Crowdsourcing data from mobilesmartphones in urban spaces. In 12th IEEE International Conference on

Mobile Data Management (MDM), volume 2, pages 3–6. IEEE, 2011.