boisvert

all scc sensors-id-and highest timestamp

Apr 25th, 2015
803
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SELECT ?sensor ?maxTimestamp ?sensorId ?lat ?long ?lastCheck WHERE {
  2.   ?sensor a <http://purl.oclc.org/NET/ssnx/ssn#SensingDevice> .
  3.   ?sensor <uri://opensheffield.org/properties#sensorId> ?sensorId .
  4.   ?sensor <http://purl.oclc.org/NET/ssnx/ssn#onPlatform> "scc_air_quality" .
  5.   ?sensor <http://www.w3.org/2003/01/geo/wgs84_pos#long> ?long .
  6.   ?sensor <http://www.w3.org/2003/01/geo/wgs84_pos#lat> ?lat .
  7.   ?sensor <uri://opensheffield.org/properties#lastCheck> ?lastCheck .
  8.   OPTIONAL { ?sensor <uri://opensheffield.org/properties#maxTimestamp> ?maxTimestamp } .
  9. }
  10. ORDER BY DESC(?sensor)
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.

×