Strabon

view examples/teleios/discover.rq @ 1358:65db010f01ac

removed dependency to epsg-wkt.jar since one epsg (epsg-hsql.jar) suffices and duplication might rise exceptions (according to this page: http://docs.geotools.org/latest/userguide/faq.html#q-how-to-choose-an-epsg-authority)
author Babis Nikolaou <charnik@di.uoa.gr>
date Sat Sep 13 18:21:21 2014 +0300 (2014-09-13)
parents b76d08b43131
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 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://geo.linkedopendata.gr/greekadministrativeregion/ontology#>
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 ?hProcessingChain ;
13 noa:isDerivedFromSensor "SENSOR"^^xsd:string ;
14 noa:hasConfidence ?conf ;
15 gag:hasMunicipality ?muni .
16 FILTER(?hProcessingChain = "PROCESSING_CHAIN" || ?hProcessingChain = "PROCESSING_CHAIN-TimePersistence") .
17 FILTER("MIN_ACQUISITION_TIME"^^xsd:dateTime <= ?hAcquisitionTime && ?hAcquisitionTime <= "MAX_ACQUISITION_TIME"^^xsd:dateTime ) .
18 OPTIONAL {?h noa:isDiscarded ?disc }.
19 FILTER (!bound(?disc)) .
20 }