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

106 lines
3.3 KiB
YAML

id: https://nde.nl/ontology/hc/class/GenerationEvent
name: generation_event_class
title: Generation Event Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
prov: http://www.w3.org/ns/prov#
schema: http://schema.org/
imports:
- linkml:types
- ../slots/has_or_had_description
- ../slots/has_or_had_provenance
- ../slots/has_or_had_score
- ../slots/temporal_extent
default_prefix: hc
classes:
GenerationEvent:
description: >-
An event representing the generation or creation of an entity.
**USAGE**:
Used for tracking when and how something was generated, including:
- Video chapter generation (manual, AI, imported)
- Content extraction events
- Automated processing activities
- Confidence scoring for generated content
**STRUCTURE**:
- temporal_extent: When the generation occurred (TimeSpan)
- has_or_had_provenance: Who/what performed the generation (Provenance)
- has_or_had_description: Details about the generation process
- has_or_had_score: Confidence score for the generated content (ConfidenceScore)
**ONTOLOGY ALIGNMENT**:
- Maps to prov:Generation (PROV-O generation event)
- Also maps to schema:CreateAction (Schema.org action)
class_uri: prov:Generation
exact_mappings:
- prov:Generation
close_mappings:
- schema:CreateAction
slots:
- temporal_extent
- has_or_had_provenance
- has_or_had_description
- has_or_had_score
slot_usage:
temporal_extent:
range: TimeSpan
required: false
inlined: true
examples:
- value:
begin_of_the_begin: "2024-01-15T10:30:00Z"
end_of_the_end: "2024-01-15T10:30:00Z"
has_or_had_provenance:
range: Provenance
required: false
inlined: true
examples:
- value:
has_or_had_agent:
has_or_had_type: SOFTWARE
has_or_had_name: "YouTube Auto-Chapters"
has_or_had_description:
range: string
required: false
examples:
- value: "Generated using Whisper transcript segmentation"
has_or_had_score:
range: ConfidenceScore
required: false
inlined: true
examples:
- value:
has_or_had_score: 0.95
has_or_had_method: "xpath_extraction"
has_or_had_description: "High confidence - exact match at expected location"
annotations:
custodian_types: '["*"]'
custodian_types_rationale: >-
Generation events are universal for tracking content creation.
custodian_types_primary: "*"
specificity_score: 0.30
specificity_rationale: >-
Moderately low specificity - used across many content types.
examples:
- value:
temporal_extent:
begin_of_the_begin: "2024-01-15T10:30:00Z"
has_or_had_description: "AI-generated video chapters from transcript"
has_or_had_score:
has_or_had_score: 0.92
has_or_had_method: "transcript_segmentation"
comments:
- Created from slot_fixes.yaml migration (2026-01-19)
- Updated 2026-01-19 to include has_or_had_score for confidence tracking