Strabon

view examples/teleios/discover.rq @ 1453:2fac60132bc8

completed imlpementation of the period(timestamp,timestamp) function
author Konstantina Bereta <Konstantina.Bereta@di.uoa.gr>
date Wed Jan 14 13:12:30 2015 +0200 (2015-01-14)
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 }