Ontology Version: 2.2.0

cacontology-ai:AICSAMInvestigationShape leaf node


URI

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

Label

AI-CSAM Investigation Shape

Description

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

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-ai:AICSAMInvestigation
cacontology-ai:investigationChallengeLevel 0 1 xsd:string
cacontology-ai:legalFrameworkChallenges 0 5 xsd:string
cacontology-ai:prosecutionDifficulty 0 1 xsd:string
cacontology-ai:victimIdentificationDifficulty 0 1 xsd:string
1 1 xsd:dateTime

Implementation

@prefix cacontology-ai: <https://cacontology.projectvic.org/ai-generated#> .
@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 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:hasValue gufo:Event ;
            sh:message "AI-CSAM investigations must be instances of gUFO Event"@en ;
            sh:path rdf:type ],
        [ 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: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 "Prosecution difficulty must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-ai:prosecutionDifficulty ],
        [ 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: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 .