Strabon

view examples/teleios/discovery_group.rq @ 1499:8e6437ba6ba2

[maven-release-plugin] prepare for next development iteration
author Babis Nikolaou <charnik@di.uoa.gr>
date Wed Mar 11 20:30:53 2015 +0200 (2015-03-11)
parents
children
line source
1 PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#>
2 PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
3 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
4 PREFIX gag:<http://geo.linkedopendata.gr/greekadministrativeregion/ontology#>
6 SELECT DISTINCT ?processorname ?tel_event_time ?sensor ?refinement
7 (strdf:transform(?hGeo,<http://www.opengis.net/def/crs/EPSG/0/4326>) AS ?Geo)
8 (GROUP_CONCAT(?Geo ; separator=";") AS ?pols )
9 (GROUP_CONCAT(?hconf ; separator=";") AS ?confidenceValues )
10 (GROUP_CONCAT(?muni ; separator=";") AS ?municipalities )
11 WHERE {
12 ?h noa:hasGeometry ?hGeo ;
13 noa:hasAcquisitionTime ?tel_event_time ;
14 noa:producedFromProcessingChain ?processorname ;
15 noa:isDerivedFromSensor ?sensor ;
16 noa:hasConfidence ?hconf ;
17 gag:hasMunicipality ?muni .
18 OPTIONAL {?h noa:refinedBy ?refinement1 } .
19 OPTIONAL {?h noa:isDiscarded ?disc} .
20 FILTER( !bound(?disc)).
21 FILTER( str(?processorname) = "DynamicThresholds-TimePersistence") .
22 FILTER( str(?tel_event_time) >= "2007-08-23T23:00:00" ) .
23 FILTER( str(?tel_event_time) <= "2007-08-23T23:00:00" )
24 }
25 GROUP BY ?processorname ?tel_event_time ?sensor ?refinement
26 ORDER BY ?sensor ?tel_event_time ?processorname ?refinement