glam/schemas/20251121/linkml/modules/classes/WikidataEnrichment.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

41 lines
1.6 KiB
YAML

id: https://nde.nl/ontology/hc/classes/WikidataEnrichment
name: WikidataEnrichment
title: WikidataEnrichment
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
prov: http://www.w3.org/ns/prov#
xsd: http://www.w3.org/2001/XMLSchema#
wd: http://www.wikidata.org/entity/
imports:
- linkml:types
default_range: string
classes:
WikidataEnrichment:
description: "Full Wikidata enrichment data extracted from Wikidata SPARQL/API\
\ for a heritage custodian. This class represents derived data (prov:Entity)\
\ where Wikidata serves as the primary source. The enrichment captures labels,\
\ descriptions, identifiers, coordinates, temporal data, classification, and\
\ other structured claims from the Wikidata knowledge graph.\nOntology mapping\
\ rationale: - class_uri is prov:Entity because this represents enrichment DATA\
\ with provenance,\n not the heritage institution itself (which is modeled\
\ by Custodian class)\n- close_mappings includes prov:PrimarySource because\
\ Wikidata functions as a \n primary/authoritative source for linked open data\n\
- related_mappings includes prov:Derivation because the enrichment is derived\
\ from\n Wikidata through API queries"
class_uri: prov:Entity
close_mappings:
- prov:PrimarySource
related_mappings:
- prov:Derivation
- wd:Q2013
annotations:
specificity_score: 0.1
specificity_rationale: Generic utility class/slot created during migration
custodian_types: '[''*'']'
slots:
- coordinates
- note
- source
- instance_of