glam/schemas/20251121/linkml/modules/classes/WikidataAlignment.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

82 lines
2.3 KiB
YAML

# WikidataAlignment
#
# Structured metadata for Wikidata entity alignment.
# Replaces fragmented annotations with a proper structured object.
#
# Generation date: 2026-01-07
id: https://nde.nl/ontology/hc/class/WikidataAlignment
name: WikidataAlignment
title: Wikidata Alignment
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
skos: http://www.w3.org/2004/02/skos/core#
wdt: http://www.wikidata.org/prop/direct/
rdfs: http://www.w3.org/2000/01/rdf-schema#
default_prefix: hc
imports:
- linkml:types
- ../enums/WikidataMappingTypeEnum
- ../slots/wikidata_entity_id
- ../slots/wikidata_entity_label
- ../slots/wikidata_mapping_rationale
- ../slots/wikidata_mapping_type
# Slot definitions are inlined here to avoid circular imports
# These slots are also available separately in ../slots/ for reuse
slots:
wikidata_entity_id:
slot_uri: wdt:P31
description: |
Wikidata entity ID (Q-number) for this class.
Links to the corresponding Wikidata concept.
range: string
pattern: "^Q[0-9]+$"
wikidata_entity_label:
slot_uri: rdfs:label
description: |
Human-readable label for the linked Wikidata entity.
Stored for display purposes to avoid repeated API calls.
range: string
wikidata_mapping_type:
slot_uri: skos:mappingRelation
description: |
Type of semantic mapping relationship to the Wikidata entity.
range: WikidataMappingTypeEnum
wikidata_mapping_rationale:
slot_uri: skos:note
description: |
Explanation of the Wikidata mapping relationship.
range: string
classes:
WikidataAlignment:
class_uri: hc:WikidataAlignment
description: |
Structured metadata for Wikidata entity alignment.
Replaces fragmented annotations with a proper structured object.
**Example**:
```yaml
wikidata_alignment:
entity_id: Q27032435
entity_label: "academic archive"
mapping_type: exact
mapping_rationale: "AcademicArchive is semantically equivalent to Q27032435"
```
slots:
- wikidata_entity_id
- wikidata_entity_label
- wikidata_mapping_type
- wikidata_mapping_rationale
annotations:
specificity_score: 0.3
specificity_rationale: "Universal utility for Wikidata alignment metadata"