glam/schemas/20251121/linkml/modules/classes/LanguageCode.yaml
kempersc 0393b321c9 refactor(schema): unify custodian_type slots into has_or_had_custodian_type (Rule 39, 43)
- Migrate 236+ class files from custodian_types to has_or_had_custodian_type
- Archive deprecated slots: custodian_type, custodian_types, custodian_type_broader/narrower/related
- Update main schema and manifest imports
- Fix Custodian.yaml class to use new slot
- Fix annotation format (list→scalar) in has_or_had_custodian_type.yaml

Rules applied:
- Rule 39: RiC-O naming convention (hasOrHad pattern)
- Rule 43: Slot nouns must be singular (multivalued:true for cardinality)
- Rule 38: Slot centralization with semantic URI
2026-01-09 10:55:21 +01:00

49 lines
1.3 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/language_code
- ../slots/specificity_annotation
- ../slots/template_specificity
- ./SpecificityAnnotation
- ./TemplateSpecificityScores
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:
- language_code
- specificity_annotation
- template_specificity
slot_usage:
language_code:
slot_uri: rdf:value
description: ISO 639-1 code (e.g., 'nl', 'en')
range: string
pattern: ^[a-z]{2}$
required: true
specificity_annotation:
range: SpecificityAnnotation
inlined: true
template_specificity:
range: TemplateSpecificityScores
inlined: true