You are here: Home > GovObjects > Hackney Data

NEW Plone-4 Hosting

Plone-4 Hosting

Our new Plone-4 hosting now starts from just £25 a month

 

Hackney Data

Hackney air quality data

 

Dataset Hackney contains data of NO2 concentrations for a given date.

Dataset NOA is publicly-available data from a nearby weather station, showing the temperature on each day.

Combining both datasets we can show the NO2 concentration and temperature on a given date.

Run Query:

select ?date ?temp ?no2
where {graph <http://virtuoso.govobjects.org/testdata/> 
  {
    ?weathersummary  <http://www.govobjects.org/testontology#date> ?date .
    ?weathersummary  
         <http://www.govobjects.org/testontology#meanTemperature>  ?temp .
    ?airsummary  <http://www.govobjects.org/testontology#no2>  ?no2 .
    ?airsummary  <http://www.govobjects.org/testontology#date> ?date .
    FILTER(REGEX(?date,"2007")) 
   }
} order by ?date
Temperature and Nitrogen dioxide content plotted against time. This graph is produced by pulling data off a SPARQL endpoint and plotting using the matplotlib library
 
An example of simple data processing. The gate is provided by a temperature threshold (15.5 °C). The gated NO2 graph is then ANDed with it.