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

61 lines
1.5 KiB
YAML

id: https://nde.nl/ontology/hc/class/ConfidenceMeasure
name: confidence_measure_class
title: ConfidenceMeasure Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
prov: http://www.w3.org/ns/prov#
schema: http://schema.org/
oa: http://www.w3.org/ns/oa#
rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
imports:
- linkml:types
- ../metadata
- ../slots/has_or_had_method
- ../slots/has_or_had_method # was: confidence_method
- ../slots/has_or_had_score
- ../slots/has_or_had_value
- ../slots/has_or_had_value # was: confidence_value
classes:
ConfidenceMeasure:
class_uri: prov:Confidence
description: 'Quantified confidence in a statement or observation.
PROV-O extension for uncertainty representation.
**Score Range**: 0.0 (uncertain) to 1.0 (certain)
**Use Cases**:
- NER extraction confidence
- Fuzzy matching scores
- Expert assessment certainty
- Automated vs. manual curation
'
exact_mappings:
- prov:Confidence
close_mappings:
- schema:PropertyValue
- oa:Motivation
slots:
- has_or_had_method
- has_or_had_value
- has_or_had_score
slot_usage:
has_or_had_value:
range: float
minimum_value: 0.0
maximum_value: 1.0
required: true
has_or_had_method:
range: string
annotations:
specificity_score: 0.1
specificity_rationale: Generic utility class/slot created during migration
custodian_types: "['*']"