Strabon

annotate examples/teleios/discover_allRefinements.rq @ 1525:c18b84e14117

some additions for reporting the application name from the postgres connection url (does not work yet)
author Babis Nikolaou <charnik@di.uoa.gr>
date Tue Sep 22 20:56:35 2015 +0300 (2015-09-22)
parents 3980b4ac9276
children
rev   line source
charnik@569 1 # return the refinements took place for a hotspot
charnik@571 2 PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#>
charnik@571 3 PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
charnik@571 4 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
charnik@569 5
charnik@569 6 SELECT (strdf:transform(?hGeo, <http://www.opengis.net/def/crs/EPSG/0/4326>) AS ?geo) (GROUP_CONCAT(?refinement; separator=", ") AS ?refinements)
charnik@569 7 WHERE {
charnik@569 8 ?h noa:hasGeometry ?hGeo ;
charnik@571 9 noa:hasAcquisitionTime "TIMESTAMP"^^xsd:dateTime ;
charnik@569 10 noa:refinedBy ?refinement .
charnik@569 11 }
charnik@569 12 GROUP BY ?geo