glam/schemas/20251121/linkml/modules/classes/WikidataAlignment.yaml
kempersc d5d970b513 Remove deprecated slot definitions and add archived versions for future reference
- Deleted the following slot definitions:
  - wikidata_class_slot
  - wikidata_entity_label_slot
  - wikidata_mapping_rationale_slot
  - word_count_slot

- Added archived versions of the deleted slots to preserve historical data:
  - wikidata_class_archived_20260114.yaml
  - wikidata_entity_label_archived_20260114.yaml
  - wikidata_mapping_rationale_archived_20260114.yaml
  - word_count_archived_20260114.yaml

- Introduced a new hook `usePersonSearch` for enhanced semantic search functionality in the frontend, supporting debounced queries and caching.
2026-01-14 22:57:09 +01:00

81 lines
3.5 KiB
YAML

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
- ./MappingType
# REMOVED: ../slots/wikidata_entity_id - migrated to has_or_had_identifier with WikiDataIdentifier (2026-01-14, Rule 53)
- ../slots/has_or_had_identifier
- ./WikiDataIdentifier
# REMOVED: ../slots/wikidata_entity_label - migrated to has_or_had_label with Label (2026-01-14, Rule 53)
- ../slots/has_or_had_label
- ./Label
# REMOVED: ../slots/wikidata_mapping_rationale - migrated to has_or_had_rationale with Rationale (2026-01-14, Rule 53)
- ../slots/has_or_had_rationale
- ./Rationale
- ../slots/has_or_had_type
classes:
WikidataAlignment:
class_uri: hc:WikidataAlignment
description: "Structured metadata for Wikidata entity alignment.\nReplaces fragmented annotations with a proper structured\
\ object.\n\n**Example**:\n```yaml\nwikidata_alignment:\n entity_id: Q27032435\n entity_label: \"academic archive\"\
\n mapping_type: exact\n mapping_rationale: \"AcademicArchive is semantically equivalent to Q27032435\"\n```\n"
slots:
# REMOVED: wikidata_entity_id - migrated to has_or_had_identifier with WikiDataIdentifier (2026-01-14, Rule 53)
- has_or_had_identifier
# REMOVED: wikidata_entity_label - migrated to has_or_had_label with Label (2026-01-14, Rule 53)
- has_or_had_label
- has_or_had_type
# REMOVED: wikidata_mapping_rationale - migrated to has_or_had_rationale with Rationale (2026-01-14, Rule 53)
- has_or_had_rationale
slot_usage:
has_or_had_identifier:
range: WikiDataIdentifier
description: |
The Wikidata entity identifier (Q-number) for this alignment.
MIGRATED from wikidata_entity_id slot (2026-01-14) per Rule 53.
Uses WikiDataIdentifier class for structured identifier with optional label and URL.
examples:
- value: |
qid: Q27032435
label: "academic archive"
description: Wikidata Q-number with optional label
has_or_had_label:
range: Label
description: |
Human-readable label for the Wikidata entity.
MIGRATED from wikidata_entity_label slot (2026-01-14) per Rule 53.
Uses Label class for structured label with language code.
examples:
- value: |
label_value: "academic archive"
language_code: "en"
description: English label for the Wikidata entity
has_or_had_rationale:
range: Rationale
description: |
Rationale for the mapping between local class and Wikidata entity.
MIGRATED from wikidata_mapping_rationale slot (2026-01-14) per Rule 53.
Uses Rationale class for structured rationale text.
examples:
- value: |
rationale_text: "AcademicArchive is semantically equivalent to Q27032435"
description: Mapping rationale
has_or_had_type:
range: MappingType
description: |
The type of semantic mapping (exact, close, broad, narrow, related).
Uses MappingType class hierarchy.
annotations:
specificity_score: 0.3
specificity_rationale: Universal utility for Wikidata alignment metadata