glam/schemas/20251121/linkml/modules/classes/Label.yaml
kempersc ca4a54181e Refactor schema files to improve clarity and maintainability
- Updated WorldCatIdentifier.yaml to remove unnecessary description and ensure consistent formatting.
- Enhanced WorldHeritageSite.yaml by breaking long description into multiple lines for better readability and removed unused attributes.
- Simplified WritingSystem.yaml by removing redundant attributes and ensuring consistent formatting.
- Cleaned up XPathScore.yaml by removing unnecessary attributes and ensuring consistent formatting.
- Improved YoutubeChannel.yaml by breaking long description into multiple lines for better readability.
- Enhanced YoutubeEnrichment.yaml by breaking long description into multiple lines for better readability.
- Updated YoutubeVideo.yaml to break long description into multiple lines and removed legacy field name.
- Refined has_or_had_affiliation.yaml by removing unnecessary comments and ensuring clarity.
- Cleaned up is_or_was_retrieved_at.yaml by removing unnecessary comments and ensuring clarity.
- Added rules for generic slots and avoiding rough edits in schema files to maintain structural integrity.
- Introduced changes_or_changed_through.yaml to define a new slot for linking entities to change events.
2026-01-31 00:46:23 +01:00

99 lines
No EOL
3 KiB
YAML

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/has_or_had_score # was: template_specificity
- ../slots/has_or_had_type
- ../slots/has_or_had_type # Added 2026-01-18 for label type discrimination
- ../slots/language
- ../slots/specificity_annotation
- ./SpecificityAnnotation
- ./TemplateSpecificityScore # was: TemplateSpecificityScores
- ./TemplateSpecificityType
- ./TemplateSpecificityTypes
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
- has_or_had_type # Added 2026-01-18 for label type discrimination
- language
- specificity_annotation
- has_or_had_score # was: template_specificity - migrated per Rule 53 (2026-01-17)
slot_usage:
has_or_had_label:
range: string
required: true
has_or_had_type:
range: string
required: false
multivalued: false
language:
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
- value: |
has_or_had_label: National Library of the Netherlands
language: en
- value: |
has_or_had_label: CollectiveAccess
has_or_had_type: product_name
- value: |
has_or_had_label: Whirl-i-Gig
has_or_had_type: vendor_name