Ontology Version: 2.2.0

cacontology-us-ncmec1:TemporalValidationShape leaf node


URI

https://cacontology.projectvic.org/us/ncmec#TemporalValidationShape

Label

Temporal Validation Shape

Description

Validates temporal consistency for NCMEC operations.

Implementation

@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:TemporalValidationShape a sh:NodeShape ;
    rdfs:label "Temporal Validation Shape"@en ;
    rdfs:comment "Validates temporal consistency for NCMEC operations."@en ;
    sh:sparql [ sh:message "Start time must be before end time when both are specified."@en ;
            sh:prefixes [ sh:declare [ sh:namespace "https://ontology.unifiedcyberontology.org/uco/core/"^^xsd:anyURI ;
                            sh:prefix "uco-core" ] ] ;
            sh:select """
            SELECT $this WHERE {
                $this uco-core:startTime ?start ;
                      uco-core:endTime ?end .
                FILTER (?start >= ?end)
            }
        """ ] ;
    sh:targetClass cacontology-us-ncmec1:CyberTipAnalysis,
        cacontology-us-ncmec1:InvestigationTrigger,
        cacontology-us-ncmec1:TipProcessing .