glam/schemas/20251121/linkml/modules/classes/LastName.yaml
kempersc fc405445c6 Refactor and update schema definitions
- 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`.
2026-02-01 19:55:38 +01:00

64 lines
1.7 KiB
YAML

id: https://nde.nl/ontology/hc/class/LastName
name: LastName
title: Last Name Class
description: >-
Represents a surname/family name with optional base form for sorting.
**PNV ALIGNMENT**: Follows Person Name Vocabulary (PNV) patterns for Dutch
surname representation where names may have prefixes.
**SORTING BEHAVIOR**:
Dutch names with prefixes (van, de, van der) are sorted by the base surname:
- "Johannes de Vries" → base: "Vries" (sorts under V)
- "Anna van den Berg" → base: "Berg" (sorts under B)
**EXAMPLE**:
```yaml
LastName:
has_or_had_label:
label_value: "van der Berg"
has_or_had_base:
base_value: "Berg"
```
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
pnv: https://w3id.org/pnv#
schema: http://schema.org/
default_prefix: hc
imports:
- linkml:types
- ../slots/has_or_had_base
- ../slots/has_or_had_label
classes:
LastName:
class_uri: hc:LastName
description: >-
Surname/family name component of a person name.
Supports Dutch naming conventions with prefix separation.
close_mappings:
- schema:familyName
- pnv:surname
slots:
- has_or_had_label
- has_or_had_base
slot_usage:
has_or_had_label:
range: string
inlined: true
examples:
- value:
label_value: "van der Berg"
has_or_had_base:
range: BaseName
inlined: true
examples:
- value:
annotations:
custodian_types: '["*"]'
specificity_score: 0.6
specificity_rationale: >-
Moderately specific - person name component used in staff/contact contexts.