https://cacontology.projectvic.org/ai-generated#AIContentGenerationShape
Enhanced validation shape for AI content generation instances with comprehensive gUFO Event validation.
Instances of cacontology-ai:AIContentGeneration can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-ai:AIContentGeneration | ||||
| cacontology-ai:generationComplexity | 0 | 1 |
xsd:string
|
|
| cacontology-ai:generationTechnique | 0 | 1 |
xsd:string
|
|
| cacontology-ai:technicalExpertiseRequired | 0 | 1 |
xsd:string
|
|
| cacontology-gufo:generationDuration | 0 | 1 |
xsd:duration
|
|
| 0 | 1 |
xsd:dateTime
|
||
| 1 | 1 |
xsd:dateTime
|
||
@prefix cacontology-ai: <https://cacontology.projectvic.org/ai-generated#> .
@prefix cacontology-gufo: <https://cacontology.projectvic.org/gufo#> .
@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: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:hasValue gufo:Event ;
sh:message "AI content generation must be instances of gUFO Event"@en ;
sh:path rdf:type ],
[ 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 .