Ontology Version: 3.1.0

cacontology-ai:AIGeneratedCSAMShape leaf node


URI

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

Label

AI-Generated CSAM Shape

Description

Enhanced validation shape for AI-generated CSAM instances with comprehensive gUFO Object validation.

Targets (1)

Property Constraints (5)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-ai:aiModelUsed Type of AI model used for generation (e.g., 'Stable Diffusion', 'GAN', 'VAE', 'Transformer').
sh:message AI model used must be from the allowed list.
0 1 xsd:string
sh:in Stable Diffusion, GAN, VAE, Transformer, DALL-E, Midjourney, Custom Model, Unknown
cacontology-ai:artificialnessLevel Degree of artificial generation (fully_synthetic, partially_altered, minimally_modified).
sh:message Artificialness level must be from the allowed list.
1 1 xsd:string
sh:in fully_synthetic, partially_altered, minimally_modified, hybrid
cacontology-ai:realVictimDepicted Whether content depicts or is based on a real victim.
sh:message Must specify whether real victim is depicted.
1 1 xsd:boolean
cacontology-ai:renderingQuality Quality of AI-generated output (low, medium, high, photorealistic).
sh:message Rendering quality must be from the allowed list.
0 1 xsd:string
sh:in low, medium, high, photorealistic
cacontology-gufo:creationTimePoint
sh:message AI-generated content must have creation timestamp using gUFO temporal framework
1 * xsd:dateTime

Implementation

@prefix cacontology-ai: <https://cacontology.projectvic.org/ai-csam#> .
@prefix cacontology-gufo: <https://cacontology.projectvic.org/gufo#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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:AIGeneratedCSAMShape a sh:NodeShape ;
    rdfs:label "AI-Generated CSAM Shape"@en ;
    rdfs:comment "Enhanced validation shape for AI-generated CSAM instances with comprehensive gUFO Object validation."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "Stable Diffusion" "GAN" "VAE" "Transformer" "DALL-E" "Midjourney" "Custom Model" "Unknown" ) ;
            sh:maxCount 1 ;
            sh:message "AI model used must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-ai:aiModelUsed ],
        [ sh:datatype xsd:string ;
            sh:in ( "fully_synthetic" "partially_altered" "minimally_modified" "hybrid" ) ;
            sh:maxCount 1 ;
            sh:message "Artificialness level must be from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-ai:artificialnessLevel ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "Must specify whether real victim is depicted."@en ;
            sh:minCount 1 ;
            sh:path cacontology-ai:realVictimDepicted ],
        [ sh:datatype xsd:string ;
            sh:in ( "low" "medium" "high" "photorealistic" ) ;
            sh:maxCount 1 ;
            sh:message "Rendering quality must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-ai:renderingQuality ],
        [ sh:datatype xsd:dateTime ;
            sh:message "AI-generated content must have creation timestamp using gUFO temporal framework"@en ;
            sh:minCount 1 ;
            sh:path cacontology-gufo:creationTimePoint ] ;
    sh:rule [ a sh:SPARQLRule ;
            sh:construct """
            INSERT { $this a cacontology-ai:GenerationProcessError . }
            WHERE {
                $this a cacontology-ai:AIGeneratedCSAM .
                FILTER NOT EXISTS { 
                    $this cacontology-ai:generatedUsing ?generation ;
                    ?generation a gufo:Event .
                }
            }
        """ ;
            sh:message "AI-generated CSAM must be linked to a gUFO Event generation process"@en ;
            sh:prefixes cacontology-ai: ;
            sh:severity sh:Violation ] ;
    sh:targetClass cacontology-ai:AIGeneratedCSAM .