- Improved city name normalization to handle: - St. Gallen / St.Gallen -> Sankt Gallen - Canton suffixes (Buchs SG, Brugg AG) - Hyphenated districts (Bernex - Genève) - Postal codes with slashes (Ecublens/VD) - German prepositions (Hausen b. Brugg) - Created scripts/geocode_from_city_name.py for unified geocoding
146 lines
5.1 KiB
YAML
146 lines
5.1 KiB
YAML
original_entry:
|
|
name: Stadtbibliothek St. Gallen
|
|
institution_type: LIBRARY
|
|
source: CH-Annotator (switzerland_isil_ch_annotator.yaml)
|
|
identifiers:
|
|
- &id001
|
|
identifier_scheme: ISIL
|
|
identifier_value: CH-001806-X
|
|
identifier_url: https://www.isil.nb.admin.ch/en/?isil=CH-001806-X
|
|
- &id002
|
|
identifier_scheme: Website
|
|
identifier_value: https://www.bibliothek.stadt.sg.chh/
|
|
identifier_url: https://www.bibliothek.stadt.sg.chh/
|
|
locations:
|
|
- region: SG
|
|
country: CH
|
|
city: St. Gallen
|
|
postal_code: '9000'
|
|
street_address: Katharinengasse 11
|
|
processing_timestamp: '2025-12-06T23:39:13.036812+00:00'
|
|
ghcid:
|
|
ghcid_current: CH-SG-SG-L-SSG
|
|
ghcid_original: CH-SG-XXX-L-SSG
|
|
ghcid_uuid: 232d616f-0e0a-5754-8b99-be49418496d7
|
|
ghcid_uuid_sha256: 657c6af2-54a4-896f-8b8d-9124d5f96d2c
|
|
ghcid_numeric: 7312837483977517423
|
|
record_id: 52112d92-3582-4591-9c58-ff8482e7262e
|
|
generation_timestamp: '2025-12-06T23:39:13.036812+00:00'
|
|
location_resolution:
|
|
method: SWISS_ISIL_ENRICHMENT
|
|
city_name: St. Gallen
|
|
city_code: SG
|
|
region_code: SG
|
|
country_code: CH
|
|
enrichment_date: '2025-12-07T01:50:43.817508+00:00'
|
|
source_url: https://www.isil.nb.admin.ch/en/institutions/stadtbibliothek-st-gallen-ch-001806-x/?page=80
|
|
ghcid_history:
|
|
- ghcid: CH-SG-SG-L-SSG
|
|
ghcid_numeric: 7312837483977517423
|
|
valid_from: '2025-12-07T01:50:43.817508+00:00'
|
|
valid_to:
|
|
reason: 'City code updated from Swiss ISIL enrichment: St. Gallen -> SG'
|
|
- ghcid: CH-SG-XXX-L-SSG
|
|
ghcid_numeric: 15076909244190562510
|
|
valid_from: '2025-12-06T23:39:13.036812+00:00'
|
|
reason: Initial GHCID from CH-Annotator (switzerland_isil_ch_annotator.yaml)
|
|
valid_to: '2025-12-07T01:50:43.817508+00:00'
|
|
custodian_name:
|
|
claim_type: custodian_name
|
|
claim_value: Stadtbibliothek St. Gallen
|
|
source_type: ch_annotator
|
|
identifiers:
|
|
- identifier_scheme: GHCID
|
|
identifier_value: CH-SG-SG-L-SSG
|
|
- identifier_scheme: GHCID_UUID
|
|
identifier_value: f0c92c8a-5171-50a3-9697-5458d74d0c54
|
|
- identifier_scheme: GHCID_UUID_SHA256
|
|
identifier_value: d13bf113-a2c8-88ce-a101-34e121f4f8d8
|
|
- identifier_scheme: GHCID_NUMERIC
|
|
identifier_value: '15076909244190562510'
|
|
- identifier_scheme: RECORD_ID
|
|
identifier_value: 52112d92-3582-4591-9c58-ff8482e7262e
|
|
- *id001
|
|
- *id002
|
|
provenance:
|
|
data_source: CSV_REGISTRY
|
|
data_tier: TIER_1_AUTHORITATIVE
|
|
extraction_date: '2025-11-19T09:22:31.454554'
|
|
extraction_method: 'Created from CH-Annotator file: switzerland_isil_ch_annotator.yaml'
|
|
confidence_score: 0.95
|
|
notes:
|
|
- Canonical location added via normalize_custodian_files.py on 2025-12-08T23:11:07Z
|
|
- Canonical location added via normalize_custodian_files.py on 2025-12-08T23:47:34Z
|
|
- Canonical location added via normalize_custodian_files.py on 2025-12-09T06:48:57Z
|
|
- 'YouTube/Google Maps enrichment 2025-12-09T09:15:30Z: YouTube: not found'
|
|
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.454554'
|
|
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:
|
|
verified_by:
|
|
entity_claims:
|
|
- claim_type: full_name
|
|
claim_value: Stadtbibliothek St. Gallen
|
|
property_uri: skos:prefLabel
|
|
provenance:
|
|
namespace: glam
|
|
path: /files/switzerland_isil.yaml
|
|
timestamp: '2025-11-19T09:22:31.454554'
|
|
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.454554'
|
|
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:13.036812+00:00'
|
|
creation_method: create_custodian_from_ch_annotator.py
|
|
location:
|
|
city: St. Gallen
|
|
region: SG
|
|
region_code: SG
|
|
country: CH
|
|
postal_code: '9000'
|
|
street_address: Katharinengasse 11
|
|
normalization_timestamp: '2025-12-09T13:22:03.403918+00:00'
|
|
latitude: 47.42391
|
|
longitude: 9.37477
|
|
geonames_id: 2658822
|
|
geocoding_timestamp: '2025-12-09T21:28:59.139203+00:00'
|
|
geocoding_method: CITY_NAME_LOOKUP
|
|
geonames_matched_name: Sankt Gallen
|
|
youtube_status: NOT_FOUND
|
|
youtube_search_query: Stadtbibliothek St. Gallen official
|
|
youtube_search_timestamp: '2025-12-09T09:15:30.079255+00:00'
|