https://cacontology.projectvic.org/production#EquipmentUsageValidationShape
Validates that production offenses have appropriate equipment.
@prefix cacontology-production: <https://cacontology.projectvic.org/production#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-production:EquipmentUsageValidationShape a sh:NodeShape ;
rdfs:label "Equipment Usage Validation Shape"@en ;
rdfs:comment "Validates that production offenses have appropriate equipment."@en ;
sh:sparql [ sh:message "Production offense should specify equipment used for recording or streaming."@en ;
sh:select """
SELECT $this
WHERE {
$this a cacontology-production:ProductionOffense ;
cacontology-production:productionMethod ?method .
FILTER (?method IN ("direct_recording", "video_recording", "live_streaming"))
FILTER NOT EXISTS {
$this cacontology-production:usesEquipment ?equipment .
?equipment a cacontology-production:RecordingDevice .
}
}
""" ] ;
sh:targetClass cacontology-production:ProductionOffense .