https://cacontology.projectvic.org/us/ncmec#AnalysisReportCrossReferenceShape
Validates that tip analysis references valid reports.
@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:AnalysisReportCrossReferenceShape a sh:NodeShape ;
rdfs:label "Analysis Report Cross Reference Shape"@en ;
rdfs:comment "Validates that tip analysis references valid reports."@en ;
sh:sparql [ sh:message "Tip analysis should analyze valid NCMEC reports."@en ;
sh:prefixes [ sh:declare [ sh:namespace "https://cacontology.projectvic.org/us/ncmec#"^^xsd:anyURI ;
sh:prefix "icacus" ] ] ;
sh:select """
SELECT $this WHERE {
$this a cacontology-us-ncmec:CyberTipAnalysis .
FILTER NOT EXISTS {
$this cacontology-us-ncmec:analysisOf ?report .
?report a cacontology-us-ncmec:NCMECCybertipReport .
}
}
""" ] ;
sh:targetClass cacontology-us-ncmec1:CyberTipAnalysis .