Strabon

view examples/teleios/landUseInvalidForFires.sparql @ 536:b76d08b43131

Reorganized the scripts directory
- previous versions were moved to scripts/archive
- latest version of v2.3 queries moved to examples/teleios
author Kostis Kyzirakos <kkyzir@di.uoa.gr>
date Wed Sep 05 21:58:28 2012 +0300 (2012-09-05)
parents
children 41246f8ce66e
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 WHERE {
9 SELECT ?h WHERE
10 {
11 ?h noa:hasAcquisitionTime "TIMESTAMP"^^xsd:dateTime ;
12 noa:producedFromProcessingChain "PROCESSING_CHAIN"^^xsd:string ;
13 noa:isDerivedFromSensor "SENSOR"^^xsd:string ;
14 noa:hasGeometry ?hGeo.
15 ?a rdf:type clc:ExcludeArea;
16 clc:hasGeometry ?aGeo.
17 FILTER(strdf:mbbIntersects(?hGeo,?aGeo)).
18 }
19 GROUP BY ?h ?hGeo
20 HAVING strdf:contains(strdf:union(?aGeo),?hGeo)
21 }