C-SPARQL: SPARQL for Continuous Querying


“Is a traffic jam going to happen in this highway? And is then convenient to reallocate travelers based upon the forecast?” “By looking at the click stream coming from a given IP, can we notice the shifts of interest of the person behind the computer?” “Which contents of the news Web portal are attracting more attention? Which navigation pattern would lead readers to other news related to those contents?” “Are trends in medical records indicative of any new disease spreading in given parts of the world?” “Where are all my friends meeting?” “In the financial context, can we detect any intraday correlation clusters among stock exchange?” Although the information is often available, there’s no software system capable of computing the answers - indeed, no system enables users even to issue such queries.

See also Stream Reasoning Use Cases Days.


C-SPARQL is an extension of SPARQL whose distinguishing feature is the support of continuous queries, i.e. queries registered over RDF data streams and then continuously executed. Queries consider windows, i.e. the most recent triples of such streams, observed while data is continuously flowing. Supporting streams in RDF format guarantees interoperability and opens up important applications, in which reasoners can deal with evolving knowledge over time.

LarKC Plug-ins

As we proposed in A Proposal for Publishing Data Streams as Linked Data at LDOW 2010, the results of a C-SPARQL query can be published as Linked Data thanks to a Streaming Linked Data server. We have been leveraging such a Linked Data interface of our C-SPARQL Engine to realize three plug-ins for the LarKC 2.5 platform:

In the recent months we have evolved out Streasming Linked Data proposal and we have realized a new plugin for LarKC 2.5 that connects to a remote Streaming Linked Data Server instead on using a local installation of the C-SPARQL Engine:


Technical Reports

* Feedbacks to SPARQL 1.1 support for aggregates

c-sparql (last edited 2011-09-26 16:46:08 by ?EmanueledellaValle)