- 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`.
45 lines
1.3 KiB
YAML
45 lines
1.3 KiB
YAML
id: https://nde.nl/ontology/hc/class/SpecificityScore
|
|
name: SpecificityScore
|
|
title: Specificity Score
|
|
prefixes:
|
|
linkml: https://w3id.org/linkml/
|
|
hc: https://nde.nl/ontology/hc/
|
|
prov: http://www.w3.org/ns/prov#
|
|
skos: http://www.w3.org/2004/02/skos/core#
|
|
default_prefix: hc
|
|
imports:
|
|
- linkml:types
|
|
- ../slots/specificity_agent
|
|
- ../slots/specificity_rationale
|
|
- ../slots/specificity_score
|
|
- ../slots/specificity_timestamp
|
|
classes:
|
|
SpecificityScore:
|
|
class_uri: hc:SpecificityScore
|
|
description: 'Structured metadata for RAG retrieval specificity scoring.
|
|
|
|
Documents how specific/general a class is for different search templates.
|
|
|
|
|
|
**Scoring Semantics** (LOWER = more broadly relevant):
|
|
|
|
- 0.00-0.20: Universal (HeritageCustodian, Location)
|
|
|
|
- 0.20-0.40: Broadly useful (Collection, Identifier)
|
|
|
|
- 0.40-0.60: Moderately specific (ChangeEvent, PersonProfile)
|
|
|
|
- 0.60-0.80: Fairly specific (Archive, Museum, Library)
|
|
|
|
- 0.80-1.00: Highly specific (LinkedInConnectionExtraction)
|
|
|
|
'
|
|
slots:
|
|
- specificity_score
|
|
- specificity_rationale
|
|
- specificity_timestamp
|
|
- specificity_agent
|
|
annotations:
|
|
specificity_score: 0.2
|
|
specificity_rationale: Meta-class for specificity annotations
|
|
custodian_types: "['*']"
|