Ontology Version: 2.2.0

cacontology-detection:ContentHashingActionGUFOShape leaf node


URI

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

Label

gUFO Content Hashing Action Shape

Description

Validates content hashing action instances with gUFO Event constraints.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-detection:ContentHashingAction
cacontology-detection:hasDetectionBeginPoint 1 xsd:dateTimeStamp
cacontology-detection:hasDetectionEndPoint 1 xsd:dateTimeStamp
1

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:ContentHashingActionGUFOShape a sh:NodeShape ;
    rdfs:label "gUFO Content Hashing Action Shape"@en ;
    rdfs:comment "Validates content hashing action instances with gUFO Event constraints."@en ;
    sh:property [ sh:hasValue gufo:Event ;
            sh:message "Content hashing action must be typed as gUFO Event"@en ;
            sh:minCount 1 ;
            sh:path rdf:type ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Content hashing action must specify start time"@en ;
            sh:minCount 1 ;
            sh:path uco-core:startTime ],
        [ sh:class cacontology-detection:ContentHashingTool ;
            sh:maxCount 1 ;
            sh:message "Content hashing action must specify the hashing tool used"@en ;
            sh:minCount 1 ;
            sh:path uco-action:instrument ] ;
    sh:targetClass cacontology-detection:ContentHashingAction .