glam/schemas/20251121/linkml/modules/classes/WikiDataIdentifier.yaml
kempersc fc405445c6 Refactor and update schema definitions
- Removed obsolete slots: `has_or_had_custodian_observation`, `provider`, and `specificity_annotation`.
- Updated `has_or_had_score` slot to use `SpecificityScore` class and modified its description and examples.
- Added new slots: `end_seconds`, `end_time`, `has_archive_path`, `has_or_had_custodian_name`, `protocol_name`, and `protocol_version`.
- Introduced a script `check_annotation_types.py` to validate the presence and structure of `custodian_types` in YAML files.
- Added a script `update_specificity.py` to automate updates related to `SpecificityAnnotation` to `SpecificityScore`.
2026-02-01 19:55:38 +01:00

45 lines
1.7 KiB
YAML

id: https://nde.nl/ontology/hc/classes/WikiDataIdentifier
name: WikiDataIdentifier
title: WikiDataIdentifier
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
wikidata: http://www.wikidata.org/entity/
schema: http://schema.org/
dct: http://purl.org/dc/terms/
imports:
- linkml:types
default_range: string
classes:
WikiDataIdentifier:
description: 'A Wikidata entity identifier (Q-number) that uniquely identifies
an entity in the Wikidata knowledge base.
**DISTINCTION FROM WikiDataEntry**: - `WikiDataIdentifier` is for simple Q-number
storage (identifier only) - `WikiDataEntry` includes full entity data (label,
description, claims)
Use `WikiDataIdentifier` when: - Only storing the Q-number reference - Linking
to Wikidata without caching entity data
**FORMAT**: Q followed by digits (e.g., Q190804 for Rijksmuseum) **URL PATTERN**:
https://www.wikidata.org/wiki/Q{number}'
class_uri: dct:Identifier
close_mappings:
- schema:PropertyValue
- wikidata:Q43649390
annotations:
custodian_types: '["*"]'
custodian_types_rationale: Wikidata identifiers applicable to all custodian
types.
custodian_types_primary: '*'
specificity_score: 0.3
specificity_rationale: Low specificity - universal identifier type.
examples:
- value: "WikiDataIdentifier:\n qid: \"Q190804\"\n url: \"https://www.wikidata.org/wiki/Q190804\"\
\n label: \"Rijksmuseum\"\n"
description: Wikidata identifier for the Rijksmuseum.
- value: "WikiDataIdentifier:\n qid: \"Q1526131\"\n label: \"Biblioteca Nacional\
\ do Brasil\"\n"
description: Wikidata identifier for the National Library of Brazil.
slots: []