https://cacontology.projectvic.org/us/ncmec#CooperationLevelValidationShape
Validates cooperation level consistency with data provided.
@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:CooperationLevelValidationShape a sh:NodeShape ;
rdfs:label "Cooperation Level Validation Shape"@en ;
rdfs:comment "Validates cooperation level consistency with data provided."@en ;
sh:sparql [ sh:message "Full cooperation should provide comprehensive data."@en ;
sh:prefixes [ sh:declare [ sh:namespace "https://cacontology.projectvic.org/us/ncmec#"^^xsd:anyURI ;
sh:prefix "icacus" ] ] ;
sh:select """
SELECT $this WHERE {
$this cacontology-us-ncmec:cooperationLevel "full" .
FILTER NOT EXISTS {
$this cacontology-us-ncmec:dataProvided ?data1 .
$this cacontology-us-ncmec:dataProvided ?data2 .
FILTER (?data1 != ?data2)
}
}
""" ] ;
sh:targetClass cacontology-us-ncmec1:PlatformCooperation .