Ontology Version: 2.2.0

cacontology-ai:AIDetectionToolShape leaf node


URI

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

Label

AI Detection Tool Shape

Description

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

Target Classes (1)

Shape Properties

Instances of cacontology-ai:AIDetectionTool can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-ai:AIDetectionTool
cacontology-ai:falsePositiveRate 0 1 xsd:decimal
1 1 xsd:string
0 1 xsd:string

Implementation

@prefix cacontology-ai: <https://cacontology.projectvic.org/ai-generated#> .
@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 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:hasValue gufo:Object ;
            sh:message "AI detection tools must be instances of gUFO Object"@en ;
            sh:path rdf:type ],
        [ 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 .