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

47 lines
1.8 KiB
YAML

id: https://nde.nl/ontology/hc/classes/LocationResolution
name: LocationResolution
title: LocationResolution
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#
geo: http://www.w3.org/2003/01/geo/wgs84_pos#
imports:
- linkml:types
- ../enums/LocationResolutionMethodEnum
- ../slots/has_or_had_citation
- ../slots/has_or_had_city_code
default_range: string
classes:
LocationResolution:
description: "Method and result of settlement resolution for GHCID generation.\
\ Records how a location was resolved from source data (coordinates, place\
\ names, addresses) to a standardized settlement using GeoNames or other authoritative\
\ geographic databases.\nOntology mapping rationale: - class_uri is prov:Location\
\ because this class represents the result\n of resolving/identifying a geographic\
\ location, which PROV-O defines\n as \"an identifiable geographic place\"\
\ with various expression methods\n- close_mappings includes geo:SpatialThing\
\ because the resolution \n produces spatial extent information (coordinates,\
\ feature codes)\n- related_mappings includes schema:Place (general place concept)\
\ and\n prov:Entity (the resolution result is a traceable entity)"
class_uri: prov:Location
close_mappings:
- geo:SpatialThing
related_mappings:
- schema:Place
- prov:Entity
annotations:
specificity_score: 0.1
specificity_rationale: Generic utility class/slot created during migration
custodian_types: '[''*'']'
slots:
- method
- region_code
- country_code
- has_or_had_city_code
- source_url
- latitude
- longitude
- note