Strabon

changeset 571:0dad447e2c34

added noa:hasAcquisitionTime triple pattern in discovery queries by refinement operation
author Babis Nikolaou <charnik@di.uoa.gr>
date Mon Oct 01 19:22:31 2012 +0300 (2012-10-01)
parents 3980b4ac9276
children 9723ad99e922
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 --- a/examples/teleios/discover_allRefinements.rq	Fri Sep 28 20:44:08 2012 +0300
     1.2 +++ b/examples/teleios/discover_allRefinements.rq	Mon Oct 01 19:22:31 2012 +0300
     1.3 @@ -1,10 +1,12 @@
     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 +PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#>
     1.8 +PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
     1.9 +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
    1.10  
    1.11  SELECT (strdf:transform(?hGeo, <http://www.opengis.net/def/crs/EPSG/0/4326>) AS ?geo) (GROUP_CONCAT(?refinement; separator=", ") AS ?refinements)
    1.12  WHERE { 
    1.13      ?h   noa:hasGeometry ?hGeo ;
    1.14 +         noa:hasAcquisitionTime "TIMESTAMP"^^xsd:dateTime ;
    1.15           noa:refinedBy ?refinement .
    1.16  }
    1.17  GROUP BY ?geo
     2.1 --- a/examples/teleios/discover_clcInconsistency.rq	Fri Sep 28 20:44:08 2012 +0300
     2.2 +++ b/examples/teleios/discover_clcInconsistency.rq	Mon Oct 01 19:22:31 2012 +0300
     2.3 @@ -1,9 +1,11 @@
     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 +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
     2.8  
     2.9  SELECT ?h (strdf:transform(?hGeo, <http://www.opengis.net/def/crs/EPSG/0/4326>) AS ?geo) ("Corine Land Cover inconsistency" as ?refinement)
    2.10  WHERE { 
    2.11      ?h   noa:hasGeometry ?hGeo ;
    2.12 +         noa:hasAcquisitionTime "TIMESTAMP"^^xsd:dateTime ;
    2.13           noa:refinedBy noa:clcInconsistency .
    2.14  }
     3.1 --- a/examples/teleios/discover_coastlineRefinement.rq	Fri Sep 28 20:44:08 2012 +0300
     3.2 +++ b/examples/teleios/discover_coastlineRefinement.rq	Mon Oct 01 19:22:31 2012 +0300
     3.3 @@ -1,9 +1,11 @@
     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 +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
     3.8  
     3.9  SELECT ?h (strdf:transform(?hGeo, <http://www.opengis.net/def/crs/EPSG/0/4326>) AS ?geo) ("Coastline refinement" as ?refinement)
    3.10  WHERE { 
    3.11      ?h   noa:hasGeometry ?hGeo ;
    3.12 +         noa:hasAcquisitionTime "TIMESTAMP"^^xsd:dateTime ;
    3.13           noa:refinedBy noa:coastlineRefinement .
    3.14  }
     4.1 --- a/examples/teleios/discover_seaInconsistency.rq	Fri Sep 28 20:44:08 2012 +0300
     4.2 +++ b/examples/teleios/discover_seaInconsistency.rq	Mon Oct 01 19:22:31 2012 +0300
     4.3 @@ -1,9 +1,11 @@
     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 +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
     4.8  
     4.9  SELECT ?h (strdf:transform(?hGeo, <http://www.opengis.net/def/crs/EPSG/0/4326>) AS ?geo) ("Sea inconsistency" as ?refinement)
    4.10  WHERE { 
    4.11      ?h   noa:hasGeometry ?hGeo ;
    4.12 +         noa:hasAcquisitionTime "TIMESTAMP"^^xsd:dateTime ;
    4.13           noa:refinedBy noa:seaInconsistency .
    4.14  }
     5.1 --- a/examples/teleios/discover_temporalPersistence.rq	Fri Sep 28 20:44:08 2012 +0300
     5.2 +++ b/examples/teleios/discover_temporalPersistence.rq	Mon Oct 01 19:22:31 2012 +0300
     5.3 @@ -1,9 +1,11 @@
     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 +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
     5.8  
     5.9  SELECT ?h (strdf:transform(?hGeo, <http://www.opengis.net/def/crs/EPSG/0/4326>) AS ?geo) ("Temporal persistence" as ?refinement)
    5.10  WHERE { 
    5.11      ?h   noa:hasGeometry ?hGeo ;
    5.12 +         noa:hasAcquisitionTime "TIMESTAMP"^^xsd:dateTime ;
    5.13           noa:refinedBy noa:temporalPersistence .
    5.14  }