action:ActionFrequencyFacet leaf node


URI

https://ontology.unifiedcyberontology.org/uco/action/ActionFrequencyFacet

Label

ActionFrequencyFacet

Description

An action frequency facet is a grouping of characteristics unique to the frequency of occurrence for an action.

Target Classes (1)

Shape Properties

Instances of action:ActionFrequencyFacet can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

action:ActionFrequencyFacet
action:rate 1 1 xsd:decimal
action:scale 1 1 xsd:string
action:trend 1 1 vocabulary:TrendVocab
action:units 1 1 xsd:string

Implementation

@prefix action: <https://ontology.unifiedcyberontology.org/uco/action/> .
@prefix core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@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 vocabulary: <https://ontology.unifiedcyberontology.org/uco/vocabulary/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

action:ActionFrequencyFacet a owl:Class,
        sh:NodeShape ;
    rdfs:label "ActionFrequencyFacet"@en ;
    rdfs:comment "An action frequency facet is a grouping of characteristics unique to the frequency of occurrence for an action."@en ;
    rdfs:subClassOf core:Facet ;
    sh:property [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path action:rate ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path action:scale ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path action:units ],
        [ sh:datatype vocabulary:TrendVocab ;
            sh:message "Value is outside the default vocabulary TrendVocab." ;
            sh:path action:trend ;
            sh:severity sh:Info ],
        [ sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:or ( [ sh:datatype vocabulary:TrendVocab ] [ sh:datatype xsd:string ] ) ;
            sh:path action:trend ],
        [ sh:message "Value is not member of the vocabulary TrendVocab." ;
            sh:or ( [ sh:datatype vocabulary:TrendVocab ;
                        sh:in ( "Decreasing"^^vocabulary:TrendVocab "Increasing"^^vocabulary:TrendVocab ) ] [ sh:datatype xsd:string ] ) ;
            sh:path action:trend ] ;
    sh:targetClass action:ActionFrequencyFacet .