Strabon

diff examples/teleios/deleteSeaHotspots.sparql @ 564:41246f8ce66e

Changed NOA refinement queries. For operations that "delete" hotspots (delete in sea and delete due to corine land cover), a triple is also inserted to mark the refinement operation that caused the deletion. For delete in sea, this is
?h noa:refinedBy noa:seaInconsistency.
For CLC, this is
?h noa:refinedBy noa:clcInconsistency.
For the other operations (hotspots with a geometry that is partially included in sea and for temporal persistence) apart from inserting the triples
?h noa:refinedBy noa:coastlineRefinement .
and
?h noa:refinedBy noa:temporalPersistence .
respectively, we also insert the triple
?h noa:refinedBy ?refined .
to maintain the fact that a hotspot has already been processed by a previous refinement operation.
author Babis Nikolaou <charnik@di.uoa.gr>
date Thu Sep 27 19:12:21 2012 +0300 (2012-09-27)
parents b76d08b43131
children
line diff
     1.1 --- a/examples/teleios/deleteSeaHotspots.sparql	Wed Sep 05 21:58:28 2012 +0300
     1.2 +++ b/examples/teleios/deleteSeaHotspots.sparql	Thu Sep 27 19:12:21 2012 +0300
     1.3 @@ -4,7 +4,9 @@
     1.4  PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
     1.5  PREFIX gag: <http://geo.linkedopendata.gr/greekadministrativeregion/ontology#>
     1.6  
     1.7 -INSERT {?h noa:isDiscarded "1"^^xsd:int} 
     1.8 +INSERT {?h noa:isDiscarded "1"^^xsd:int ;
     1.9 +           noa:refinedBy noa:seaInconsistency .
    1.10 +} 
    1.11  WHERE {
    1.12  ?h   noa:hasAcquisitionTime "TIMESTAMP"^^xsd:dateTime ;
    1.13       noa:producedFromProcessingChain "PROCESSING_CHAIN"^^xsd:string ;