Strabon

changeset 1308:d89f0d5b3c89

Changed Discovery queries.
author George Stamoulis <gstam@di.uoa.gr>
date Tue Feb 25 14:53:48 2014 +0200 (2014-02-25)
parents ee7b409db8d2
children 845e3fbd310e
files endpoint/WebContent/WEB-INF/beans.xml
line diff
     1.1 --- a/endpoint/WebContent/WEB-INF/beans.xml	Fri Jan 31 12:50:49 2014 +0200
     1.2 +++ b/endpoint/WebContent/WEB-INF/beans.xml	Tue Feb 25 14:53:48 2014 +0200
     1.3 @@ -77,8 +77,9 @@
     1.4  PREFIX geonames:<http://www.geonames.org/ontology#>
     1.5  PREFIX clc: <http://geo.linkedopendata.gr/corine/ontology#>
     1.6  PREFIX gag: <http://geo.linkedopendata.gr/greekadministrativeregion/ontology#>
     1.7 -PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#>
     1.8 -PREFIX dlr: <http://www.earthobservatory.eu/ontologies/dlrOntology-v2.owl#>
     1.9 +PREFIX geo: <http://www.opengis.net/ont/geosparql#>
    1.10 +PREFIX geof: <http://www.opengis.net/def/function/geosparql/>
    1.11 +PREFIX geor: <http://www.opengis.net/def/rule/geosparql/>
    1.12  PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    1.13  PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
    1.14  PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    1.15 @@ -97,236 +98,20 @@
    1.16  	                 <!-- Bean -->
    1.17  	                <value>Query</value> 
    1.18  	                <!-- Format -->
    1.19 -	                <value>KML</value>   
    1.20 +	                <value>HTML</value>   
    1.21  	                <!-- Label -->
    1.22 -	                <value>[ΝΟΑ] Select all hotspots of 2012 before any refinement</value> 
    1.23 +	                <value>Find all triples in the dataset.</value> 
    1.24  	                <!-- Statement -->
    1.25 -	                <value><![CDATA[PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    1.26 -PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 
    1.27 -PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> 
    1.28 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#> 
    1.29 -PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    1.30 -PREFIX gag: <http://geo.linkedopendata.gr/greekadministrativeregion/ontology#>
    1.31 -
    1.32 -SELECT ?h  (strdf:transform(?hGeo, <http://www.opengis.net/def/crs/EPSG/0/4326>) AS ?geo) ?conf ?municipality
    1.33 +	                <value><![CDATA[
    1.34 +SELECT *
    1.35  WHERE { 
    1.36 -?h   noa:hasGeometry ?hGeo ;
    1.37 -     noa:hasAcquisitionTime ?hAcquisitionTime ; 
    1.38 -     noa:producedFromProcessingChain ?hProcessingChain ; 
    1.39 -     noa:isDerivedFromSensor "MSG1_RSS"^^xsd:string ;
    1.40 -     noa:hasConfidence ?conf ;
    1.41 -     gag:hasMunicipality ?municipality .
    1.42 -     FILTER(?hProcessingChain = "DynamicThresholds" || ?hProcessingChain = "DynamicThresholds-TimePersistence") .
    1.43 -     FILTER("2012-05-01T00:00:00"^^xsd:dateTime <= ?hAcquisitionTime && ?hAcquisitionTime < "2012-10-01T00:00:00"^^xsd:dateTime ) .
    1.44 -     OPTIONAL {?h noa:isDiscarded ?disc }.
    1.45 -     FILTER (!bound(?disc)) .
    1.46 +	?s ?p ?o	
    1.47  }
    1.48  ]]></value>
    1.49  	                <!-- Description -->
    1.50  					<value></value>
    1.51  					<!-- Hander (plain, download, map or map_local)-->
    1.52 -					<value>map_local</value>
    1.53 -	            </list>
    1.54 -	            <list>
    1.55 -	                 <!-- Bean -->
    1.56 -	                <value>Query</value> 
    1.57 -	                <!-- Format -->
    1.58 -	                <value>KML</value>   
    1.59 -	                <!-- Label -->
    1.60 -	                <value>[ΝΟΑ] Select all hotspots of 2012 after refinement operation 'delete in sea'</value> 
    1.61 -	                <!-- Statement -->
    1.62 -	                <value><![CDATA[PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#>
    1.63 -PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
    1.64 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    1.65 -PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
    1.66 -PREFIX gag: <http://geo.linkedopendata.gr/greekadministrativeregion/ontology#>
    1.67 -
    1.68 -INSERT {?h noa:isDiscarded "1"^^xsd:int ;
    1.69 -           noa:refinedBy noa:seaInconsistency .
    1.70 -} 
    1.71 -WHERE {
    1.72 -?h   noa:hasAcquisitionTime "TIMESTAMP"^^xsd:dateTime ;
    1.73 -     noa:producedFromProcessingChain "PROCESSING_CHAIN"^^xsd:string ;
    1.74 -     noa:isDerivedFromSensor "SENSOR"^^xsd:string .
    1.75 -       OPTIONAL {
    1.76 -    ?h	gag:hasMunicipality ?municipalit .
    1.77 -  } 
    1.78 -  FILTER(!bound(?municipality)) .
    1.79 -}	                ]]></value>
    1.80 -	                <!-- Description -->
    1.81 -					<value></value>
    1.82 -					<!-- Hander (plain, download, map or map_local)-->
    1.83 -					<value>map_local</value>
    1.84 -	            </list>
    1.85 -	            <list>
    1.86 -	                 <!-- Bean -->
    1.87 -	                <value>Query</value> 
    1.88 -	                <!-- Format -->
    1.89 -	                <value>KML</value>   
    1.90 -	                <!-- Label -->
    1.91 -	                <value>[ΝΟΑ] Select all hotspots of 2012 after refinement operation 'delete in inconsistent areas'</value> 
    1.92 -	                <!-- Statement -->
    1.93 -	                <value><![CDATA[PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    1.94 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#> 
    1.95 -PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
    1.96 -
    1.97 -SELECT ?h (strdf:transform(?hGeo, <http://www.opengis.net/def/crs/EPSG/0/4326>) AS ?geo) ("Corine Land Cover inconsistency" as ?refinement)
    1.98 -WHERE { 
    1.99 -    ?h   noa:hasGeometry ?hGeo ;
   1.100 -         noa:hasAcquisitionTime "TIMESTAMP"^^xsd:dateTime ;
   1.101 -         noa:refinedBy noa:clcInconsistency .
   1.102 -}	                ]]></value>
   1.103 -	                <!-- Description -->
   1.104 -					<value></value>
   1.105 -					<!-- Hander (plain, download, map or map_local)-->
   1.106 -					<value>map_local</value>
   1.107 -	            </list>
   1.108 -	            <list>
   1.109 -	                 <!-- Bean -->
   1.110 -	                <value>Query</value> 
   1.111 -	                <!-- Format -->
   1.112 -	                <value>KML</value>   
   1.113 -	                <!-- Label -->
   1.114 -	                <value>[ΝΟΑ] Select all hotspots of 2012 after refinement operation 'refine in coast'</value> 
   1.115 -	                <!-- Statement -->
   1.116 -	                <value><![CDATA[PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
   1.117 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#> 
   1.118 -PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
   1.119 -
   1.120 -SELECT ?h (strdf:transform(?hGeo, <http://www.opengis.net/def/crs/EPSG/0/4326>) AS ?geo) ("Corine Land Cover inconsistency" as ?refinement)
   1.121 -WHERE { 
   1.122 -    ?h   noa:hasGeometry ?hGeo ;
   1.123 -         noa:hasAcquisitionTime "TIMESTAMP"^^xsd:dateTime ;
   1.124 -         noa:refinedBy noa:clcInconsistency .
   1.125 -}	                ]]></value>
   1.126 -	                <!-- Description -->
   1.127 -					<value></value>
   1.128 -					<!-- Hander (plain, download, map or map_local)-->
   1.129 -					<value>map_local</value>
   1.130 -	            </list>
   1.131 -	            <list>
   1.132 -	                 <!-- Bean -->
   1.133 -	                <value>Query</value> 
   1.134 -	                <!-- Format -->
   1.135 -	                <value>KML</value>   
   1.136 -	                <!-- Label -->
   1.137 -	                <value>[ΝΟΑ] Select all hotspots of 2012 after refinement operation 'refine according to time persistence'</value> 
   1.138 -	                <!-- Statement -->
   1.139 -	                <value><![CDATA[PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
   1.140 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#> 
   1.141 -PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
   1.142 -
   1.143 -SELECT ?h (strdf:transform(?hGeo, <http://www.opengis.net/def/crs/EPSG/0/4326>) AS ?geo) ("Temporal persistence" as ?refinement)
   1.144 -WHERE { 
   1.145 -    ?h   noa:hasGeometry ?hGeo ;
   1.146 -         noa:hasAcquisitionTime "TIMESTAMP"^^xsd:dateTime ;
   1.147 -         noa:refinedBy noa:temporalPersistence .
   1.148 -}	                ]]></value>
   1.149 -	                <!-- Description -->
   1.150 -					<value></value>
   1.151 -					<!-- Hander (plain, download, map or map_local)-->
   1.152 -					<value>map_local</value>
   1.153 -	            </list>
   1.154 -	            <list>
   1.155 -	                 <!-- Bean -->
   1.156 -	                <value>Query</value> 
   1.157 -	                <!-- Format -->
   1.158 -	                <value>KML</value>   
   1.159 -	                <!-- Label -->
   1.160 -	                <value>[NOA] Select all that have been refined by a refinement operation</value> 
   1.161 -	                <!-- Statement -->
   1.162 -	                <value><![CDATA[PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#>
   1.163 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
   1.164 -PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
   1.165 -
   1.166 -SELECT (strdf:transform(?hGeo, <http://www.opengis.net/def/crs/EPSG/0/4326>) AS ?geo) (GROUP_CONCAT(?refinement; separator=", ") AS ?refinements)
   1.167 -WHERE { 
   1.168 -    ?h   noa:hasGeometry ?hGeo ;
   1.169 -         noa:hasAcquisitionTime "TIMESTAMP"^^xsd:dateTime ;
   1.170 -         noa:refinedBy ?refinement .
   1.171 -}
   1.172 -GROUP BY ?geo	                ]]></value>
   1.173 -	                <!-- Description -->
   1.174 -					<value></value>
   1.175 -					<!-- Hander (plain, download, map or map_local)-->
   1.176 -					<value>map_local</value>
   1.177 -	            </list>	            
   1.178 -	            <list>
   1.179 -             		<!-- Single valued elements correspond to headers -->
   1.180 -					<value>Enrich available information</value>
   1.181 -	            </list>
   1.182 -				<list>
   1.183 -	                 <!-- Bean -->
   1.184 -	                <value>Query</value> 
   1.185 -	                <!-- Format -->
   1.186 -	                <value>HTML</value>   
   1.187 -	                <!-- Label -->
   1.188 -	                <value>[NOA + GAG]Connect each hotspot with the municipality where it is located</value> 
   1.189 -	                <!-- Statement -->
   1.190 -	                <value><![CDATA[PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#>
   1.191 -PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
   1.192 -PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
   1.193 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
   1.194 -PREFIX gag: <http://geo.linkedopendata.gr/greekadministrativeregion/ontology#>
   1.195 -PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
   1.196 -
   1.197 -INSERT { ?h gag:hasMunicipality ?muni }
   1.198 -WHERE { 
   1.199 -SELECT ?h (SAMPLE(?mLabel) AS ?muni)
   1.200 -  WHERE {
   1.201 -	?h  rdf:type noa:Hotspot ;
   1.202 -		noa:hasGeometry ?hGeo ;
   1.203 -		noa:isDerivedFromSensor "MSG1_RSS"^^xsd:string ;
   1.204 -		noa:producedFromProcessingChain "DynamicThresholds"^^xsd:string ;
   1.205 -        noa:hasAcquisitionTime "TIMESTAMP"^^xsd:dateTime.
   1.206 -	?m	rdf:type gag:Dhmos ;
   1.207 -		rdfs:label ?mLabel ;
   1.208 -		gag:hasGeometry ?mGeo .
   1.209 -	FILTER(strdf:intersects(?hGeo, ?mGeo)) .
   1.210 -  }  
   1.211 -  GROUP BY ?h
   1.212 -}]]></value>
   1.213 -	                <!-- Description -->
   1.214 -					<value></value>
   1.215 -					<!-- Hander (plain, download, map or map_local)-->
   1.216 -					<value></value>
   1.217 -	            </list>
   1.218 -	            
   1.219 -	            <list>
   1.220 -             		<!-- Single valued elements correspond to headers -->
   1.221 -					<value>Increase accuracy with respect to underlying area</value>
   1.222 -	            </list>
   1.223 -				<list>
   1.224 -	                 <!-- Bean -->
   1.225 -	                <value>Query</value> 
   1.226 -	                <!-- Format -->
   1.227 -	                <value>HTML</value>   
   1.228 -	                <!-- Label -->
   1.229 -	                <value>[NOA+GAG] Delete all hotspots that fall in the sea</value> 
   1.230 -	                <!-- Statement -->
   1.231 -	                <value><![CDATA[PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#>
   1.232 -PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
   1.233 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
   1.234 -PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
   1.235 -PREFIX gag: <http://geo.linkedopendata.gr/greekadministrativeregion/ontology#>
   1.236 -
   1.237 -INSERT {?h noa:isDiscarded "1"^^xsd:int ;
   1.238 -           noa:refinedBy noa:seaInconsistency .
   1.239 -} 
   1.240 -WHERE {
   1.241 -?h   noa:hasAcquisitionTime "TIMESTAMP"^^xsd:dateTime ;
   1.242 -     noa:producedFromProcessingChain "DynamicThresholds"^^xsd:string ;
   1.243 -     noa:isDerivedFromSensor "MSG1_RSS"^^xsd:string .
   1.244 -       OPTIONAL {
   1.245 -    ?h	gag:hasMunicipality ?municipality .
   1.246 -  } 
   1.247 -  FILTER(!bound(?municipality)) .
   1.248 -}
   1.249 -	                ]]></value>
   1.250 -	                <!-- Description -->
   1.251 -					<value></value>
   1.252 -					<!-- Hander (plain, download, map or map_local)-->
   1.253 -					<value>plain</value>
   1.254 +					<value>Plain</value>
   1.255  	            </list>
   1.256  	            <list>
   1.257  	                 <!-- Bean -->
   1.258 @@ -334,151 +119,79 @@
   1.259  	                <!-- Format -->
   1.260  	                <value>HTML</value>   
   1.261  	                <!-- Label -->
   1.262 -	                <value>[NOA+Coastline] Delete the part of polygons that fall in the sea</value> 
   1.263 +	                <value>Select all distinct subjects that appear in the dataset.</value> 
   1.264  	                <!-- Statement -->
   1.265 -	                <value><![CDATA[PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
   1.266 -PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 
   1.267 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#> 
   1.268 -PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
   1.269 -PREFIX gag: <http://geo.linkedopendata.gr/greekadministrativeregion/ontology#>
   1.270 -
   1.271 -
   1.272 -INSERT { ?h noa:isDiscarded "1"^^xsd:int . 
   1.273 -	    ?valid rdf:type noa:Hotspot ;
   1.274 -	    noa:hasConfidence ?conf ;
   1.275 -	    noa:hasGeometry ?dif ;
   1.276 -	    gag:hasMunicipality ?municipality ;
   1.277 -	    noa:hasAcquisitionTime "TIMESTAMP"^^xsd:dateTime ; 
   1.278 -	    noa:isDerivedFromSensor "MSG1_RSS"^^xsd:string ;
   1.279 -	    noa:hasConfirmation noa:unknown ;
   1.280 -	    noa:producedFromProcessingChain "DynamicThresholds"^^xsd:string ; 
   1.281 -	    noa:isProducedBy noa:noa ;
   1.282 -	    noa:isDerivedFromSatellite "METEOSAT8"^^xsd:string ;
   1.283 -            noa:refinedBy noa:coastlineRefinement ;
   1.284 -            noa:refinedBy ?refined .
   1.285 +	                <value><![CDATA[
   1.286 +SELECT DISTINCT (?s AS ?subject)
   1.287 +WHERE { 
   1.288 +	?s ?p ?o
   1.289  }
   1.290 -WHERE { 
   1.291 -  SELECT ?h  (strdf:intersection(?hGeo, strdf:union(?cGeo)) AS ?dif) (URI(CONCAT(STR(?h),"/refined")) AS ?valid) ?conf ?municipality
   1.292 -  WHERE { 
   1.293 -	 ?h     noa:hasAcquisitionTime "TIMESTAMP"^^xsd:dateTime; 
   1.294 -       		noa:producedFromProcessingChain "DynamicThresholds"^^xsd:string ; 
   1.295 -       		noa:isDerivedFromSensor "MSG1_RSS"^^xsd:string ;
   1.296 -		noa:hasGeometry ?hGeo ;
   1.297 -       		gag:hasMunicipality ?municipality ;
   1.298 -       		noa:hasConfidence ?conf .
   1.299 -	 ?c     rdf:type gag:GeometryPart ;
   1.300 -       		gag:hasGeometry ?cGeo .
   1.301 -       	FILTER(strdf:mbbIntersects(?hGeo, ?cGeo)) . 
   1.302 -	OPTIONAL { ?h noa:refinedBy ?refined } .
   1.303 -  }
   1.304 -  GROUP BY ?h ?hGeo ?conf ?municipality
   1.305 -  HAVING strdf:overlap(?hGeo, strdf:union(?cGeo))
   1.306 -}	                ]]></value>
   1.307 +]]></value>
   1.308  	                <!-- Description -->
   1.309  					<value></value>
   1.310  					<!-- Hander (plain, download, map or map_local)-->
   1.311 -					<value></value>
   1.312 +					<value>Plain</value>
   1.313  	            </list>
   1.314 -	             <list>
   1.315 +	            <list>
   1.316  	                 <!-- Bean -->
   1.317  	                <value>Query</value> 
   1.318  	                <!-- Format -->
   1.319  	                <value>HTML</value>   
   1.320  	                <!-- Label -->
   1.321 -	                <value>[NOA+CLC] Delete all hotspots that intersect with inconsistent areas</value> 
   1.322 +	                <value>Select all distinct predicates that appear in the dataset.</value> 
   1.323  	                <!-- Statement -->
   1.324 -	                <value><![CDATA[PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
   1.325 -PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 
   1.326 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#> 
   1.327 -PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
   1.328 -PREFIX clc: <http://geo.linkedopendata.gr/corine/ontology#>
   1.329 -
   1.330 -INSERT {?h noa:isDiscarded "1"^^xsd:int ;
   1.331 -           noa:refinedBy noa:clcInconsistency .
   1.332 -} 
   1.333 -WHERE {
   1.334 -	SELECT ?h WHERE 
   1.335 -	{
   1.336 -		?h  noa:hasAcquisitionTime "TIMESTAMP"^^xsd:dateTime ;
   1.337 -			noa:producedFromProcessingChain "PROCESSING_CHAIN"^^xsd:string ;
   1.338 -			noa:isDerivedFromSensor "SENSOR"^^xsd:string ;
   1.339 -			noa:hasGeometry ?hGeo.
   1.340 -		?a  rdf:type   clc:ExcludeArea;
   1.341 -			clc:hasGeometry ?aGeo.
   1.342 -		FILTER(strdf:mbbIntersects(?hGeo,?aGeo)).
   1.343 -	} 
   1.344 -	GROUP BY ?h ?hGeo
   1.345 -	HAVING strdf:contains(strdf:union(?aGeo),?hGeo)
   1.346 -}]]></value>
   1.347 +	                <value><![CDATA[
   1.348 +SELECT DISTINCT (?p AS ?predicate)
   1.349 +WHERE { 
   1.350 +	?s ?p ?o
   1.351 +}
   1.352 +]]></value>
   1.353  	                <!-- Description -->
   1.354  					<value></value>
   1.355  					<!-- Hander (plain, download, map or map_local)-->
   1.356 -					<value>plain</value>
   1.357 +					<value>Plain</value>
   1.358  	            </list>
   1.359 +	            
   1.360  	            <list>
   1.361 -             		<!-- Single valued elements correspond to headers -->
   1.362 -					<value>Increase accuracy with respect to time persistence</value>
   1.363 -	            </list>
   1.364 -				<list>
   1.365  	                 <!-- Bean -->
   1.366  	                <value>Query</value> 
   1.367  	                <!-- Format -->
   1.368  	                <value>HTML</value>   
   1.369  	                <!-- Label -->
   1.370 -	                <value>[NOA] Add virtual hotspots accoring to time persistence of actually detected hotspots</value> 
   1.371 +	                <value>Select all distinct objets that appear in the dataset.</value> 
   1.372  	                <!-- Statement -->
   1.373 -	                <value><![CDATA[PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
   1.374 -PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 
   1.375 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#> 
   1.376 -PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
   1.377 -PREFIX gag: <http://geo.linkedopendata.gr/greekadministrativeregion/ontology#>
   1.378 -
   1.379 -INSERT {?newHotspot rdf:type noa:Hotspot ;
   1.380 -		    noa:hasConfidence ?hConfidence ;
   1.381 -		    noa:hasGeometry ?hGeometry1 ;
   1.382 -		    noa:hasAcquisitionTime "TIMESTAMP"^^xsd:dateTime ; 
   1.383 -		    noa:isDerivedFromSensor "MSG1_RSS"^^xsd:string ;
   1.384 -		    noa:hasConfirmation noa:unknown ;
   1.385 -		    noa:producedFromProcessingChain "DynamicThresholds-TimePersistence"^^xsd:string ; 
   1.386 -		    noa:isProducedBy noa:noa ;
   1.387 -		    gag:hasMunicipality ?hMunicipality1 ;
   1.388 -		    noa:isDerivedFromSatellite "METEOSAT8"^^xsd:string ;
   1.389 -                    noa:refinedBy noa:temporalPersistence ;
   1.390 -                    noa:refinedBy ?refined .
   1.391 +	                <value><![CDATA[
   1.392 +SELECT DISTINCT (?o AS ?object)
   1.393 +WHERE { 
   1.394 +	?s ?p ?o	
   1.395  }
   1.396 -WHERE {
   1.397 -	SELECT  (URI(CONCAT(STR(MAX(?h1)),"/virtual/NEW_HOTSPOT")) AS ?newHotspot)
   1.398 -			(SUM(?hConfidence1)/ACQUISITIONS_IN_HALF_AN_HOUR AS ?hConfidence)
   1.399 -			?hGeometry1 ?hMunicipality1
   1.400 -  WHERE {
   1.401 -    ?h1 noa:hasConfidence ?hConfidence1 ;
   1.402 -        noa:hasGeometry ?hGeometry1 ;
   1.403 -        gag:hasMunicipality ?hMunicipality1 ;
   1.404 -        noa:hasAcquisitionTime ?hAcquisitionTime1 ;
   1.405 -        noa:isDerivedFromSensor "MSG1_RSS"^^xsd:string ;
   1.406 -        noa:producedFromProcessingChain "DynamicThresholds"^^xsd:string .
   1.407 -    OPTIONAL { ?h1 noa:isDiscarded ?z } .
   1.408 -    FILTER (!BOUND(?z)) .
   1.409 -    OPTIONAL { ?h1 noa:refinedBy ?refined } .
   1.410 -    FILTER( "MIN_ACQUISITION_TIME"^^xsd:dateTime <= ?hAcquisitionTime1 && ?hAcquisitionTime1 < "TIMESTAMP"^^xsd:dateTime ) .
   1.411 -    OPTIONAL {
   1.412 -      ?h2 noa:hasGeometry ?hGeometry2 ;
   1.413 -          noa:hasAcquisitionTime "TIMESTAMP"^^xsd:dateTime ;
   1.414 -          noa:isDerivedFromSensor "MSG1_RSS"^^xsd:string ;
   1.415 -          noa:producedFromProcessingChain ?hProcessingChain2 .
   1.416 -      FILTER(("DynamicThresholds"^^xsd:string = ?hProcessingChain2)||("DynamicThresholds-TimePersistence"^^xsd:string = ?hProcessingChain2)).
   1.417 -      FILTER( strdf:mbbEquals(?hGeometry1, ?hGeometry2) ) .
   1.418 -    }
   1.419 -    FILTER( !BOUND(?h2) ) .
   1.420 -  }
   1.421 -  GROUP BY ?hGeometry1 ?hMunicipality1
   1.422 -  HAVING(SUM(?hConfidence1)>0.0)
   1.423 -}]]></value>
   1.424 +]]></value>
   1.425  	                <!-- Description -->
   1.426  					<value></value>
   1.427  					<!-- Hander (plain, download, map or map_local)-->
   1.428 -					<value>plain</value>
   1.429 +					<value>Plain</value>
   1.430  	            </list>
   1.431 +	            <list>
   1.432 +	                 <!-- Bean -->
   1.433 +	                <value>Query</value> 
   1.434 +	                <!-- Format -->
   1.435 +	                <value>HTML</value>   
   1.436 +	                <!-- Label -->
   1.437 +	                <value>Find all distinct classes of the dataset.</value> 
   1.438 +	                <!-- Statement -->
   1.439 +	                <value><![CDATA[PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>	                
   1.440 +
   1.441 +SELECT (?o AS ?class)
   1.442 +WHERE { 
   1.443 +	?s rdf:type ?o
   1.444 +}
   1.445 +]]></value>
   1.446 +	                <!-- Description -->
   1.447 +					<value></value>
   1.448 +					<!-- Hander (plain, download, map or map_local)-->
   1.449 +					<value>Plain</value>
   1.450 +	            </list>
   1.451 +	        	      
   1.452  
   1.453  				<list>
   1.454               		<!-- Single valued elements correspond to headers -->