- Removed obsolete slots: `has_or_had_custodian_observation`, `provider`, and `specificity_annotation`. - Updated `has_or_had_score` slot to use `SpecificityScore` class and modified its description and examples. - Added new slots: `end_seconds`, `end_time`, `has_archive_path`, `has_or_had_custodian_name`, `protocol_name`, and `protocol_version`. - Introduced a script `check_annotation_types.py` to validate the presence and structure of `custodian_types` in YAML files. - Added a script `update_specificity.py` to automate updates related to `SpecificityAnnotation` to `SpecificityScore`.
93 lines
No EOL
2.8 KiB
YAML
93 lines
No EOL
2.8 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
|
|
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
|
|
- 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 |