glam/data/custodian/JP-HO-RIS-M-RHM.yaml
kempersc 6e2c36413e geocode: add coordinates to 540 Japanese custodian files using postal codes
- Download GeoNames JP postal code database (142K entries)
- Create geocode_japan_postal.py with postal code lookup
- Handle unicode hyphen variants in postal codes
- Add manual mappings for remote Tokyo islands (Hachijojima, Miyakejima)
- Implement prefix fallback for company postal codes
- Total JP files geocoded: 540 (99.81% coverage)

This brings overall geocoding coverage from 97.84% to 99.81%
2025-12-10 00:27:33 +01:00

141 lines
4.6 KiB
YAML

original_entry:
name: RISHIRI HISTORICAL MUSEUM
institution_type: MUSEUM
source: CH-Annotator (japan_complete_ch_annotator.yaml)
identifiers:
- &id001
identifier_scheme: ISIL
identifier_value: JP-2000215
locations:
- country: JP
city: Rishiri Gun Rishirifuji Cho
region: Hokkaido
postal_code: 097-0211
street_address: ONIWAKI, Rishiri Gun Rishirifuji Cho, Hokkaido, 097-0211
latitude: 45.1611
longitude: 141.2893
processing_timestamp: '2025-12-06T23:38:30.234239+00:00'
ghcid:
ghcid_current: JP-HO-RIS-M-RHM
ghcid_original: JP-HO-RIS-M-RHM
ghcid_uuid: 88957bcb-8233-50a8-84d8-3436f5afb624
ghcid_uuid_sha256: 2acde37d-3498-80d0-531b-7b3f2c540ca4
ghcid_numeric: 3084371446711488720
record_id: b5799a04-3847-4c53-aa27-b0cf41eaf631
generation_timestamp: '2025-12-06T23:38:30.234239+00:00'
location_resolution:
country_code: JP
region_code: HO
city_code: RIS
method: CH_ANNOTATOR_SOURCE
ghcid_history:
- ghcid: JP-HO-RIS-M-RHM
ghcid_numeric: 3084371446711488720
valid_from: '2025-12-06T23:38:30.234239+00:00'
reason: Initial GHCID from CH-Annotator (japan_complete_ch_annotator.yaml)
custodian_name:
claim_type: custodian_name
claim_value: RISHIRI HISTORICAL MUSEUM
source_type: ch_annotator
identifiers:
- identifier_scheme: GHCID
identifier_value: JP-HO-RIS-M-RHM
- identifier_scheme: GHCID_UUID
identifier_value: 88957bcb-8233-50a8-84d8-3436f5afb624
- identifier_scheme: GHCID_UUID_SHA256
identifier_value: 2acde37d-3498-80d0-531b-7b3f2c540ca4
- identifier_scheme: GHCID_NUMERIC
identifier_value: '3084371446711488720'
- identifier_scheme: RECORD_ID
identifier_value: b5799a04-3847-4c53-aa27-b0cf41eaf631
- *id001
provenance:
data_source: CSV_REGISTRY
data_tier: TIER_1_AUTHORITATIVE
extraction_date: '2025-11-18T14:46:40.539196+00:00'
extraction_method: 'Created from CH-Annotator file: japan_complete_ch_annotator.yaml'
confidence_score: 0.98
notes:
- Canonical location added via normalize_custodian_files.py on 2025-12-08T23:13:44Z
- Canonical location added via normalize_custodian_files.py on 2025-12-09T06:54:51Z
ch_annotator:
convention_id: ch_annotator-v1_7_0
convention_version: 1.7.0
entity_classification:
hypernym: GRP
hypernym_label: GROUP
subtype: GRP.HER.MUS
subtype_label: MUSEUM
ontology_class: schema:Museum
alternative_classes:
- org:FormalOrganization
- rov:RegisteredOrganization
- glam:HeritageCustodian
extraction_provenance:
namespace: glam
path: /files/japan_complete.yaml
timestamp: '2025-11-18T14:46:40.539196+00:00'
agent: claude-conversation
context_convention: ch_annotator-v1_7_0
annotation_provenance:
annotation_agent: opencode-claude-sonnet-4
annotation_date: '2025-12-06T21:13:31.304940+00:00'
annotation_method: retroactive CH-Annotator application via batch script
source_file: japan_complete.yaml
annotation_metadata:
confidence_score: 0.98
verified: false
verification_date: null
verified_by: null
entity_claims:
- claim_type: full_name
claim_value: RISHIRI HISTORICAL MUSEUM
property_uri: skos:prefLabel
provenance:
namespace: glam
path: /files/japan_complete.yaml
timestamp: '2025-11-18T14:46:40.539196+00:00'
agent: claude-conversation
context_convention: ch_annotator-v1_7_0
confidence: 0.98
- claim_type: institution_type
claim_value: MUSEUM
property_uri: rdf:type
provenance:
namespace: glam
path: /files/japan_complete.yaml
timestamp: '2025-11-18T14:46:40.539196+00:00'
agent: claude-conversation
context_convention: ch_annotator-v1_7_0
confidence: 0.95
- claim_type: located_in_city
claim_value: Rishiri Gun Rishirifuji Cho
property_uri: schema:addressLocality
provenance:
namespace: glam
path: /files/japan_complete.yaml
timestamp: '2025-11-18T14:46:40.539196+00:00'
agent: claude-conversation
context_convention: ch_annotator-v1_7_0
confidence: 0.9
integration_note:
created_from: japan_complete_ch_annotator.yaml
creation_date: '2025-12-06T23:38:30.234239+00:00'
creation_method: create_custodian_from_ch_annotator.py
location:
city: Rishiri Gun Rishirifuji Cho
region: Hokkaido
region_code: HO
country: JP
postal_code: 097-0211
street_address: ONIWAKI, Rishiri Gun Rishirifuji Cho, Hokkaido, 097-0211
normalization_timestamp: '2025-12-09T13:35:08.768585+00:00'
latitude: 45.1611
longitude: 141.2893
geocoding:
method: POSTAL_CODE_LOOKUP
source: GeoNames JP postal codes
postal_code: 097-0211
resolved_place: Oniwaki
resolved_city: 'Rishiri Gun '
timestamp: '2025-12-09T23:13:22.829313+00:00'