Strabon

view scripts/v2.2/discover.sparql @ 467:88b4d2c21fb0

syntax fix
SENSOR2-->SENSOR
author Kostis Kyzirakos <kkyzir@di.uoa.gr>
date Thu Jul 19 20:33:14 2012 +0300 (2012-07-19)
parents da5b9a0d9659
children 1056efcaa186
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 rdfs: <http://www.w3.org/2000/01/rdf-schema#>
4 PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
5 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
6 PREFIX gag: <http://teleios.di.uoa.gr/ontologies/gagKallikratis.rdf#>
8 SELECT ?h (strdf:transform(?hGeo, <http://www.opengis.net/def/crs/EPSG/0/4326>) AS ?geo) ?conf ?muni
9 WHERE {
10 ?h noa:hasGeometry ?hGeo ;
11 noa:hasAcquisitionTime ?hAcquisitionTime ;
12 noa:producedFromProcessingChain "PROCESSING_CHAIN"^^xsd:string ;
13 noa:isDerivedFromSensor "SENSOR"^^xsd:string ;
14 noa:hasConfidence ?conf ;
15 gag:hasMunicipality ?muni .
16 FILTER("MIN_ACQUISITION_TIME"^^xsd:dateTime <= ?hAcquisitionTime && ?hAcquisitionTime < "MAX_ACQUISITION_TIME"^^xsd:dateTime ) .
17 OPTIONAL {?h noa:isDiscarded ?disc }.
18 FILTER (!bound(?disc)) .
19 }