Major slot migrations following slot_fixes.yaml revisions: - TimeSpan: begin_of_the_begin, begin_of_the_end, end_of_the_begin, end_of_the_end - Quantity: has_or_had_measurement_unit with MeasureUnit class - Description: has_or_had_description with Description class - URL, WikiData, Timestamp, Location, Provenance pattern classes New slots for RiC-O compliance: - Temporal: has_or_had_time_interval, calendar_system - Transfer: is_or_was_transferred, has_or_had_policy - Location: starts/ends_or_started/ended_at_location - Provenance: has_or_had_provenance_path, is_or_was_webarchived_at Archive deprecated slots per Rule 53 workflow.
134 lines
4.1 KiB
YAML
134 lines
4.1 KiB
YAML
# WikiDataEntry class
|
|
# Reference to a Wikidata entity for alignments and equivalences
|
|
#
|
|
# Generation date: 2026-01-15
|
|
# Rule compliance: 0 (LinkML single source of truth), 38 (slot centralization), 53 (slot_fixes.yaml)
|
|
#
|
|
# This class supports 5 slot migrations per slot_fixes.yaml:
|
|
# - wikidata_mapping
|
|
# - wikidata_equivalent
|
|
# - wikidata_class
|
|
# - wikidata_alignment
|
|
# - wikidata
|
|
#
|
|
# NOTE: Similar to WikidataEntity but designed as migration target for slot_fixes.yaml
|
|
|
|
id: https://nde.nl/ontology/hc/class/WikiDataEntry
|
|
name: wikidata_entry_class
|
|
title: WikiDataEntry Class
|
|
|
|
prefixes:
|
|
linkml: https://w3id.org/linkml/
|
|
hc: https://nde.nl/ontology/hc/
|
|
wikibase: http://wikiba.se/ontology#
|
|
wd: http://www.wikidata.org/entity/
|
|
schema: http://schema.org/
|
|
skos: http://www.w3.org/2004/02/skos/core#
|
|
prov: http://www.w3.org/ns/prov#
|
|
|
|
default_prefix: hc
|
|
|
|
imports:
|
|
- linkml:types
|
|
- ../metadata
|
|
- ../slots/wikidata_qid
|
|
- ../slots/wikidata_label
|
|
- ../slots/wikidata_description
|
|
- ../slots/language
|
|
- ../slots/specificity_annotation
|
|
- ../slots/template_specificity
|
|
- ./SpecificityAnnotation
|
|
- ./TemplateSpecificityScores
|
|
|
|
classes:
|
|
WikiDataEntry:
|
|
class_uri: wikibase:Item
|
|
description: |
|
|
Reference to a Wikidata entity (Q-item) for alignments and equivalences.
|
|
|
|
**Purpose**:
|
|
WikiDataEntry provides a reusable class for representing Wikidata entity
|
|
references with Q-number identifier, label, and description.
|
|
Used for ontology alignments, equivalence mappings, and classification.
|
|
|
|
**Ontological Alignment**:
|
|
- **Primary**: `wikibase:Item` - Wikibase item class
|
|
- **Close**: `schema:Thing` - general web entity
|
|
- **Related**: `skos:Concept` - controlled vocabulary concept
|
|
|
|
**Use Cases**:
|
|
- Ontology alignment: `wikidata_alignment` → relates schema class to Wikidata Q
|
|
- Equivalence: `wikidata_equivalent` → marks semantic equivalence
|
|
- Classification: `wikidata_class` → instance_of relationship
|
|
- General mapping: `wikidata_mapping` → related concept
|
|
|
|
**Replaces** (per slot_fixes.yaml):
|
|
- `wikidata_mapping` (string Q-number)
|
|
- `wikidata_equivalent` (string Q-number)
|
|
- `wikidata_class` (string Q-number)
|
|
- `wikidata_alignment` (string Q-number)
|
|
- `wikidata` (string Q-number)
|
|
|
|
exact_mappings:
|
|
- wikibase:Item
|
|
|
|
close_mappings:
|
|
- schema:Thing
|
|
|
|
related_mappings:
|
|
- skos:Concept
|
|
- prov:Entity
|
|
|
|
slots:
|
|
- wikidata_qid
|
|
- wikidata_label
|
|
- wikidata_description
|
|
- language
|
|
- specificity_annotation
|
|
- template_specificity
|
|
|
|
slot_usage:
|
|
wikidata_qid:
|
|
description: |
|
|
The Wikidata Q-number identifier (e.g., Q12345).
|
|
range: string
|
|
required: true
|
|
pattern: "^Q[0-9]+$"
|
|
wikidata_label:
|
|
description: |
|
|
Human-readable label from Wikidata.
|
|
range: string
|
|
required: false
|
|
wikidata_description:
|
|
description: |
|
|
Description from Wikidata.
|
|
range: string
|
|
required: false
|
|
language:
|
|
description: |
|
|
Language code for the label and description.
|
|
Default: "en"
|
|
range: string
|
|
required: false
|
|
pattern: "^[a-z]{2}(-[A-Z]{2})?$"
|
|
|
|
annotations:
|
|
custodian_types: '["*"]'
|
|
custodian_types_rationale: Generic Wikidata reference class applicable to all types.
|
|
custodian_types_primary: null
|
|
specificity_score: 0.2
|
|
specificity_rationale: Broadly applicable generic class for Wikidata links.
|
|
|
|
examples:
|
|
- value: |
|
|
wikidata_qid: "Q33506"
|
|
wikidata_label: "museum"
|
|
wikidata_description: "institution that holds and displays collections"
|
|
language: en
|
|
description: "Wikidata reference for 'museum' concept"
|
|
- value: |
|
|
wikidata_qid: "Q190804"
|
|
wikidata_label: "Rijksmuseum"
|
|
wikidata_description: "Dutch national museum in Amsterdam"
|
|
language: en
|
|
description: "Wikidata reference for specific institution"
|