https://cacontology.projectvic.org/us/ncmec#ProcessingSequenceValidationShape
Validates that investigation triggers occur after tip processing.
@prefix cacontology-us-ncmec1: <https://cacontology.projectvic.org/us/ncmec#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-us-ncmec1:ProcessingSequenceValidationShape a sh:NodeShape ;
rdfs:label "Processing Sequence Validation Shape"@en ;
rdfs:comment "Validates that investigation triggers occur after tip processing."@en ;
sh:sparql [ sh:message "Investigation trigger should occur after tip processing."@en ;
sh:prefixes [ sh:declare [ sh:namespace "https://cacontology.projectvic.org/us/ncmec#"^^xsd:anyURI ;
sh:prefix "icacus" ],
[ sh:namespace "https://ontology.unifiedcyberontology.org/uco/core/"^^xsd:anyURI ;
sh:prefix "uco-core" ] ] ;
sh:select """
SELECT $this WHERE {
$this a cacontology-us-ncmec:InvestigationTrigger ;
uco-core:startTime ?triggerTime ;
cacontology-us-ncmec:triggeredBy ?tip .
?processing cacontology-us-ncmec:processedTip ?tip ;
uco-core:endTime ?processTime .
FILTER (?triggerTime < ?processTime)
}
""" ] ;
sh:targetClass cacontology-us-ncmec1:InvestigationTrigger .