https://cacontology.projectvic.org/ai-csam#ModelTrainingShape
Enhanced validation shape for model training instances with gUFO Event validation and training phases.
@prefix cacontology-ai: <https://cacontology.projectvic.org/ai-csam#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-ai:ModelTrainingShape a sh:NodeShape ;
rdfs:label "Model Training Shape"@en ;
rdfs:comment "Enhanced validation shape for model training instances with gUFO Event validation and training phases."@en ;
sh:rule [ a sh:SPARQLRule ;
sh:construct """
INSERT { $this a cacontology-ai:PhaseValidationError . }
WHERE {
$this a cacontology-ai:ModelTraining .
FILTER NOT EXISTS {
$this cacontology-ai:hasPhase ?phase ;
?phase a cacontology-ai:ContentGenerationPhase .
}
}
""" ;
sh:message "Model training should involve generation phases"@en ;
sh:prefixes cacontology-ai: ;
sh:severity sh:Violation ] ;
sh:targetClass cacontology-ai:ModelTraining .