glam/schemas/20251121/linkml/modules/slots/wikidata_id.yaml
kempersc 73b3b21017
All checks were successful
Deploy Frontend / build-and-deploy (push) Successful in 3m53s
docs: add Rule 52 prohibiting duplicate ontology mappings
- Create .opencode/rules/no-duplicate-ontology-mappings.md with detection script
- Add Rule 52 to AGENTS.md (after Rule 51)
- Fix 29 duplicate mappings: same URI in multiple mapping categories
  - 26 slot files: remove duplicates keeping most precise mapping
  - 3 class files: ExhibitionSpace, Custodian, DigitalPlatform
- Mapping precedence: exact > close > narrow/broad > related

Each ontology URI must appear in only ONE mapping category per schema
element, following SKOS semantics where mapping properties are mutually
exclusive.
2026-01-13 15:57:26 +01:00

42 lines
938 B
YAML

id: https://nde.nl/ontology/hc/slot/wikidata_id
name: wikidata_id_slot
title: Wikidata ID Slot
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
skos: http://www.w3.org/2004/02/skos/core#
wd: http://www.wikidata.org/entity/
default_prefix: hc
imports:
- linkml:types
slots:
wikidata_id:
description: 'Wikidata entity ID (Q-number) for semantic linking.
Links this class/instance to the corresponding Wikidata entity,
enabling integration with the broader knowledge graph.
Examples:
- Q856638 (finding aid)
- Q178706 (institution)
- Q7397 (software)
'
range: string
pattern: ^Q[0-9]+$
slot_uri: skos:exactMatch
examples:
- value: Q856638
description: Finding aid (Q856638)
- value: Q178706
description: Institution (Q178706)
related_mappings:
- schema:sameAs
narrow_mappings:
- dcterms:identifier