glam/schemas/20251121/linkml/modules/classes/WikidataAlignment.yaml
kempersc 174a420c08
All checks were successful
Deploy Frontend / build-and-deploy (push) Successful in 3m57s
refactor(schema): centralize 1515 inline slot definitions per Rule 48
- Remove inline slot definitions from 144 class files
- Create 7 new centralized slot files in modules/slots/:
  - custodian_type_broader.yaml
  - custodian_type_narrower.yaml
  - custodian_type_related.yaml
  - definition.yaml
  - finding_aid_access_restriction.yaml
  - finding_aid_description.yaml
  - finding_aid_temporal_coverage.yaml
- Add centralize_inline_slots.py automation script
- Update manifest with new timestamp

Rule 48: Class files must NOT define inline slots - all slots
must be imported from modules/slots/ directory.

Note: Pre-existing IdentifierFormat duplicate class definition
(in Standard.yaml and IdentifierFormat.yaml) not addressed in
this commit - requires separate schema refactor.
2026-01-11 22:02:14 +01:00

31 lines
1.2 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
- ../enums/WikidataMappingTypeEnum
- ../slots/wikidata_entity_id
- ../slots/wikidata_entity_label
- ../slots/wikidata_mapping_rationale
- ../slots/wikidata_mapping_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:
- 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