types:ControlledDictionaryEntry leaf node


URI

https://unifiedcyberontology.org/ontology/uco/types#ControlledDictionaryEntry

Label

ControlledDictionaryEntry

Description

A controlled dictionary entry is a single (term/key, value) pair where the term/key is constrained to an explicitly defined set of values.

Target Classes (1)

Shape Properties

Instances of types:ControlledDictionaryEntry can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

VALUE CONSTRAINTS

TYPE

types:ControlledDictionaryEntry
types:key 1 1
xsd:string
types:value 1 1
xsd:string

Implementation

@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix types: <https://unifiedcyberontology.org/ontology/uco/types#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

types:ControlledDictionaryEntry a owl:Class,
        sh:NodeShape ;
    rdfs:label "ControlledDictionaryEntry"@en ;
    rdfs:comment "A controlled dictionary entry is a single (term/key, value) pair where the term/key is constrained to an explicitly defined set of values."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path types:key ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path types:value ] ;
    sh:targetClass types:ControlledDictionaryEntry .