Ontology Version: 2.2.0

cacontology-detection:AutomatedDetectionActionGUFOShape leaf node


URI

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

Label

gUFO Automated Detection Action Shape

Description

Validates automated detection action instances with gUFO Event constraints.

Shape Properties

Instances of cacontology-detection:AutomatedDetectionAction can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-detection:AutomatedDetectionAction
cacontology-detection:confidenceScore 0 1 xsd:decimal
cacontology-detection:hasDetectionBeginPoint 1 xsd:dateTimeStamp
cacontology-detection:hasDetectionEndPoint 1 xsd:dateTimeStamp
1
1 1 cacontology-detection:MachineLearningDetectionTool
1 1 xsd:dateTime

Implementation

@prefix cacontology-detection: <https://cacontology.projectvic.org/detection#> .
@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-action: <https://ontology.unifiedcyberontology.org/uco/action/> .
@prefix uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-detection:AutomatedDetectionActionGUFOShape a sh:NodeShape ;
    rdfs:label "gUFO Automated Detection Action Shape"@en ;
    rdfs:comment "Validates automated detection action instances with gUFO Event constraints."@en ;
    sh:property [ sh:hasValue gufo:Event ;
            sh:message "Automated detection action must be typed as gUFO Event"@en ;
            sh:minCount 1 ;
            sh:path rdf:type ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Automated detection action must specify start time"@en ;
            sh:minCount 1 ;
            sh:path uco-core:startTime ],
        [ sh:class cacontology-detection:MachineLearningDetectionTool ;
            sh:maxCount 1 ;
            sh:message "Automated detection action must specify the ML tool used"@en ;
            sh:minCount 1 ;
            sh:path uco-action:instrument ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Confidence score must be between 0.0 and 1.0"@en ;
            sh:minCount 0 ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-detection:confidenceScore ] ;
    sh:targetClass cacontology-detection:AutomatedDetectionAction .