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.

Target Classes (1)

Shape Properties

Instances of types:DictionaryEntry can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

VALUE CONSTRAINTS

TYPE

types:DictionaryEntry
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: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 .