Ontology Version: 2.2.0

cacontology-ai:AIGeneratedCSAMShape leaf node


URI

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

Label

AI-Generated CSAM Shape

Description

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

Target Classes (1)

Shape Properties

Instances of cacontology-ai:AIGeneratedCSAM can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-ai:AIGeneratedCSAM
cacontology-ai:aiModelUsed 0 1 xsd:string
cacontology-ai:artificialnessLevel 1 1 xsd:string
cacontology-ai:realVictimDepicted 1 1 xsd:boolean
cacontology-ai:renderingQuality 0 1 xsd:string
1 xsd:dateTime

Implementation

@prefix cacontology-ai: <https://cacontology.projectvic.org/ai-generated#> .
@prefix cacontology-gufo: <https://cacontology.projectvic.org/gufo#> .
@prefix gufo: <http://purl.org/nemo/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:hasValue gufo:Object ;
            sh:message "AI-generated CSAM must be instances of gUFO Object"@en ;
            sh:path rdf:type ],
        [ 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: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: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 .