Strabon

diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/examples/teleios/discovery_group.rq	Wed Mar 11 20:30:53 2015 +0200
     1.3 @@ -0,0 +1,28 @@
     1.4 +PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#>
     1.5 +PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
     1.6 +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
     1.7 +PREFIX gag:<http://geo.linkedopendata.gr/greekadministrativeregion/ontology#>
     1.8 + 
     1.9 +SELECT DISTINCT ?processorname ?tel_event_time ?sensor  ?refinement
    1.10 +                (strdf:transform(?hGeo,<http://www.opengis.net/def/crs/EPSG/0/4326>) AS ?Geo)
    1.11 +                (GROUP_CONCAT(?Geo ; separator=";") AS ?pols )
    1.12 +                (GROUP_CONCAT(?hconf  ; separator=";") AS ?confidenceValues )
    1.13 +                (GROUP_CONCAT(?muni  ; separator=";") AS ?municipalities )
    1.14 +WHERE {
    1.15 +    ?h  noa:hasGeometry ?hGeo ;
    1.16 +        noa:hasAcquisitionTime ?tel_event_time ;
    1.17 +        noa:producedFromProcessingChain ?processorname ;
    1.18 +        noa:isDerivedFromSensor ?sensor ;
    1.19 +        noa:hasConfidence ?hconf ;
    1.20 +        gag:hasMunicipality ?muni .
    1.21 +    OPTIONAL {?h noa:refinedBy ?refinement1 } .
    1.22 +    OPTIONAL {?h noa:isDiscarded ?disc} .
    1.23 +    FILTER( !bound(?disc)).
    1.24 +	FILTER( str(?processorname) = "DynamicThresholds-TimePersistence") .
    1.25 +	FILTER( str(?tel_event_time) >= "2007-08-23T23:00:00" ) .
    1.26 +	FILTER( str(?tel_event_time) <= "2007-08-23T23:00:00" )
    1.27 +}
    1.28 +GROUP BY ?processorname ?tel_event_time ?sensor  ?refinement
    1.29 +ORDER BY ?sensor ?tel_event_time ?processorname  ?refinement
    1.30 +
    1.31 +