glam/schemas/20251121/linkml/modules/classes/LanguageCode.yaml
kempersc c2cdbed614 Refactor Price, PriceRange, Primary, and PrimaryDigitalPresenceAssertion classes for improved clarity and multilingual support
- Updated descriptions and titles for Price and PriceRange classes to enhance understanding.
- Added multilingual alt_descriptions for Price, PriceRange, Primary, and PrimaryDigitalPresenceAssertion classes.
- Enhanced examples in Price and PriceRange classes to provide clearer context.
- Improved annotations and comments for better documentation and understanding of class purposes.
- Introduced new slots for official names (including and excluding type) to standardize naming conventions.
- Added sorting variant for official names to facilitate alphabetical ordering.
- Ensured all changes align with the latest schema requirements and best practices.
2026-02-15 21:54:42 +01:00

62 lines
2.4 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

id: https://nde.nl/ontology/hc/class/LanguageCode
name: LanguageCode
title: Language Code
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#
default_prefix: hc
imports:
- linkml:types
- ../slots/has_score
- ../slots/has_code
classes:
LanguageCode:
class_uri: hc:LanguageCode
description: >-
Standardized language identifier token, typically represented as an
ISO 639 code.
alt_descriptions:
nl: {text: Gestandaardiseerde taalcodetoken, meestal als ISO 639-code., language: nl}
de: {text: Standardisiertes Sprachcode-Token, typischerweise als ISO-639-Code., language: de}
fr: {text: Jeton d identifiant de langue normalise, generalement sous forme de code ISO 639., language: fr}
es: {text: Token de identificador de idioma estandarizado, normalmente como codigo ISO 639., language: es}
ar: {text: رمز مُعرّف لغة مُعياري، عادةً على شكل رمز ISO 639., language: ar}
id: {text: Token pengenal bahasa terstandar, biasanya berupa kode ISO 639., language: id}
zh: {text: 标准化语言标识符令牌通常以ISO 639代码表示。, language: zh}
structured_aliases:
nl: [{literal_form: taalcode, language: nl}]
de: [{literal_form: Sprachcode, language: de}]
fr: [{literal_form: code de langue, language: fr}]
es: [{literal_form: codigo de idioma, language: es}]
ar: [{literal_form: رمز لغة, language: ar}]
id: [{literal_form: kode bahasa, language: id}]
zh: [{literal_form: 语言代码, language: zh}]
slots:
- has_code
- has_score
slot_usage:
has_code:
pattern: "^[a-z]{2}$"
required: true
close_mappings:
- dcterms:LinguisticSystem
- schema:Language
broad_mappings:
- skos:Concept
comments:
- Use ISO 639-1 two-letter codes (e.g., "nl", "en", "fr", "de", "es").
- Intended for token-level identification; use Language for bundling with optional text content.
examples:
- value:
has_code: nl
has_score: 1.0
- value:
has_code: en
has_score: 0.9
annotations:
specificity_score: 0.3
specificity_rationale: Standardized identifier token used across multilingual fields.
custodian_types: "['*']"