Ontology Version: 3.1.0

cacontology-detection:MachineLearningDetectionToolGUFOShape leaf node


URI

https://cacontology.projectvic.org/detection#MachineLearningDetectionToolGUFOShape

Label

gUFO Machine Learning Detection Tool Shape

Description

Validates machine learning detection tool instances with gUFO foundational constraints.

Property Constraints (2)

Focus nodes of this shape (cacontology-detection:MachineLearningDetectionTool) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-detection:detectionThreshold The threshold value used for determining positive detection.
sh:message Detection threshold must be between 0.0 and 1.0
0 1 xsd:decimal
sh:minInclusive 0.0
sh:maxInclusive 1.0
cacontology-detection:modelVersion The version of the machine learning model used for detection.
sh:message Model version should be 1-50 characters when specified
0 1 xsd:string
sh:minLength 1
sh:maxLength 50

Implementation

@prefix cacontology-detection: <https://cacontology.projectvic.org/detection#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-detection:MachineLearningDetectionToolGUFOShape a sh:NodeShape ;
    rdfs:label "gUFO Machine Learning Detection Tool Shape"@en ;
    rdfs:comment "Validates machine learning detection tool instances with gUFO foundational constraints."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 50 ;
            sh:message "Model version should be 1-50 characters when specified"@en ;
            sh:minCount 0 ;
            sh:minLength 1 ;
            sh:path cacontology-detection:modelVersion ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Detection threshold must be between 0.0 and 1.0"@en ;
            sh:minCount 0 ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-detection:detectionThreshold ] ;
    sh:targetClass cacontology-detection:MachineLearningDetectionTool .