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

77 lines
No EOL
2.1 KiB
YAML

id: https://nde.nl/ontology/hc/class/Location
name: location_class
title: Location Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
locn: http://www.w3.org/ns/locn#
wgs84: http://www.w3.org/2003/01/geo/wgs84_pos#
default_prefix: hc
imports:
- linkml:types
- ../metadata
- ../slots/has_or_had_score # was: template_specificity
- ../slots/latitude
- ../slots/location_name
- ../slots/longitude
classes:
Location:
class_uri: schema:Place
description: |
Generic geographic location representation.
**Purpose**:
Location provides a reusable class for representing geographic
locations with name and optional coordinates.
**Ontological Alignment**:
- **Primary**: `schema:Place` - Schema.org Place
- **Exact**: `locn:Location` - LOCN (W3C Location) location
- **Related**: `wgs84:Point` - WGS84 geo point (for coordinates)
**Use Cases**:
- Transfer event locations (origin/destination)
- Institution physical locations
- Collection storage locations
exact_mappings:
- locn:Location
related_mappings:
- wgs84:Point
slots:
- location_name
- latitude
- longitude
- has_or_had_score # was: template_specificity - migrated per Rule 53 (2026-01-17)
slot_usage:
location_name:
range: string
required: true
latitude:
range: float
required: false
longitude:
range: float
required: false
annotations:
custodian_types: '["*"]'
custodian_types_rationale: Locations apply to all heritage custodian types.
custodian_types_primary: null
specificity_score: 0.2
specificity_rationale: Generic location class applicable across all contexts.
examples:
- value: |
location_name: "Rijksmuseum Amsterdam"
latitude: 52.3600
longitude: 4.8852
- value: |
location_name: "Noord-Hollands Archief, Haarlem"