types:DictionaryEntry leaf node


URI

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

Label

DictionaryEntry

Description

A dictionary entry is a single (term/key, value) pair.

Shape Properties

Instances of types:DictionaryEntry 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:DictionaryEntry
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:DictionaryEntry a owl:Class,
        sh:NodeShape ;
    rdfs:label "DictionaryEntry"@en ;
    rdfs:comment "A dictionary entry is a single (term/key, value) pair."@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:DictionaryEntry .