https://cacontology.projectvic.org/ai-csam#AIContentGenerationShape
Enhanced validation shape for AI content generation instances with comprehensive gUFO Event validation.
Focus nodes of this shape (cacontology-ai:AIContentGeneration) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-ai:generationComplexity | Technical sophistication level (basic, intermediate, advanced, expert). sh:message Generation complexity must be from the allowed list. |
0 | 1 | xsd:string |
sh:in
basic, intermediate, advanced, expert
|
| cacontology-ai:generationTechnique | Specific technique used for content generation (e.g., 'text-to-image', 'image-to-image', 'style transfer'). sh:message Generation technique must be from the allowed list. |
0 | 1 | xsd:string |
sh:in
text-to-image, image-to-image, style_transfer, face_swap, age_progression, video_generation
|
| cacontology-ai:technicalExpertiseRequired | Level of technical expertise needed to generate content (basic, intermediate, advanced, expert). sh:message Technical expertise required must be from the allowed list. |
0 | 1 | xsd:string |
sh:in
basic, intermediate, advanced, expert
|
| cacontology-gufo:generationDuration | Duration of AI content generation process using gUFO temporal framework. sh:message Generation duration should use gUFO temporal framework |
0 | 1 | xsd:duration | |
uco-core:endTime |
sh:message AI content generation may specify end time. |
0 | 1 | xsd:dateTime | |
uco-core:startTime |
sh:message AI content generation must specify start time. |
1 | 1 | xsd:dateTime |
@prefix cacontology-ai: <https://cacontology.projectvic.org/ai-csam#> .
@prefix cacontology-gufo: <https://cacontology.projectvic.org/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:AIContentGenerationShape a sh:NodeShape ;
rdfs:label "AI Content Generation Shape"@en ;
rdfs:comment "Enhanced validation shape for AI content generation instances with comprehensive gUFO Event validation."@en ;
sh:property [ sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:message "AI content generation must specify start time."@en ;
sh:minCount 1 ;
sh:path uco-core:startTime ],
[ sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:message "AI content generation may specify end time."@en ;
sh:minCount 0 ;
sh:path uco-core:endTime ],
[ sh:datatype xsd:string ;
sh:in ( "text-to-image" "image-to-image" "style_transfer" "face_swap" "age_progression" "video_generation" ) ;
sh:maxCount 1 ;
sh:message "Generation technique must be from the allowed list."@en ;
sh:minCount 0 ;
sh:path cacontology-ai:generationTechnique ],
[ sh:datatype xsd:string ;
sh:in ( "basic" "intermediate" "advanced" "expert" ) ;
sh:maxCount 1 ;
sh:message "Generation complexity must be from the allowed list."@en ;
sh:minCount 0 ;
sh:path cacontology-ai:generationComplexity ],
[ sh:datatype xsd:string ;
sh:in ( "basic" "intermediate" "advanced" "expert" ) ;
sh:maxCount 1 ;
sh:message "Technical expertise required must be from the allowed list."@en ;
sh:minCount 0 ;
sh:path cacontology-ai:technicalExpertiseRequired ],
[ sh:datatype xsd:duration ;
sh:maxCount 1 ;
sh:message "Generation duration should use gUFO temporal framework"@en ;
sh:minCount 0 ;
sh:path cacontology-gufo:generationDuration ] ;
sh:rule [ a sh:SPARQLRule ;
sh:construct """
INSERT { $this a cacontology-ai:TemporalInconsistencyError . }
WHERE {
$this uco-core:startTime ?start .
$this uco-core:endTime ?end .
FILTER(?end <= ?start)
}
""" ;
sh:message "Generation end time must be after start time"@en ;
sh:prefixes cacontology-ai: ;
sh:severity sh:Violation ] ;
sh:targetClass cacontology-ai:AIContentGeneration .