https://cacontology.projectvic.org/ai-csam#AIContentDetectionShape
Enhanced validation shape for AI content detection instances with comprehensive gUFO Event validation.
Focus nodes of this shape (cacontology-ai:AIContentDetection) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-ai:detectionConfidence | Confidence level of AI detection analysis (0.0-1.0). sh:message Detection confidence must be between 0.0 and 1.0. |
0 | 1 | xsd:decimal |
sh:minInclusive
0.0
sh:maxInclusive
1.0
|
| cacontology-ai:detectionMethod | Method used for AI detection (neural_network, statistical_analysis, artifact_detection, metadata_analysis). sh:message Detection method must be from the allowed list. |
0 | 1 | xsd:string |
sh:in
neural_network, statistical_analysis, artifact_detection, metadata_analysis, hybrid_approach
|
| cacontology-ai:evidenceAdmissibility | Admissibility of AI-detection evidence in court (accepted, challenged, rejected, unclear). sh:message Evidence admissibility must be from the allowed list. |
0 | 1 | xsd:string |
sh:in
accepted, challenged, rejected, unclear
|
| cacontology-ai:processingTime | Time required for AI detection analysis in seconds. sh:message Processing time must be between 0.1 and 3600 seconds. |
0 | 1 | xsd:decimal |
sh:minInclusive
0.1
sh:maxInclusive
3600.0
|
| cacontology-gufo:detectionTimePoint | Temporal point when AI-generated content was detected using gUFO temporal framework. sh:message Detection must have timestamp using gUFO temporal framework |
1 | * | xsd:dateTime | |
uco-core:startTime |
sh:message AI content detection 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: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: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 .