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.

Shape Properties

Instances of types:ControlledDictionaryEntry can have the following properties:

PROPERTY

PROPERTY TYPE

DESCRIPTION

MIN COUNT

MAX COUNT

VALUE CONSTRAINTS

LOCAL TYPE
(type defined for property on this class)

GLOBAL RANGE
(type range for property globally)

types:ControlledDictionaryEntry
types:key owl:DatatypeProperty A key property of a single dictionary entry.
1 1
xsd:string
xsd:string
types:value owl:DatatypeProperty A specific property value.
1 1
xsd:string
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 .