Strabon
changeset 426:4ca5f6401205
First version of new query required for NOA use case. Will be altered as soon as appropriate data have been generated by kkyzir
author | Manos Karpathiotakis <mk@di.uoa.gr> |
---|---|
date | Wed Jul 11 19:08:41 2012 +0300 (2012-07-11) |
parents | 56533b5328bb |
children | c737ca026c0f |
files | scripts/v2.2/InvalidForFires-temp.sparql |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/scripts/v2.2/InvalidForFires-temp.sparql Wed Jul 11 19:08:41 2012 +0300 1.3 @@ -0,0 +1,19 @@ 1.4 +PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 1.5 +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 1.6 +PREFIX strdf: <http://strdf.di.uoa.gr/ontology#> 1.7 +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 1.8 +PREFIX clc: <http://www.linkedgeodata.gr/corine/ontology#> 1.9 + 1.10 +INSERT {?h noa:isDiscarded "1"^^xsd:int} 1.11 +WHERE { 1.12 +?h noa:hasAcquisitionTime "TIMESTAMP"^^xsd:dateTime ; 1.13 + noa:producedFromProcessingChain "PROCESSING_CHAIN"^^xsd:string ; 1.14 + noa:isDerivedFromSensor "SENSOR"^^xsd:string ; 1.15 + noa:hasGeometry ?hGeo. 1.16 +?a clc:hasLanduse example:InvalidForFires; 1.17 + clc:hasGeometry ?aGeo. 1.18 + #clc:hasCode_Level1 ?code1. 1.19 + #clc:hasCode_Level2 ?code2. 1.20 +#FILTER(?code1 = "1"^^xsd:integer || ?code2 = "21"^^xsd:integer || ?code2 = "22"^^xsd:integer || ?code1 = "4"^^xsd:integer || ?code2 = "51"^^xsd:integer). 1.21 +FILTER(strdf:contains(?aGeo,?hGeo)). 1.22 +}