glam/schemas/20251121/linkml/modules/classes/DualClassLink.yaml
kempersc 0393b321c9 refactor(schema): unify custodian_type slots into has_or_had_custodian_type (Rule 39, 43)
- Migrate 236+ class files from custodian_types to has_or_had_custodian_type
- Archive deprecated slots: custodian_type, custodian_types, custodian_type_broader/narrower/related
- Update main schema and manifest imports
- Fix Custodian.yaml class to use new slot
- Fix annotation format (list→scalar) in has_or_had_custodian_type.yaml

Rules applied:
- Rule 39: RiC-O naming convention (hasOrHad pattern)
- Rule 43: Slot nouns must be singular (multivalued:true for cardinality)
- Rule 38: Slot centralization with semantic URI
2026-01-09 10:55:21 +01:00

66 lines
1.9 KiB
YAML

# DualClassLink
#
# Structured metadata for dual-class pattern linking.
# Connects custodian types to their corresponding collection types and vice versa.
#
# Generation date: 2026-01-07
id: https://nde.nl/ontology/hc/class/DualClassLink
name: DualClassLink
title: Dual-Class Link
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
rdfs: http://www.w3.org/2000/01/rdf-schema#
skos: http://www.w3.org/2004/02/skos/core#
default_prefix: hc
imports:
- linkml:types
- ../enums/DualClassPatternEnum
- ../slots/dual_class_role
- ../slots/link_rationale
- ../slots/linked_class_name
# Slot definitions are inlined here to avoid circular imports
# These slots are also available separately in ../slots/ for reuse
slots:
dual_class_role:
slot_uri: hc:dualClassRole
description: |
Role of this class in the dual-class pattern.
Either 'custodian_type' (organization) or 'collection_type' (record set).
range: DualClassPatternEnum
linked_class_name:
slot_uri: rdfs:seeAlso
description: |
Name of the linked class in the dual-class pattern.
range: string
link_rationale:
slot_uri: skos:editorialNote
description: |
Editorial note explaining the dual-class pattern linkage.
range: string
classes:
DualClassLink:
class_uri: hc:DualClassLink
description: |
Structured metadata for dual-class pattern linking.
Connects custodian types to their corresponding collection types and vice versa.
**Pattern**:
- Custodian type (organization) ↔ Collection type (rico:RecordSetType)
- E.g., AcademicArchive (custodian) ↔ AcademicArchiveRecordSetType (collection)
slots:
- dual_class_role
- linked_class_name
- link_rationale
annotations:
specificity_score: 0.4
specificity_rationale: "Structural pattern for heritage ontology class linking"