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

86 lines
2.9 KiB
YAML

id: https://nde.nl/ontology/hc/class/measure-unit
name: measure_unit_class
title: MeasureUnit Class
description: 'Class representing a unit of measurement for quantities.
**RULE 53 COMPLIANT**: Generic class for standardized unit representation, used by Area, Quantity, and other measurement classes.
**ONTOLOGY ALIGNMENT**: - QUDT (Quantities, Units, Dimensions and Types) - schema:unitCode / schema:unitText - OM (Ontology of Units of Measure)'
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
qudt: http://qudt.org/schema/qudt/
om: http://www.ontology-of-units-of-measure.org/resource/om-2/
dcterms: http://purl.org/dc/terms/
prov: http://www.w3.org/ns/prov#
crm: http://www.cidoc-crm.org/cidoc-crm/
skos: http://www.w3.org/2004/02/skos/core#
rdfs: http://www.w3.org/2000/01/rdf-schema#
org: http://www.w3.org/ns/org#
xsd: http://www.w3.org/2001/XMLSchema#
imports:
- linkml:types
- ../enums/MeasureUnitEnum
- ../slots/has_or_had_code
- ../slots/has_or_had_label
- ../slots/has_or_had_symbol
- ../slots/has_or_had_type
default_prefix: hc
classes:
MeasureUnit:
description: "A unit of measurement for expressing quantities.\nCaptures the unit type (from MeasureUnitEnum), symbol, and optional conversion factors. Used as the range for has_or_had_unit slot.\n**EXAMPLES**: - Hectare (ha) for outdoor site area - Square meter (m\xB2) for building floor area - Linear meter (m) for archival shelf extent"
class_uri: qudt:Unit
exact_mappings:
- qudt:Unit
- om:Unit
close_mappings:
- schema:unitCode
slots:
- has_or_had_type
- has_or_had_symbol
- has_or_had_code
- has_or_had_label
slot_usage:
has_or_had_type:
range: MeasureUnitEnum
required: true
has_or_had_symbol:
range: string
required: false
examples:
- value: ha
- value: "m\xB2"
- value: m
has_or_had_code:
range: string
required: false
examples:
- value: har
- value: m2
has_or_had_label:
range: string
examples:
- value: hectare
- value: square meter
examples:
- value:
has_or_had_type: HECTARE
has_or_had_symbol: ha
has_or_had_code: har
has_or_had_label: hectare
- value:
has_or_had_type: SQUARE_METER
has_or_had_symbol: "m\xB2"
has_or_had_code: m2
has_or_had_label: square meter
- value:
has_or_had_type: LINEAR_METER
has_or_had_symbol: m
has_or_had_code: m
has_or_had_label: linear meter
annotations:
custodian_types: '["*"]'
custodian_types_rationale: Measurement units applicable to all heritage custodian types.
specificity_score: 0.3
specificity_rationale: Foundational class - highly reusable across many contexts.