Ontology Version: 2.2.0

cacontology-ai:AIContentInvestigationSituationShape leaf node


URI

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

Label

AI Content Investigation Situation Shape

Description

SHACL shape for AI content investigation situations with comprehensive gUFO Situation validation.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

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#> .
cacontology-ai:AIContentInvestigationSituationShape a sh:NodeShape ;
    rdfs:label "AI Content Investigation Situation Shape"@en ;
    rdfs:comment "SHACL shape for AI content investigation situations with comprehensive gUFO Situation validation."@en ;
    sh:property [ sh:hasValue gufo:Situation ;
            sh:message "AI content investigation situations must be instances of gUFO Situation"@en ;
            sh:path rdf:type ] ;
    sh:rule [ a sh:SPARQLRule ;
            sh:construct """
            INSERT { $this a cacontology-ai:StakeholderValidationError . }
            WHERE {
                $this a cacontology-ai:AIContentInvestigationSituation .
                {
                    SELECT $this (COUNT(?participant) AS ?participantCount) WHERE {
                        $this cacontology-ai:hasParticipant ?participant .
                    } GROUP BY $this
                }
                FILTER(?participantCount < 2)
            }
        """ ;
            sh:message "Investigation situations must involve multiple stakeholders"@en ;
            sh:prefixes cacontology-ai: ;
            sh:severity sh:Violation ] ;
    sh:targetClass cacontology-ai:AIContentInvestigationSituation .