Strabon
annotate examples/teleios/discovery_group.rq @ 1410:2a7de8a1a022
support also geof:convexHull in grounded expressions evaluated in the SELECT clause
author | Babis Nikolaou <charnik@di.uoa.gr> |
---|---|
date | Sun Sep 21 19:21:57 2014 +0300 (2014-09-21) |
parents | |
children |
rev | line source |
---|---|
ggarbis@870 | 1 PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> |
ggarbis@870 | 2 PREFIX strdf: <http://strdf.di.uoa.gr/ontology#> |
ggarbis@870 | 3 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> |
ggarbis@870 | 4 PREFIX gag:<http://geo.linkedopendata.gr/greekadministrativeregion/ontology#> |
ggarbis@870 | 5 |
ggarbis@870 | 6 SELECT DISTINCT ?processorname ?tel_event_time ?sensor ?refinement |
ggarbis@870 | 7 (strdf:transform(?hGeo,<http://www.opengis.net/def/crs/EPSG/0/4326>) AS ?Geo) |
ggarbis@870 | 8 (GROUP_CONCAT(?Geo ; separator=";") AS ?pols ) |
ggarbis@870 | 9 (GROUP_CONCAT(?hconf ; separator=";") AS ?confidenceValues ) |
ggarbis@870 | 10 (GROUP_CONCAT(?muni ; separator=";") AS ?municipalities ) |
ggarbis@870 | 11 WHERE { |
ggarbis@870 | 12 ?h noa:hasGeometry ?hGeo ; |
ggarbis@870 | 13 noa:hasAcquisitionTime ?tel_event_time ; |
ggarbis@870 | 14 noa:producedFromProcessingChain ?processorname ; |
ggarbis@870 | 15 noa:isDerivedFromSensor ?sensor ; |
ggarbis@870 | 16 noa:hasConfidence ?hconf ; |
ggarbis@870 | 17 gag:hasMunicipality ?muni . |
ggarbis@870 | 18 OPTIONAL {?h noa:refinedBy ?refinement1 } . |
ggarbis@870 | 19 OPTIONAL {?h noa:isDiscarded ?disc} . |
ggarbis@870 | 20 FILTER( !bound(?disc)). |
ggarbis@870 | 21 FILTER( str(?processorname) = "DynamicThresholds-TimePersistence") . |
ggarbis@870 | 22 FILTER( str(?tel_event_time) >= "2007-08-23T23:00:00" ) . |
ggarbis@870 | 23 FILTER( str(?tel_event_time) <= "2007-08-23T23:00:00" ) |
ggarbis@870 | 24 } |
ggarbis@870 | 25 GROUP BY ?processorname ?tel_event_time ?sensor ?refinement |
ggarbis@870 | 26 ORDER BY ?sensor ?tel_event_time ?processorname ?refinement |
ggarbis@870 | 27 |
ggarbis@870 | 28 |