Ontology Version: 3.1.0

cacontology-ai:AICSAMInvestigationShape leaf node


URI

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

Label

AI-CSAM Investigation Shape

Description

Enhanced validation shape for AI-CSAM investigation instances with comprehensive gUFO Event and Situation validation.

Targets (1)

Property Constraints (5)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-ai:investigationChallengeLevel Difficulty level of investigating AI-CSAM (low, moderate, high, extreme).
sh:message Investigation challenge level must be from the allowed list.
0 1 xsd:string
sh:in low, moderate, high, extreme
cacontology-ai:legalFrameworkChallenges Challenges in existing legal frameworks for AI-generated content (legislation_gaps, jurisdiction_issues, evidence_admissibility).
sh:message Legal framework challenges must be from the allowed list.
0 5 xsd:string
sh:in legislation_gaps, jurisdiction_issues, evidence_admissibility, prosecution_complexity, international_cooperation
cacontology-ai:prosecutionDifficulty Difficulty in prosecuting AI-CSAM cases (low, moderate, high, extreme).
sh:message Prosecution difficulty must be from the allowed list.
0 1 xsd:string
sh:in low, moderate, high, extreme
cacontology-ai:victimIdentificationDifficulty Difficulty in identifying real victims when AI content is involved (none, low, moderate, high, impossible).
sh:message Victim identification difficulty must be from the allowed list.
0 1 xsd:string
sh:in none, low, moderate, high, impossible
uco-core:startTime
sh:message AI-CSAM investigation must specify start time.
1 1 xsd:dateTime

Implementation

@prefix cacontology-ai: <https://cacontology.projectvic.org/ai-csam#> .
@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 uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-ai:AICSAMInvestigationShape a sh:NodeShape ;
    rdfs:label "AI-CSAM Investigation Shape"@en ;
    rdfs:comment "Enhanced validation shape for AI-CSAM investigation instances with comprehensive gUFO Event and Situation validation."@en ;
    sh:property [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "AI-CSAM investigation must specify start time."@en ;
            sh:minCount 1 ;
            sh:path uco-core:startTime ],
        [ sh:datatype xsd:string ;
            sh:in ( "low" "moderate" "high" "extreme" ) ;
            sh:maxCount 1 ;
            sh:message "Investigation challenge level must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-ai:investigationChallengeLevel ],
        [ sh:datatype xsd:string ;
            sh:in ( "none" "low" "moderate" "high" "impossible" ) ;
            sh:maxCount 1 ;
            sh:message "Victim identification difficulty must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-ai:victimIdentificationDifficulty ],
        [ sh:datatype xsd:string ;
            sh:in ( "legislation_gaps" "jurisdiction_issues" "evidence_admissibility" "prosecution_complexity" "international_cooperation" ) ;
            sh:maxCount 5 ;
            sh:message "Legal framework challenges must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-ai:legalFrameworkChallenges ],
        [ sh:datatype xsd:string ;
            sh:in ( "low" "moderate" "high" "extreme" ) ;
            sh:maxCount 1 ;
            sh:message "Prosecution difficulty must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-ai:prosecutionDifficulty ] ;
    sh:rule [ a sh:SPARQLRule ;
            sh:construct """
            INSERT { $this a cacontology-ai:SituationInvolvementError . }
            WHERE {
                $this a cacontology-ai:AICSAMInvestigation .
                $this cacontology-ai:investigationChallengeLevel ?level .
                FILTER(?level IN ("high", "extreme"))
                FILTER NOT EXISTS { 
                    $this cacontology-ai:involvesSituation ?situation ;
                    ?situation a gufo:Situation .
                }
            }
        """ ;
            sh:message "Complex AI-CSAM investigations should involve gUFO Situations"@en ;
            sh:prefixes cacontology-ai: ;
            sh:severity sh:Violation ] ;
    sh:targetClass cacontology-ai:AICSAMInvestigation .