Ontology Version: 3.1.0

cacontology-ai:AIDetectionToolShape leaf node


URI

https://cacontology.projectvic.org/ai-csam#AIDetectionToolShape

Label

AI Detection Tool Shape

Description

Enhanced validation shape for AI detection tool instances with gUFO Object validation.

Targets (1)

Property Constraints (3)

Focus nodes of this shape (cacontology-ai:AIDetectionTool) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-ai:falsePositiveRate Rate of false positives in AI detection (0.0-1.0).
sh:message False positive rate must be between 0.0 and 1.0.
0 1 xsd:decimal
sh:minInclusive 0.0
sh:maxInclusive 1.0
uco-core:name
sh:message AI detection tool must have a name (2-100 characters).
1 1 xsd:string
sh:minLength 2
sh:maxLength 100
uco-tool:version
sh:message Tool version must follow semantic versioning pattern (e.g., '1.0', '2.1.3').
0 1 xsd:string
sh:pattern ^[0-9]+\.[0-9]+(\.[0-9]+)?$

Implementation

@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#> .
@prefix uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix uco-tool: <https://ontology.unifiedcyberontology.org/uco/tool/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-ai:AIDetectionToolShape a sh:NodeShape ;
    rdfs:label "AI Detection Tool Shape"@en ;
    rdfs:comment "Enhanced validation shape for AI detection tool instances with gUFO Object validation."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 100 ;
            sh:message "AI detection tool must have a name (2-100 characters)."@en ;
            sh:minCount 1 ;
            sh:minLength 2 ;
            sh:path uco-core:name ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:message "Tool version must follow semantic versioning pattern (e.g., '1.0', '2.1.3')."@en ;
            sh:minCount 0 ;
            sh:path uco-tool:version ;
            sh:pattern "^[0-9]+\\.[0-9]+(\\.[0-9]+)?$" ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "False positive rate must be between 0.0 and 1.0."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-ai:falsePositiveRate ] ;
    sh:targetClass cacontology-ai:AIDetectionTool .