All checks were successful
Deploy Frontend / build-and-deploy (push) Successful in 2m4s
Session 2026-01-19: Completed remaining migrations per Rules 53/56/60. Major migrations: 1. claim_type → has_or_had_type + ClaimType/ClaimTypes (60+ concrete types in 11 categories) 2. circumstances_of_death → is_deceased + DeceasedStatus + CauseOfDeath 3. claims_count → has_or_had_quantity + Quantity (with based_on_claim for provenance) 4. classification_status → has_or_had_type + ClassificationStatusType Created files: - ClaimType.yaml, ClaimTypes.yaml (abstract base + 60+ concrete subclasses) - DeceasedStatus.yaml, CauseOfDeath.yaml, CauseOfDeathTypeEnum.yaml - ClassificationStatus.yaml, ClassificationStatusType.yaml, ClassificationStatusTypes.yaml - CITESAppendix.yaml, City.yaml, CertaintyLevel.yaml - is_deceased.yaml, is_or_was_caused_by.yaml, based_on_claim.yaml Archived slots: - claim_type, circumstances_of_death, claims_count, classification_status Added Rule 60 to AGENTS.md: No Migration Deferral - agents MUST execute all migrations. All 527 slot_fixes.yaml entries now complete (100%).
351 lines
13 KiB
YAML
351 lines
13 KiB
YAML
# WikidataEnrichment - Full Wikidata enrichment data
|
|
# Extracted from custodian_source.yaml per Rule 38 (modular schema files)
|
|
# Extraction date: 2026-01-08
|
|
|
|
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
|
|
|
|
|
|
- ./Coordinates
|
|
- ./MultilingualAliases
|
|
- ./MultilingualDescriptions
|
|
- ./MultilingualLabels
|
|
- ./WikidataApiMetadata
|
|
- ./WikidataArchitecture
|
|
- ./WikidataClaims
|
|
- ./WikidataClassification
|
|
- ./WikidataCollectionInfo
|
|
- ./WikidataContact
|
|
- ./WikidataCoordinates
|
|
- ./WikidataEntity
|
|
- ./WikidataIdentifiers
|
|
- ./WikidataLocation
|
|
- ./WikidataMedia
|
|
- ./WikidataOrganization
|
|
- ./WikidataRecognition
|
|
- ./WikidataResolvedEntities
|
|
- ./WikidataSitelinks
|
|
- ./WikidataSocialMedia
|
|
- ./WikidataTemporal
|
|
- ./WikidataTimeValue
|
|
- ./WikidataWeb
|
|
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.
|
|
|
|
Ontology mapping rationale:
|
|
- class_uri is prov:Entity because this represents enrichment DATA with provenance,
|
|
not the heritage institution itself (which is modeled by Custodian class)
|
|
- close_mappings includes prov:PrimarySource because Wikidata functions as a
|
|
primary/authoritative source for linked open data
|
|
- related_mappings includes prov:Derivation because the enrichment is derived from
|
|
Wikidata through API queries
|
|
class_uri: prov:Entity
|
|
close_mappings:
|
|
- prov:PrimarySource
|
|
related_mappings:
|
|
- prov:Derivation
|
|
- wd:Q2013
|
|
attributes:
|
|
wikidata_entity_id:
|
|
range: string
|
|
description: Wikidata Q-number
|
|
api_metadata:
|
|
range: WikidataApiMetadata
|
|
wikidata_labels:
|
|
range: MultilingualLabels
|
|
description: Labels by language code (dict of language -> string)
|
|
inlined: true
|
|
wikidata_label_en:
|
|
range: string
|
|
wikidata_label_nl:
|
|
range: string
|
|
wikidata_label_ja:
|
|
range: string
|
|
wikidata_label_de:
|
|
range: string
|
|
wikidata_label_fr:
|
|
range: string
|
|
wikidata_label_es:
|
|
range: string
|
|
wikidata_label_cs:
|
|
range: string
|
|
description: Label in Czech language
|
|
wikidata_label_pt:
|
|
range: string
|
|
description: Label in Portuguese language
|
|
wikidata_label_it:
|
|
range: string
|
|
description: Label in Italian language
|
|
wikidata_label_ru:
|
|
range: string
|
|
description: Label in Russian language
|
|
wikidata_label_zh:
|
|
range: string
|
|
description: Label in Chinese language
|
|
wikidata_label_ar:
|
|
range: string
|
|
description: Label in Arabic language
|
|
wikidata_label_ko:
|
|
range: string
|
|
description: Label in Korean language
|
|
wikidata_label_pl:
|
|
range: string
|
|
description: Label in Polish language
|
|
wikidata_label_uk:
|
|
range: string
|
|
description: Label in Ukrainian language
|
|
wikidata_label_bg:
|
|
range: string
|
|
description: Label in Bulgarian language
|
|
wikidata_descriptions:
|
|
range: MultilingualDescriptions
|
|
description: Descriptions by language code (dict of language -> string)
|
|
inlined: true
|
|
wikidata_description_en:
|
|
range: string
|
|
wikidata_aliases:
|
|
range: MultilingualAliases
|
|
description: Aliases by language code (dict of language -> list of strings)
|
|
inlined: true
|
|
wikidata_sitelinks:
|
|
range: WikidataSitelinks
|
|
description: Wikipedia sitelinks (dict of wiki name -> article title)
|
|
inlined: true
|
|
wikidata_temporal:
|
|
range: WikidataTemporal
|
|
wikidata_inception:
|
|
any_of:
|
|
- range: string
|
|
- range: WikidataTimeValue
|
|
description: Inception date (P571) - can be string or structured time value
|
|
wikidata_classification:
|
|
range: WikidataClassification
|
|
wikidata_instance_of:
|
|
range: WikidataEntity
|
|
multivalued: true
|
|
inlined_as_list: true
|
|
wikidata_field_of_work:
|
|
range: WikidataEntity
|
|
multivalued: true
|
|
inlined_as_list: true
|
|
wikidata_location:
|
|
range: WikidataLocation
|
|
wikidata_country:
|
|
range: Any
|
|
any_of:
|
|
- range: string
|
|
- range: WikidataEntity
|
|
description: Country from Wikidata (can be Q-id string or structured entity)
|
|
wikidata_located_in:
|
|
range: WikidataEntity
|
|
wikidata_coordinates:
|
|
range: WikidataCoordinates
|
|
wikidata_organization:
|
|
range: WikidataOrganization
|
|
wikidata_web:
|
|
range: WikidataWeb
|
|
wikidata_official_website:
|
|
range: Any
|
|
any_of:
|
|
- range: uri
|
|
- range: uri
|
|
multivalued: true
|
|
description: Official website URL(s) - can be single string or list
|
|
wikidata_social_media:
|
|
range: WikidataSocialMedia
|
|
wikidata_media:
|
|
range: WikidataMedia
|
|
wikidata_image:
|
|
range: string
|
|
wikidata_logo:
|
|
range: string
|
|
wikidata_contact:
|
|
range: WikidataContact
|
|
description: Contact information from Wikidata
|
|
wikidata_recognition:
|
|
range: WikidataRecognition
|
|
description: Awards and recognition from Wikidata
|
|
wikidata_opening_date:
|
|
range: string
|
|
description: Opening date (P1619)
|
|
wikidata_dissolution:
|
|
range: string
|
|
description: Dissolution date (P576)
|
|
wikidata_collection:
|
|
range: Any
|
|
description: Collection items (P195) - can be array of WikidataEntity objects, single WikidataCollectionInfo object, or other structures
|
|
inlined: true
|
|
collection_items_count:
|
|
any_of:
|
|
- range: string
|
|
- range: integer
|
|
- range: string
|
|
multivalued: true
|
|
description: Number of collection items (can be string, integer, or array)
|
|
wikidata_architecture:
|
|
range: WikidataArchitecture
|
|
description: Architecture information (P84, P149)
|
|
search_query:
|
|
range: string
|
|
description: Query used to find the Wikidata entity
|
|
status:
|
|
range: string
|
|
description: Enrichment status
|
|
fetch_timestamp:
|
|
range: datetime
|
|
description: When Wikidata was fetched (alternate location)
|
|
wikidata_identifiers:
|
|
range: WikidataIdentifiers
|
|
description: External identifiers from Wikidata (ISNI, VIAF, GND, etc.)
|
|
wikidata_id:
|
|
range: string
|
|
description: Wikidata Q-number (alias for wikidata_entity_id)
|
|
wikidata_label:
|
|
range: string
|
|
description: Label in primary language (simplified format)
|
|
wikidata_description:
|
|
range: string
|
|
description: Description in primary language (simplified format)
|
|
coordinates:
|
|
range: Coordinates
|
|
description: Coordinates (simplified format)
|
|
located_in:
|
|
any_of:
|
|
- range: string
|
|
- range: WikidataEntity
|
|
description: Location (simplified format)
|
|
official_website:
|
|
range: uri
|
|
description: Official website (simplified format)
|
|
enrichment_timestamp:
|
|
range: datetime
|
|
description: When enrichment was performed (simplified format)
|
|
wikidata_headquarters:
|
|
range: WikidataEntity
|
|
description: Headquarters location (P159)
|
|
note:
|
|
range: string
|
|
description: Additional notes about Wikidata enrichment (e.g., entity not found
|
|
reason)
|
|
search_terms_tried:
|
|
range: string
|
|
multivalued: true
|
|
inlined_as_list: true
|
|
description: Search terms attempted when looking for Wikidata entity
|
|
wikidata_description_nl:
|
|
range: string
|
|
description: Description in Dutch language
|
|
wikidata_claims:
|
|
range: WikidataClaims
|
|
description: Structured Wikidata claims with property metadata
|
|
inlined: true
|
|
_resolved_entities:
|
|
range: WikidataResolvedEntities
|
|
description: Resolved Wikidata property and entity metadata cache
|
|
inlined: true
|
|
_provenance:
|
|
range: Any
|
|
description: >-
|
|
Provenance metadata for the Wikidata enrichment section, including content hash,
|
|
PROV-O triples (wasGeneratedBy, wasDerivedFrom), and verification status.
|
|
Uses flexible Any type to accommodate varying provenance structures.
|
|
inlined: true
|
|
enrichment_date:
|
|
range: string
|
|
description: When Wikidata enrichment was performed (ISO datetime string)
|
|
source:
|
|
range: string
|
|
description: Source of enrichment data (e.g., 'Wikidata SPARQL import')
|
|
wikidata_url:
|
|
range: uri
|
|
description: Full URL to Wikidata entity page
|
|
label:
|
|
range: string
|
|
description: Primary label (simplified alias for wikidata_label)
|
|
description:
|
|
range: string
|
|
description: Primary description (simplified alias for wikidata_description)
|
|
enrichment_method:
|
|
range: string
|
|
description: Method used for enrichment (e.g., 'sparql_query', 'api_fetch')
|
|
enrichment_note:
|
|
range: string
|
|
description: Additional notes about the enrichment process or results (e.g., 'No Wikidata entry found')
|
|
distance_km:
|
|
range: float
|
|
description: Distance in kilometers from expected location (for location matching)
|
|
enrichment_version:
|
|
range: string
|
|
description: Version of the enrichment algorithm/script used
|
|
instance_of_label:
|
|
range: string
|
|
description: Human-readable label for the Wikidata instance_of (P31) value
|
|
isil_from_wikidata:
|
|
range: string
|
|
description: ISIL code extracted from Wikidata (P791)
|
|
match_score:
|
|
range: float
|
|
description: Score indicating confidence of Wikidata entity match
|
|
matched_by:
|
|
range: string
|
|
description: Method/field used for matching (e.g., 'name_similarity', 'isil')
|
|
matched_name:
|
|
range: string
|
|
description: Name that was matched in Wikidata
|
|
instance_of:
|
|
range: string
|
|
multivalued: true
|
|
inlined_as_list: true
|
|
description: Instance of (P31) values - list of Q-numbers
|
|
matched_sigla:
|
|
range: string
|
|
description: Matched sigla/library code from Wikidata (e.g., for Czech libraries)
|
|
notes:
|
|
range: string
|
|
description: Notes about Wikidata enrichment (e.g., 'No Wikidata entry found for this institution')
|
|
identifiers:
|
|
range: WikidataIdentifiers
|
|
description: External identifiers (simplified format - dict of scheme name to value)
|
|
inlined: true
|
|
inception:
|
|
range: string
|
|
description: Inception/founding date from Wikidata (P571) as ISO date string
|
|
websites:
|
|
range: uri
|
|
multivalued: true
|
|
inlined_as_list: true
|
|
description: Official websites from Wikidata (P856) - list of URIs
|
|
related_entities:
|
|
range: Any
|
|
description: Related Wikidata entities (people, organizations, places)
|
|
inlined: true
|
|
viaf_from_wikidata:
|
|
range: Any
|
|
description: VIAF identifier data obtained via Wikidata enrichment
|
|
inlined: true
|
|
image:
|
|
range: uri
|
|
description: Image URL from Wikidata (P18 property)
|
|
parent_organization:
|
|
range: Any
|
|
description: Parent organization from Wikidata (P749 property) - can be string, WikidataEntity, or complex structure with identifiers
|
|
inlined: true
|