glam/schemas/20251121/linkml/modules/classes/Label.yaml
2026-01-14 09:51:14 +01:00

98 lines
3 KiB
YAML

# Label class
# Generic class for labeled entities with language tagging
#
# Generation date: 2026-01-15
# Rule compliance: 0 (LinkML single source of truth), 38 (slot centralization)
# Migration: Supports has_or_had_secondary_label slot (replaces also_identifies_name)
id: https://nde.nl/ontology/hc/class/Label
name: label_class
title: Label Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
skos: http://www.w3.org/2004/02/skos/core#
rdfs: http://www.w3.org/2000/01/rdf-schema#
schema: http://schema.org/
default_prefix: hc
imports:
- linkml:types
- ../metadata
- ../slots/has_or_had_label
- ../slots/language
- ../slots/specificity_annotation
- ../slots/template_specificity
- ./SpecificityAnnotation
- ./TemplateSpecificityScores
classes:
Label:
class_uri: rdfs:Resource
description: |
A human-readable label for an entity, with optional language tagging.
**Purpose**:
Label provides a reusable class for representing named/labeled references
across the heritage custodian schema. Used when an identifier or reference
also identifies a secondary named entity (e.g., name authority records).
**Ontological Alignment**:
- **Primary**: `rdfs:Resource` - generic resource with label
- **Close**: `skos:Concept` - labeled concept in controlled vocabulary
**Use Cases**:
- Dual-purpose identifiers (ISNI, VIAF) that identify both an entity
and its name authority record
- Secondary labels/references for complex relationships
- Language-tagged names and labels
**Enables**:
- Multilingual label representation (via language slot)
- Typed labels with explicit language codes
- Reusable labeled references across schema
exact_mappings:
- rdfs:Resource
close_mappings:
- skos:Concept
- schema:Thing
slots:
- has_or_had_label
- language
- specificity_annotation
- template_specificity
slot_usage:
has_or_had_label:
description: The textual value of this label.
range: string
required: true
language:
description: |
ISO 639-1 two-letter language code for this label.
Examples: "en", "nl", "de", "fr"
range: string
required: false
pattern: "^[a-z]{2}$"
annotations:
custodian_types: '["*"]'
custodian_types_rationale: Generic label class applicable to all types.
custodian_types_primary: null
specificity_score: 0.3
specificity_rationale: Broadly applicable generic class for labeled references.
examples:
- value: |
has_or_had_label: Rijksmuseum
language: nl
description: "Dutch language label for Rijksmuseum name authority"
- value: |
has_or_had_label: National Library of the Netherlands
language: en
description: "English language label for KB name authority"