Ontology Version: 2.2.0

cacontology-ai:ContentGenerationPhaseShape leaf node


URI

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

Label

Content Generation Phase Shape

Description

SHACL shape for content generation phases with anti-rigid gUFO Phase validation.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

gufo:Phase
cacontology-infrastructure:hasPhaseBeginPoint 1 xsd:dateTimeStamp
cacontology-infrastructure:hasPhaseEndPoint 1 xsd:dateTimeStamp
cacontology-multi:hasCoordinationPhaseBeginPoint 1 xsd:dateTimeStamp
cacontology-multi:hasCoordinationPhaseEndPoint 1 xsd:dateTimeStamp
cacontology-partnerships:hasPhaseBeginPoint 1 xsd:dateTimeStamp
cacontology-partnerships:hasPhaseEndPoint 1 xsd:dateTimeStamp
cacontology-production:hasProductionPhaseBeginPoint 0 1 xsd:dateTimeStamp
cacontology-production:hasProductionPhaseEndPoint 0 1 xsd:dateTimeStamp
cacontology-temporal:hasLegalDeadline 1 xsd:dateTimeStamp
cacontology-temporal:hasMaximumDuration 1 xsd:duration
cacontology-temporal:hasMinimumDuration 1 xsd:duration
cacontology-temporal:hasTypicalDuration 1 xsd:duration
cacontology-temporal:phaseCompletionRate 1 xsd:decimal
cacontology-temporal:phaseEfficiency 1 xsd:decimal
cacontology-temporal:urgencyLevel 1 xsd:integer

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:ContentGenerationPhaseShape a sh:NodeShape ;
    rdfs:label "Content Generation Phase Shape"@en ;
    rdfs:comment "SHACL shape for content generation phases with anti-rigid gUFO Phase validation."@en ;
    sh:property [ sh:hasValue gufo:Phase ;
            sh:message "Content generation phases must be instances of anti-rigid gUFO Phase"@en ;
            sh:path rdf:type ] ;
    sh:rule [ a sh:SPARQLRule ;
            sh:construct """
            INSERT { $this a cacontology-ai:PhaseSequenceError . }
            WHERE {
                $this a cacontology-ai:ContentGenerationPhase .
                ?nextPhase cacontology-ai:followsPhase $this .
                ?nextPhase a cacontology-ai:AIDetectionPhase .
                $this cacontology-gufo:endTimePoint ?thisEnd .
                ?nextPhase cacontology-gufo:beginTimePoint ?nextStart .
                FILTER(?nextStart <= ?thisEnd)
            }
        """ ;
            sh:message "Generation phases must follow logical sequence"@en ;
            sh:prefixes cacontology-ai: ;
            sh:severity sh:Violation ] ;
    sh:targetClass cacontology-ai:ContentGenerationPhase .