https://cacontology.projectvic.org/ai-generated#AIContentDetectionShape
Enhanced validation shape for AI content detection instances with comprehensive gUFO Event validation.
Instances of cacontology-ai:AIContentDetection can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-ai:AIContentDetection | ||||
| cacontology-ai:detectionConfidence | 0 | 1 |
xsd:decimal
|
|
| cacontology-ai:detectionMethod | 0 | 1 |
xsd:string
|
|
| cacontology-ai:evidenceAdmissibility | 0 | 1 |
xsd:string
|
|
| cacontology-ai:processingTime | 0 | 1 |
xsd:decimal
|
|
| cacontology-gufo:detectionTimePoint | 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:AIContentDetectionShape a sh:NodeShape ;
rdfs:label "AI Content Detection Shape"@en ;
rdfs:comment "Enhanced validation shape for AI content detection instances with comprehensive gUFO Event validation."@en ;
sh:property [ sh:hasValue gufo:Event ;
sh:message "AI content detection must be instances of gUFO Event"@en ;
sh:path rdf:type ],
[ sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:message "AI content detection must specify start time."@en ;
sh:minCount 1 ;
sh:path uco-core:startTime ],
[ sh:datatype xsd:decimal ;
sh:maxCount 1 ;
sh:maxInclusive 1.0 ;
sh:message "Detection confidence must be between 0.0 and 1.0."@en ;
sh:minCount 0 ;
sh:minInclusive 0.0 ;
sh:path cacontology-ai:detectionConfidence ],
[ sh:datatype xsd:string ;
sh:in ( "neural_network" "statistical_analysis" "artifact_detection" "metadata_analysis" "hybrid_approach" ) ;
sh:maxCount 1 ;
sh:message "Detection method must be from the allowed list."@en ;
sh:minCount 0 ;
sh:path cacontology-ai:detectionMethod ],
[ sh:datatype xsd:decimal ;
sh:maxCount 1 ;
sh:maxInclusive 3600.0 ;
sh:message "Processing time must be between 0.1 and 3600 seconds."@en ;
sh:minCount 0 ;
sh:minInclusive 0.1 ;
sh:path cacontology-ai:processingTime ],
[ sh:datatype xsd:string ;
sh:in ( "accepted" "challenged" "rejected" "unclear" ) ;
sh:maxCount 1 ;
sh:message "Evidence admissibility must be from the allowed list."@en ;
sh:minCount 0 ;
sh:path cacontology-ai:evidenceAdmissibility ],
[ sh:datatype xsd:dateTime ;
sh:message "Detection must have timestamp using gUFO temporal framework"@en ;
sh:minCount 1 ;
sh:path cacontology-gufo:detectionTimePoint ] ;
sh:rule [ a sh:SPARQLRule ;
sh:construct """
INSERT { $this a cacontology-ai:RoleValidationError . }
WHERE {
$this a cacontology-ai:AIContentDetection .
$this uco-action:performer ?performer .
FILTER NOT EXISTS {
?performer cacontology-ai:playsRole ?role .
?role a gufo:Role .
?role rdfs:subClassOf* cacontology-ai:AIForensicAnalyst .
}
}
""" ;
sh:message "AI detection must be performed by entities with appropriate gUFO Roles"@en ;
sh:prefixes cacontology-ai: ;
sh:severity sh:Violation ] ;
sh:targetClass cacontology-ai:AIContentDetection .