glam/schemas/20251121/linkml/modules/classes/WikiDataEntry.yaml
kempersc ca4a54181e Refactor schema files to improve clarity and maintainability
- Updated WorldCatIdentifier.yaml to remove unnecessary description and ensure consistent formatting.
- Enhanced WorldHeritageSite.yaml by breaking long description into multiple lines for better readability and removed unused attributes.
- Simplified WritingSystem.yaml by removing redundant attributes and ensuring consistent formatting.
- Cleaned up XPathScore.yaml by removing unnecessary attributes and ensuring consistent formatting.
- Improved YoutubeChannel.yaml by breaking long description into multiple lines for better readability.
- Enhanced YoutubeEnrichment.yaml by breaking long description into multiple lines for better readability.
- Updated YoutubeVideo.yaml to break long description into multiple lines and removed legacy field name.
- Refined has_or_had_affiliation.yaml by removing unnecessary comments and ensuring clarity.
- Cleaned up is_or_was_retrieved_at.yaml by removing unnecessary comments and ensuring clarity.
- Added rules for generic slots and avoiding rough edits in schema files to maintain structural integrity.
- Introduced changes_or_changed_through.yaml to define a new slot for linking entities to change events.
2026-01-31 00:46:23 +01:00

109 lines
No EOL
3.8 KiB
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/has_or_had_description # was: wikidata_description
- ../slots/has_or_had_identifier # was: wikidata_qid
- ../slots/has_or_had_label # was: wikidata_label
- ../slots/has_or_had_score # was: template_specificity
- ../slots/language
- ../slots/specificity_annotation
- ./SpecificityAnnotation
- ./TemplateSpecificityScore # was: TemplateSpecificityScores
- ./TemplateSpecificityType
- ./TemplateSpecificityTypes
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:
- has_or_had_identifier # was: wikidata_qid - migrated 2026-01-16 per Rule 53
- has_or_had_label # was: wikidata_label - migrated 2026-01-16 per Rule 53
- has_or_had_description # was: wikidata_description - migrated 2026-01-16 per Rule 53
- language
- specificity_annotation
- has_or_had_score # was: template_specificity - migrated per Rule 53 (2026-01-17)
slot_usage:
has_or_had_identifier: # was: wikidata_qid - migrated 2026-01-16 per Rule 53
range: string
required: true
pattern: "^Q[0-9]+$"
has_or_had_label: # was: wikidata_label - migrated 2026-01-16 per Rule 53
range: string
required: false
has_or_had_description: # was: wikidata_description - migrated 2026-01-16 per Rule 53
range: string
required: false
language:
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: |
has_or_had_identifier: "Q33506"
has_or_had_label: "museum"
has_or_had_description: "institution that holds and displays collections"
language: en
- value: |
has_or_had_identifier: "Q190804"
has_or_had_label: "Rijksmuseum"
has_or_had_description: "Dutch national museum in Amsterdam"
language: en