open_data_sheffield

daily temperature in sheffield (weather mast)

Jul 23rd, 2015
658
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. PREFIX opensheff: <uri://opensheffield.org/properties#>
  2.  
  3. SELECT
  4.     SUBSTR(?d, 9, 2) AS ?DAY
  5.     SUBSTR(?d, 6, 2) AS ?MONTH
  6.     SUBSTR(?d, 1, 4) AS ?YEAR
  7.     AVG(?temp) AS ?day_temp
  8.     COUNT(1) AS ?measurements
  9. WHERE {
  10.     ?m opensheff:sensor <uri://opensheffield.org/datagrid/sensors/Weather_Mast/Weather_Mast.ic> ;
  11.        opensheff:rawValue ?temp ;
  12.        <http://purl.oclc.org/NET/ssnx/ssn#endTime> ?time .
  13.     BIND( SUBSTR(?time, 1, 10) AS ?d ) .
  14. }
  15. GROUP BY ?d
  16. ORDER BY ASC(?d)
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×