Real-Time Urban Monitoring in Dublin Using Semantic and Stream Technologies

Simone Tallevi-Diotallevi, Spyros Kotoulas, Luca Foschini, Freddy Lécué, Antonio CorradiISWC 2013

Abstract

This paper presents a high-performance prototype for real-time urban monitoring in Dublin, integrating semantic web technologies with stream processing. By extending SPARQL for heterogeneous data and implementing a hybrid RDFS reasoner, the system achieves significant performance gains, processing data 20 times faster than its real-time generation rate.

Introduction

Modern "Smarter Cities" are characterized by an abundance of data from sensors, transit systems, and social media. However, this data is often siloed in disparate formats such as CSV, JSON, and RDF, and arrives at varying velocities. Integrating these sources for real-time decision-making presents three primary challenges: data heterogeneity, the need for real-time reasoning (inferring implicit knowledge from streaming data), and scalability under high throughput and low latency requirements.

System Architecture and Methodology

To address these challenges, the researchers developed a prototype on the IBM InfoSphere Streams platform. The architecture consists of three main components: the Input Specification Module, Reasoning Modules, and the Logical Evaluation Module (LEMod).

The system architecture illustrates the data flow from heterogeneous inputs through reasoning modules to the logical evaluation stage.

DubExtensions

The system introduces DubExtensions, which extend the SPARQL query language to allow simultaneous querying of raw CSV streams and static RDF data. This unified approach eliminates the need for costly pre-processing and format conversion, significantly reducing the development effort. In practice, this allowed the replacement of 7,500 lines of complex Stream Processing Language (SPL) code with just 512 lines of SPARQL.

Hybrid RDFS Reasoner

A core innovation is the hybrid RDFS reasoner. By combining forward-chaining and backward-chaining techniques, the system generates input filters based on the specific query. These filters prune irrelevant incoming data, ensuring that complex reasoning is only performed on triples necessary for the result. This "goal-oriented" pruning is a major factor in the system's efficiency.

Logical Evaluation Module (LEMod)

LEMod translates high-level SPARQL queries into a graph of native operators in the Stream Processing Language (SPL). This allows semantic queries to benefit from the performance of low-level stream processing code.

SPARQL Basic Graph Patterns (BGP) are mapped to a graph of Split and Join operators for efficient stream processing.

Experimental Evaluation

The system was validated using real-world data from Dublin—including bus locations, pollution levels, and pedestrian counts—as well as the Lehigh University Benchmark (LUBM) adapted for streaming.

Key Results

  • Throughput and Scalability: The system processed data at rates 20 times faster than the actual generation rate in Dublin. Furthermore, increasing the data window size had a sub-proportional impact on performance, indicating strong scalability.
  • Reasoning Efficiency: The hybrid reasoning approach achieved a 17.6x performance boost over traditional data-driven methods for complex queries.
  • Latency: Results were delivered with sub-3ms latency, making the system viable for time-critical urban management and public safety applications.

Conclusion and Future Work

The prototype demonstrates that semantic technologies can be integrated into high-performance stream processing without sacrificing speed. By marrying the flexibility of Linked Data with the performance of tuple-based stream processing, the authors proved that semantic systems can meet the demands of modern smart cities. Future research will focus on optimizing spatial indexing for geographic data, standardizing Streaming SPARQL specifications, and improving system robustness in distributed environments.

Summary updated

BibTeX
@inproceedings{tallevidiotallevi2013real,
  author = {Simone Tallevi-Diotallevi and Spyros Kotoulas and Luca Foschini and Freddy Lécué and Antonio Corradi},
  title = {{Real-Time Urban Monitoring in Dublin Using Semantic and Stream Technologies}},
  booktitle = {ISWC},
  year = {2013},
  doi = {10.1007/978-3-642-41338-4\_12},
}
Figure