PREFIX noa: PREFIX rdf: PREFIX strdf: PREFIX xsd: PREFIX clc: INSERT {?h noa:isDiscarded "1"^^xsd:int ; noa:refinedBy noa:clcInconsistency . } WHERE { SELECT ?h WHERE { ?h noa:hasAcquisitionTime "TIMESTAMP"^^xsd:dateTime ; noa:producedFromProcessingChain "PROCESSING_CHAIN"^^xsd:string ; noa:isDerivedFromSensor "SENSOR"^^xsd:string ; noa:hasGeometry ?hGeo. ?a rdf:type clc:ExcludeArea; clc:hasGeometry ?aGeo. FILTER(strdf:mbbIntersects(?hGeo,?aGeo)). } GROUP BY ?h ?hGeo HAVING strdf:contains(strdf:union(?aGeo),?hGeo) }