Strabon

changeset 569:3980b4ac9276

added discovery queries of hotspots based on refinement operations on them
author Babis Nikolaou <charnik@di.uoa.gr>
date Fri Sep 28 20:44:08 2012 +0300 (2012-09-28)
parents e77af8806201
children e53c5ec92c0a 0dad447e2c34 1be8836acc03 bfba7deaadea
files examples/teleios/discover_allRefinements.rq examples/teleios/discover_clcInconsistency.rq examples/teleios/discover_coastlineRefinement.rq examples/teleios/discover_seaInconsistency.rq examples/teleios/discover_temporalPersistence.rq
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/examples/teleios/discover_allRefinements.rq	Fri Sep 28 20:44:08 2012 +0300
     1.3 @@ -0,0 +1,10 @@
     1.4 +# return the refinements took place for a hotspot
     1.5 +PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
     1.6 +PREFIX strdf: <http://strdf.di.uoa.gr/ontology#> 
     1.7 +
     1.8 +SELECT (strdf:transform(?hGeo, <http://www.opengis.net/def/crs/EPSG/0/4326>) AS ?geo) (GROUP_CONCAT(?refinement; separator=", ") AS ?refinements)
     1.9 +WHERE { 
    1.10 +    ?h   noa:hasGeometry ?hGeo ;
    1.11 +         noa:refinedBy ?refinement .
    1.12 +}
    1.13 +GROUP BY ?geo
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/examples/teleios/discover_clcInconsistency.rq	Fri Sep 28 20:44:08 2012 +0300
     2.3 @@ -0,0 +1,9 @@
     2.4 +# discover hotspots that lie in an area with an inappropriate CLC code with respect to fires
     2.5 +PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
     2.6 +PREFIX strdf: <http://strdf.di.uoa.gr/ontology#> 
     2.7 +
     2.8 +SELECT ?h (strdf:transform(?hGeo, <http://www.opengis.net/def/crs/EPSG/0/4326>) AS ?geo) ("Corine Land Cover inconsistency" as ?refinement)
     2.9 +WHERE { 
    2.10 +    ?h   noa:hasGeometry ?hGeo ;
    2.11 +         noa:refinedBy noa:clcInconsistency .
    2.12 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/examples/teleios/discover_coastlineRefinement.rq	Fri Sep 28 20:44:08 2012 +0300
     3.3 @@ -0,0 +1,9 @@
     3.4 +# discover hotspots that partially overlap with the coastline
     3.5 +PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
     3.6 +PREFIX strdf: <http://strdf.di.uoa.gr/ontology#> 
     3.7 +
     3.8 +SELECT ?h (strdf:transform(?hGeo, <http://www.opengis.net/def/crs/EPSG/0/4326>) AS ?geo) ("Coastline refinement" as ?refinement)
     3.9 +WHERE { 
    3.10 +    ?h   noa:hasGeometry ?hGeo ;
    3.11 +         noa:refinedBy noa:coastlineRefinement .
    3.12 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/examples/teleios/discover_seaInconsistency.rq	Fri Sep 28 20:44:08 2012 +0300
     4.3 @@ -0,0 +1,9 @@
     4.4 +# discover hotspots that were deleted because they lie in sea
     4.5 +PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
     4.6 +PREFIX strdf: <http://strdf.di.uoa.gr/ontology#> 
     4.7 +
     4.8 +SELECT ?h (strdf:transform(?hGeo, <http://www.opengis.net/def/crs/EPSG/0/4326>) AS ?geo) ("Sea inconsistency" as ?refinement)
     4.9 +WHERE { 
    4.10 +    ?h   noa:hasGeometry ?hGeo ;
    4.11 +         noa:refinedBy noa:seaInconsistency .
    4.12 +}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/examples/teleios/discover_temporalPersistence.rq	Fri Sep 28 20:44:08 2012 +0300
     5.3 @@ -0,0 +1,9 @@
     5.4 +# discover hotspots due to temporal persistence refinement
     5.5 +PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
     5.6 +PREFIX strdf: <http://strdf.di.uoa.gr/ontology#> 
     5.7 +
     5.8 +SELECT ?h (strdf:transform(?hGeo, <http://www.opengis.net/def/crs/EPSG/0/4326>) AS ?geo) ("Temporal persistence" as ?refinement)
     5.9 +WHERE { 
    5.10 +    ?h   noa:hasGeometry ?hGeo ;
    5.11 +         noa:refinedBy noa:temporalPersistence .
    5.12 +}