Ontology Version: 3.1.0

cacontology-ai:DeepfakeCSAMShape leaf node


URI

https://cacontology.projectvic.org/ai-csam#DeepfakeCSAMShape

Label

Deepfake CSAM Shape

Description

Enhanced validation shape for deepfake CSAM instances with gUFO Object validation and manipulation tracking.

Targets (1)

Property Constraints (2)

Focus nodes of this shape (cacontology-ai:DeepfakeCSAM) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-ai:realVictimDepicted Whether content depicts or is based on a real victim.
sh:message Deepfake CSAM must involve real victim imagery.
0 *
sh:hasValue true
cacontology-gufo:manipulationTimePoint
sh:message Deepfake content must have manipulation timestamp
1 * xsd:dateTime

Implementation

@prefix cacontology-ai: <https://cacontology.projectvic.org/ai-csam#> .
@prefix cacontology-gufo: <https://cacontology.projectvic.org/gufo#> .
@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-ai:DeepfakeCSAMShape a sh:NodeShape ;
    rdfs:label "Deepfake CSAM Shape"@en ;
    rdfs:comment "Enhanced validation shape for deepfake CSAM instances with gUFO Object validation and manipulation tracking."@en ;
    sh:property [ sh:hasValue true ;
            sh:message "Deepfake CSAM must involve real victim imagery."@en ;
            sh:path cacontology-ai:realVictimDepicted ],
        [ sh:datatype xsd:dateTime ;
            sh:message "Deepfake content must have manipulation timestamp"@en ;
            sh:minCount 1 ;
            sh:path cacontology-gufo:manipulationTimePoint ] ;
    sh:rule [ a sh:SPARQLRule ;
            sh:construct """
            INSERT { $this a cacontology-ai:TemporalInconsistencyError . }
            WHERE {
                $this cacontology-gufo:manipulationTimePoint ?manipTime .
                $this cacontology-gufo:creationTimePoint ?createTime .
                FILTER(?manipTime <= ?createTime)
            }
        """ ;
            sh:message "Manipulation time must be after original content creation"@en ;
            sh:prefixes cacontology-ai: ;
            sh:severity sh:Violation ] ;
    sh:targetClass cacontology-ai:DeepfakeCSAM .