glam/data/custodian/CH-GR-MAR-L-PSM.yaml
kempersc 1e01639c56 fix(data): resolve XXX placeholder city codes to actual GeoNames settlements
Rename 144 custodian files from XXX placeholders to resolved city codes:
- BR (65): ASA, RBR, MAN, FAZ, MAC, VIT, FOR, GUA, BRE, GOI, SLU, BHO, XAN, CGR, CUI, etc.
- CH (24): ZUR, BER, GEN, BAL, LUC, etc.
- MX (23): MEX, GDL, MTY, PUE, etc.
- CL (9): SCL, VAL, etc.
- CZ (5): PRG, BRN, MSV, etc.
- KR (4): SEL, etc.
- GB (4): LON, etc.
- FR (3): PAR, etc.
- IN (2): DEL, etc.
- PH, JP, EE (1 each)

City codes derived from GeoNames reverse geocoding using institution coordinates.
GHCID format: {COUNTRY}-{REGION}-{CITY}-{TYPE}-{ABBREV}
2025-12-07 17:47:09 +01:00

128 lines
4.3 KiB
YAML

original_entry:
name: Pfarrbibliothek St. Michael
institution_type: LIBRARY
source: CH-Annotator (switzerland_isil_ch_annotator.yaml)
identifiers:
- &id001
identifier_scheme: ISIL
identifier_value: CH-002197-0
identifier_url: https://www.isil.nb.admin.ch/en/?isil=CH-002197-0
locations:
- region: ZG
country: CH
processing_timestamp: '2025-12-06T23:39:12.366152+00:00'
ghcid:
ghcid_current: CH-GR-MAR-L-PSM
ghcid_original: CH-ZG-XXX-L-PSM
ghcid_uuid: 8792b2c4-a37d-57d7-8080-e7f7ee2745fe
ghcid_uuid_sha256: 07b050cd-642a-8d73-3694-82a7a5a95f9a
ghcid_numeric: 554031597245594995
record_id: 1ef9c12f-4bbb-465d-a014-f509ff4587e3
generation_timestamp: '2025-12-06T23:39:12.366152+00:00'
location_resolution:
method: GOOGLE_PLACES_GEONAMES
country_code: CH
region_code: GR
region_name: Grisons
city_code: MAR
city_name: Martina
geonames_id: 2659747
feature_code: PPL
google_place_id: ChIJOyFOWQGkdkcRP5Oms-1cXMM
latitude: 47.8577127
longitude: 13.349239299999999
resolution_date: '2025-12-07T16:39:48.647195+00:00'
ghcid_history:
- ghcid: CH-ZG-XXX-L-PSM
ghcid_numeric: 554031597245594995
valid_from: '2025-12-06T23:39:12.366152+00:00'
reason: Initial GHCID from CH-Annotator (switzerland_isil_ch_annotator.yaml)
valid_to: '2025-12-07T16:39:48.647195+00:00'
- ghcid: CH-GR-MAR-L-PSM
ghcid_numeric: 554031597245594995
valid_from: '2025-12-07T16:39:48.647195+00:00'
reason: 'Location resolved via Google Places + GeoNames: Martina (GR)'
custodian_name:
claim_type: custodian_name
claim_value: Pfarrbibliothek St. Michael
source_type: ch_annotator
identifiers:
- identifier_scheme: GHCID
identifier_value: CH-GR-MAR-L-PSM
- identifier_scheme: GHCID_UUID
identifier_value: 8792b2c4-a37d-57d7-8080-e7f7ee2745fe
- identifier_scheme: GHCID_UUID_SHA256
identifier_value: 07b050cd-642a-8d73-3694-82a7a5a95f9a
- identifier_scheme: GHCID_NUMERIC
identifier_value: '554031597245594995'
- identifier_scheme: RECORD_ID
identifier_value: 1ef9c12f-4bbb-465d-a014-f509ff4587e3
- *id001
provenance:
data_source: CSV_REGISTRY
data_tier: TIER_1_AUTHORITATIVE
extraction_date: '2025-11-19T09:22:31.452809'
extraction_method: 'Created from CH-Annotator file: switzerland_isil_ch_annotator.yaml'
confidence_score: 0.95
ch_annotator:
convention_id: ch_annotator-v1_7_0
convention_version: 1.7.0
entity_classification:
hypernym: GRP
hypernym_label: GROUP
subtype: GRP.HER.LIB
subtype_label: LIBRARY
ontology_class: schema:Library
alternative_classes:
- org:FormalOrganization
- rov:RegisteredOrganization
- glam:HeritageCustodian
extraction_provenance:
namespace: glam
path: /files/switzerland_isil.yaml
timestamp: '2025-11-19T09:22:31.452809'
agent: claude-conversation
context_convention: ch_annotator-v1_7_0
annotation_provenance:
annotation_agent: opencode-claude-sonnet-4
annotation_date: '2025-12-06T21:13:14.508879+00:00'
annotation_method: retroactive CH-Annotator application via batch script
source_file: switzerland_isil.yaml
annotation_metadata:
confidence_score: 0.95
verified: false
verification_date: null
verified_by: null
entity_claims:
- claim_type: full_name
claim_value: Pfarrbibliothek St. Michael
property_uri: skos:prefLabel
provenance:
namespace: glam
path: /files/switzerland_isil.yaml
timestamp: '2025-11-19T09:22:31.452809'
agent: claude-conversation
context_convention: ch_annotator-v1_7_0
confidence: 0.95
- claim_type: institution_type
claim_value: LIBRARY
property_uri: rdf:type
provenance:
namespace: glam
path: /files/switzerland_isil.yaml
timestamp: '2025-11-19T09:22:31.452809'
agent: claude-conversation
context_convention: ch_annotator-v1_7_0
confidence: 0.95
integration_note:
created_from: switzerland_isil_ch_annotator.yaml
creation_date: '2025-12-06T23:39:12.366152+00:00'
creation_method: create_custodian_from_ch_annotator.py
google_maps_enrichment:
place_id: ChIJOyFOWQGkdkcRP5Oms-1cXMM
formatted_address: Schlossweg 1, 5310 Mondsee, Austria
website: http://www.buecherei-mondsee.at/
latitude: 47.8577127
longitude: 13.349239299999999
enriched_at: '2025-12-07T16:39:48.647195+00:00'
source: Google Places API (New)