- 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`.
67 lines
2.5 KiB
YAML
67 lines
2.5 KiB
YAML
id: https://nde.nl/ontology/hc/classes/ProvenanceBlock
|
|
name: ProvenanceBlock
|
|
title: ProvenanceBlock
|
|
prefixes:
|
|
linkml: https://w3id.org/linkml/
|
|
hc: https://nde.nl/ontology/hc/
|
|
schema: http://schema.org/
|
|
prov: http://www.w3.org/ns/prov#
|
|
xsd: http://www.w3.org/2001/XMLSchema#
|
|
pav: http://purl.org/pav/
|
|
imports:
|
|
- linkml:types
|
|
- ../enums/DataTierEnum
|
|
- ../slots/is_or_was_generated_by
|
|
- ../slots/note
|
|
- ../slots/source_type
|
|
- ../slots/source_url
|
|
- ../slots/standards_compliance
|
|
default_range: string
|
|
classes:
|
|
ProvenanceBlock:
|
|
description: "Complete provenance tracking for the entry, supporting both nested\
|
|
\ and flat formats. Contains information about data sources, extraction methods,\
|
|
\ timestamps, confidence scores, and verification status. This is the primary\
|
|
\ class for documenting the lineage and quality of data in custodian records.\n\
|
|
Ontology mapping rationale: - class_uri is prov:Bundle because this represents\
|
|
\ a named set of provenance\n descriptions bundled together - it's provenance\
|
|
\ ABOUT provenance/data\n- close_mappings includes pav:Provenance conceptually\
|
|
\ as PAV's approach to\n tracking authoring and versioning provenance\n- related_mappings\
|
|
\ includes prov:Entity (the bundle is itself an entity) and\n prov:Activity\
|
|
\ (extraction/enrichment are activities with timestamps)"
|
|
class_uri: prov:Bundle
|
|
close_mappings:
|
|
- pav:Provenance
|
|
related_mappings:
|
|
- prov:Entity
|
|
- prov:Activity
|
|
slots:
|
|
- is_or_was_generated_by
|
|
- note
|
|
- source_url
|
|
- source_type
|
|
- standards_compliance
|
|
slot_usage:
|
|
is_or_was_generated_by:
|
|
range: GenerationEvent
|
|
required: false
|
|
inlined: true
|
|
description: 'Generation event containing confidence score for the provenance
|
|
block. MIGRATED 2026-01-19: Replaces confidence_score slot with structured
|
|
pattern.'
|
|
examples:
|
|
- value:
|
|
has_or_had_score:
|
|
has_or_had_score: 0.95
|
|
has_or_had_method: automated_extraction
|
|
- value:
|
|
has_or_had_score:
|
|
has_or_had_score: 0.65
|
|
has_or_had_method: manual_review
|
|
comments:
|
|
- 'MIGRATED 2026-01-19: confidence_score → is_or_was_generated_by + GenerationEvent
|
|
+ ConfidenceScore (Rule 53)'
|
|
annotations:
|
|
specificity_score: 0.1
|
|
specificity_rationale: Generic utility class/slot created during migration
|
|
custodian_types: '[''*'']'
|