glam/schemas/20251121/linkml/modules/classes/GeoSpatialPlace.yaml
kempersc 174a420c08
All checks were successful
Deploy Frontend / build-and-deploy (push) Successful in 3m57s
refactor(schema): centralize 1515 inline slot definitions per Rule 48
- Remove inline slot definitions from 144 class files
- Create 7 new centralized slot files in modules/slots/:
  - custodian_type_broader.yaml
  - custodian_type_narrower.yaml
  - custodian_type_related.yaml
  - definition.yaml
  - finding_aid_access_restriction.yaml
  - finding_aid_description.yaml
  - finding_aid_temporal_coverage.yaml
- Add centralize_inline_slots.py automation script
- Update manifest with new timestamp

Rule 48: Class files must NOT define inline slots - all slots
must be imported from modules/slots/ directory.

Note: Pre-existing IdentifierFormat duplicate class definition
(in Standard.yaml and IdentifierFormat.yaml) not addressed in
this commit - requires separate schema refactor.
2026-01-11 22:02:14 +01:00

305 lines
9.3 KiB
YAML

id: https://nde.nl/ontology/hc/class/GeoSpatialPlace
name: geospatial_place_class
title: GeoSpatialPlace Class
prefixes:
geosparql: http://www.opengis.net/ont/geosparql#
wgs84: http://www.w3.org/2003/01/geo/wgs84_pos#
sf: http://www.opengis.net/ont/sf#
gn: http://www.geonames.org/ontology#
gn_entity: http://sws.geonames.org/
tooi: https://identifier.overheid.nl/tooi/def/ont/
imports:
- linkml:types
- ../metadata
- ../slots/geonames_id
- ../slots/latitude
- ../slots/longitude
- ../slots/has_altitude
- ../slots/accuracy_meters
- ../slots/bounding_box
- ../slots/cadastral_id
- ../slots/coordinate_reference_system
- ../slots/feature_class
- ../slots/feature_code
- ../slots/geometry_type
- ../slots/geometry_wkt
- ../slots/geospatial_id
- ../slots/geospatial_source
- ../slots/osm_id
- ../slots/spatial_resolution
- ../slots/specificity_annotation
- ../slots/template_specificity
- ../slots/valid_from_geo
- ../slots/valid_to_geo
- ./SpecificityAnnotation
- ./TemplateSpecificityScores
- ../slots/has_accuracy_in_meters
types:
WktLiteral:
uri: geosparql:wktLiteral
base: str
description: 'Well-Known Text (WKT) representation of geometry.
See OGC Simple Features specification.
'
examples:
- value: POINT(4.2894 52.0705)
- value: POLYGON((4.0 52.0, 4.5 52.0, 4.5 52.5, 4.0 52.5, 4.0 52.0))
enums:
GeometryTypeEnum:
description: OGC Simple Features geometry types
permissible_values:
POINT:
description: Single point location
LINESTRING:
description: Line or path
POLYGON:
description: Closed polygon boundary
MULTIPOINT:
description: Multiple points
MULTILINESTRING:
description: Multiple lines
MULTIPOLYGON:
description: Multiple polygons (e.g., archipelago)
GEOMETRYCOLLECTION:
description: Mixed geometry types
classes:
GeoSpatialPlace:
class_uri: geosparql:Feature
description: 'Geospatial location with coordinates, geometry, and projections.
CRITICAL DISTINCTION FROM CustodianPlace:
| Aspect | CustodianPlace | GeoSpatialPlace |
|--------|----------------|-----------------|
| Nature | Nominal reference | Geospatial data |
| Content | "het herenhuis in de Schilderswijk" | lat: 52.0705, lon: 4.2894 |
| Purpose | Identify custodian by place name | Locate custodian precisely |
| Ambiguity | May be vague ("the mansion") | Precise, measurable |
| Source | Archival documents, oral history | GPS, cadastral surveys, geocoding |
**TOOI Ontology Alignment**:
This class follows the TOOI pattern for geospatial data:
- `tooi:BestuurlijkeRuimte` is a subclass of `geosparql:Feature` and `prov:Entity`
- `tooi:BestuurlijkeRuimte-hasGeometry` → `geosparql:Geometry`
- `tooi:RegistratieveRuimte` for administrative boundaries
- `tooi:JuridischeRuimte` for legal jurisdiction boundaries
Like TOOI, we separate:
- **geosparql:Feature** (this class): The real-world place with location data
- **geosparql:Geometry**: The mathematical representation (WKT, GeoJSON)
**Use Cases**:
1. **Building-level precision**: Museum building footprint (Polygon)
2. **City-level approximation**: Heritage institution centroid (Point)
3. **Administrative boundaries**: Archive jurisdiction area (MultiPolygon)
4. **Historical boundaries**: Pre-merger municipal territory (Polygon + valid_to_geo)
**Relationship to CustodianPlace**:
CustodianPlace.has_geospatial_location → GeoSpatialPlace
A nominal place reference ("Rijksmuseum") links to its geospatial location
(lat: 52.3600, lon: 4.8852, geometry: building footprint polygon).
**Relationship to AuxiliaryPlace**:
AuxiliaryPlace.has_geospatial_location → GeoSpatialPlace
Secondary/subordinate locations (branch offices, storage depots, reading rooms)
can also link to precise geospatial coordinates. This enables:
- Mapping all custodian locations (primary + auxiliary)
- Spatial queries across an organization''s entire footprint
- Building footprints for off-site storage facilities
- Historical boundary tracking for branch offices
**Relationship to OrganizationalChangeEvent**:
Organizational changes may affect geographic location:
- RELOCATION: New GeoSpatialPlace, old one gets valid_to_geo
- MERGER: Multiple locations → single primary + auxiliary locations
- SPLIT: One location → multiple successor locations
'
exact_mappings:
- geosparql:Feature
close_mappings:
- geo:SpatialThing
- schema:Place
- schema:GeoCoordinates
related_mappings:
- prov:Entity
- tooi:BestuurlijkeRuimte
- crm:E53_Place
slots:
- accuracy_meters
- has_altitude
- bounding_box
- cadastral_id
- coordinate_reference_system
- feature_class
- feature_code
- geometry_type
- geometry_wkt
- geonames_id
- geospatial_id
- geospatial_source
- latitude
- longitude
- osm_id
- spatial_resolution
- specificity_annotation
- template_specificity
- valid_from_geo
- valid_to_geo
slot_usage:
geospatial_id:
identifier: true
required: true
description: Unique identifier for this geospatial place
examples:
- value: https://nde.nl/ontology/hc/geo/rijksmuseum-building
- value: https://nde.nl/ontology/hc/geo/amsterdam-centroid
latitude:
required: true
description: WGS84 latitude (REQUIRED for all geospatial places)
examples:
- value: 52.36
description: Rijksmuseum latitude
longitude:
required: true
description: WGS84 longitude (REQUIRED for all geospatial places)
examples:
- value: 4.8852
description: Rijksmuseum longitude
geometry_wkt:
description: 'WKT geometry for polygons and complex shapes.
Optional for point locations (lat/lon sufficient).
Required for boundary representations.
'
examples:
- value: POLYGON((4.883 52.359, 4.887 52.359, 4.887 52.361, 4.883 52.361, 4.883 52.359))
description: Rijksmuseum building footprint (simplified)
coordinate_reference_system:
ifabsent: string(EPSG:4326)
description: 'Default: WGS84 (EPSG:4326)'
geonames_id:
description: 'GeoNames identifier for linking to external knowledge base.
Highly recommended for place disambiguation.
'
examples:
- value: 6930126
description: Rijksmuseum GeoNames ID
specificity_annotation:
range: SpecificityAnnotation
inlined: true
template_specificity:
range: TemplateSpecificityScores
inlined: true
comments:
- Follows TOOI BestuurlijkeRuimte pattern using GeoSPARQL
- 'CRITICAL: NOT a nominal reference - this is measured/surveyed location data'
- Use CustodianPlace for nominal references, this class for coordinates
- lat/lon required; geometry_wkt optional for point locations
- Link from CustodianPlace via has_geospatial_location slot
- Link from AuxiliaryPlace via has_geospatial_location slot (subordinate sites)
- Link from OrganizationalChangeEvent via has_or_had_affected_territory slot
- valid_from_geo/valid_to_geo track boundary changes over time
- OSM and GeoNames IDs enable external linking
see_also:
- http://www.opengis.net/ont/geosparql
- https://www.geonames.org/
- https://www.openstreetmap.org/
- https://identifier.overheid.nl/tooi/def/ont/
examples:
- value:
geospatial_id: https://nde.nl/ontology/hc/geo/rijksmuseum-building
latitude: 52.36
longitude: 4.8852
altitude: 0.0
geometry_wkt: POLYGON((4.8830 52.3590, 4.8870 52.3590, 4.8870 52.3610, 4.8830 52.3610, 4.8830 52.3590))
geometry_type: POLYGON
coordinate_reference_system: EPSG:4326
geonames_id: 6930126
osm_id: way/27083908
accuracy_meters: 1.0
geospatial_source: OpenStreetMap
spatial_resolution: BUILDING
feature_class: S
feature_code: S.MUS
description: Rijksmuseum building with full geospatial detail
- value:
geospatial_id: https://nde.nl/ontology/hc/geo/amsterdam-centroid
latitude: 52.3676
longitude: 4.9041
geometry_type: POINT
coordinate_reference_system: EPSG:4326
geonames_id: 2759794
accuracy_meters: 500.0
geospatial_source: GeoNames API
spatial_resolution: CITY
feature_class: P
feature_code: P.PPLC
description: Amsterdam city centroid (approximate)
- value:
geospatial_id: https://nde.nl/ontology/hc/geo/noord-holland-archive-territory-pre-2001
latitude: 52.5
longitude: 4.8
geometry_wkt: MULTIPOLYGON(((4.5 52.2, 5.2 52.2, 5.2 52.8, 4.5 52.8, 4.5 52.2)))
geometry_type: MULTIPOLYGON
coordinate_reference_system: EPSG:4326
accuracy_meters: 1000.0
geospatial_source: Historical cadastral records
spatial_resolution: REGION
feature_class: A
feature_code: A.ADM1
valid_from_geo: '1920-01-01'
valid_to_geo: '2001-01-01'
description: Historical archive jurisdiction boundary (pre-merger)