- 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`.
43 lines
928 B
YAML
43 lines
928 B
YAML
id: https://nde.nl/ontology/hc/class/XPathScore
|
|
name: XPathScore
|
|
title: XPath Match Score
|
|
prefixes:
|
|
linkml: https://w3id.org/linkml/
|
|
hc: https://nde.nl/ontology/hc/
|
|
schema: http://schema.org/
|
|
default_prefix: hc
|
|
imports:
|
|
- linkml:types
|
|
- ../slots/has_or_had_score
|
|
classes:
|
|
XPathScore:
|
|
class_uri: schema:Rating
|
|
description: 'A confidence score for an XPath match.
|
|
|
|
|
|
**USAGE**:
|
|
|
|
Used for:
|
|
|
|
- XPath match confidence (0.0-1.0)
|
|
|
|
- Fuzzy matching scores
|
|
|
|
- Extraction confidence
|
|
|
|
'
|
|
slots:
|
|
- has_or_had_score
|
|
slot_usage:
|
|
has_or_had_score:
|
|
minimum_value: 0.0
|
|
maximum_value: 1.0
|
|
close_mappings:
|
|
- schema:Rating
|
|
annotations:
|
|
specificity_score: '0.60'
|
|
specificity_rationale: More specific - XPath scoring is technical/heritage-domain.
|
|
custodian_types: '[''*'']'
|
|
examples:
|
|
- value:
|
|
has_or_had_score: 0.95
|