Strabon
changeset 789:35ee9c800a47 DiffDateTime
minor changes in comments
author | George Garbis <ggarbis@di.uoa.gr> |
---|---|
date | Fri Dec 07 22:24:33 2012 +0200 (2012-12-07) |
parents | 2fcae7f5d97d |
children | ed62904f3a18 |
files | examples/teleios/deleteReflections.rq |
line diff
1.1 --- a/examples/teleios/deleteReflections.rq Fri Dec 07 22:23:52 2012 +0200 1.2 +++ b/examples/teleios/deleteReflections.rq Fri Dec 07 22:24:33 2012 +0200 1.3 @@ -25,7 +25,7 @@ 1.4 noa:producedFromProcessingChain "CHAIN"^^xsd:string ; #"StaticThresholds"^^xsd:string ; 1.5 noa:isDerivedFromSensor "SENSOR"^^xsd:string . # "MSG2"^^xsd:string . 1.6 1.7 - # Retrieve all hotspots with the same geometry detected an hour ago 1.8 + # Retrieve all hotspots with the same geometry detected at least an hour ago 1.9 ?h2 noa:hasAcquisitionTime ?h2Time ; 1.10 noa:hasGeometry ?geo ; 1.11 noa:producedFromProcessingChain "CHAIN"^^xsd:string ; #"StaticThresholds"^^xsd:string ; 1.12 @@ -33,7 +33,7 @@ 1.13 FILTER("TIMESTAMP_MINUS_ONE_HOUR"^^xsd:dateTime < ?hTime && ?hTime <= "TIMESTAMP"^^xsd:dateTime ) . 1.14 # FILTER("2007-08-23T12:00:00"^^xsd:dateTime <= ?h2Time && ?h2Time <= "2007-08-23T13:00:00"^^xsd:dateTime) . 1.15 1.16 - # Retrieve all hotspots that touch an ?h2 and are detecteed an hour ago 1.17 + # Filter the results so that the above hotspots have no neighbours 1.18 OPTIONAL { 1.19 ?h3 noa:hasAcquisitionTime ?h3Time ; 1.20 noa:hasGeometry ?h3Geo ; 1.21 @@ -45,6 +45,8 @@ 1.22 } 1.23 FILTER(!bound(?h3)) . 1.24 } 1.25 + # Select every hotspot of the current acquisition which has no neighbours since an hour ago until now 1.26 + # and is "on" during all this time (MSG2 can have 333 detections during an hour) 1.27 GROUP BY ?h1 1.28 HAVING (?h2Count > 3) 1.29 }