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

55 lines
1.7 KiB
YAML

id: https://nde.nl/ontology/hc/class/MeasurementUnit
name: MeasurementUnit
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
qudt: http://qudt.org/schema/qudt/
schema: http://schema.org/
imports:
- linkml:types
- ../slots/has_or_had_description
- ../slots/has_or_had_identifier
- ../slots/has_or_had_label
classes:
MeasurementUnit:
class_uri: qudt:Unit
description: 'A unit of measurement used for quantifying values in heritage custodian
data, such as frames, objects, faces, pixels, bytes, or other countable
or measurable entities.
Note: This class complements MeasureUnit by focusing on computational
and digital measurement units rather than physical measurement units.
'
slots:
- has_or_had_identifier
- has_or_had_label
- has_or_had_description
close_mappings:
- schema:unitCode
annotations:
specificity_score: '0.40'
specificity_rationale: Measurement units are broadly applicable across many contexts.
custodian_types: "['*']"
FrameUnit:
is_a: MeasurementUnit
description: A video frame as a unit of measurement.
ObjectUnit:
is_a: MeasurementUnit
description: A detected object as a unit of measurement in computer vision.
FaceUnit:
is_a: MeasurementUnit
description: A detected face as a unit of measurement in facial recognition.
PixelUnit:
is_a: MeasurementUnit
description: A pixel as a unit of measurement for image dimensions.
ByteUnit:
is_a: MeasurementUnit
description: A byte as a unit of measurement for data size.
TokenUnit:
is_a: MeasurementUnit
description: A token as a unit of measurement for text processing.