glam/schemas/20251121/linkml/modules/classes/LanguageCode.yaml

44 lines
1.1 KiB
YAML

id: https://nde.nl/ontology/hc/class/LanguageCode
name: language_code_class
title: LanguageCode Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
dcterms: http://purl.org/dc/terms/
schema: http://schema.org/
skos: http://www.w3.org/2004/02/skos/core#
rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
default_prefix: hc
imports:
- linkml:types
- ../metadata
- ../slots/has_score
- ../slots/has_code
classes:
LanguageCode:
class_uri: dcterms:LinguisticSystem
description: 'ISO 639-1 two-letter language code.
Dublin Core: LinguisticSystem for language representation.
**Examples**: "nl", "en", "fr", "de", "es"
'
exact_mappings:
- dcterms:LinguisticSystem
- schema:Language
close_mappings:
- skos:Concept
slots:
- has_code
- has_score
slot_usage:
has_code:
# range: string
pattern: ^[a-z]{2}$
required: true
annotations:
specificity_score: 0.1
specificity_rationale: Generic utility class/slot created during migration
custodian_types: "['*']"