Strabon

view examples/teleios/landUseInvalidForFires.rq @ 1482:bd7c59599449

Changed the getSRID functions as in the default branch.
author George Stamoulis <gstam@di.uoa.gr>
date Sat Feb 21 12:38:36 2015 +0200 (2015-02-21)
parents d45be7385224
children
line source
1 PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#>
2 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
3 PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
4 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
5 PREFIX clc: <http://geo.linkedopendata.gr/corine/ontology#>
7 INSERT {?h noa:isDiscarded "1"^^xsd:int ;
8 noa:refinedBy noa:clcInconsistency .
9 }
10 WHERE {
11 SELECT ?h WHERE
12 {
13 ?h noa:hasAcquisitionTime "TIMESTAMP"^^xsd:dateTime ;
14 noa:producedFromProcessingChain "PROCESSING_CHAIN"^^xsd:string ;
15 noa:isDerivedFromSensor "SENSOR"^^xsd:string ;
16 noa:hasGeometry ?hGeo.
17 ?a rdf:type clc:ExcludeArea;
18 clc:hasGeometry ?aGeo.
19 FILTER(strdf:mbbIntersects(?hGeo,?aGeo)).
20 }
21 GROUP BY ?h ?hGeo
22 HAVING strdf:contains(strdf:union(?aGeo),?hGeo)
23 }