glam/schemas/20251121/linkml/modules/classes/AudioEventSegment.yaml
kempersc 66adec257e Add scripts for normalizing LinkML schemas and validating schema integrity
- Implement `normalize_linkml_alt_descriptions.py` to convert structured alt_descriptions to the expected scalar form.
- Implement `normalize_linkml_structured_aliases.py` to flatten language-keyed structured_aliases into a standard list-of-objects format.
- Implement `validate_linkml_schema_integrity.py` to validate the integrity of LinkML schema bundles, checking for import resolution, YAML parsing, and reference existence.
2026-02-16 10:16:51 +01:00

144 lines
6.1 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

id: https://nde.nl/ontology/hc/class/AudioEventSegment
name: audio_event_segment_class
title: Audio Event Segment Class
imports:
- linkml:types
- ../enums/AudioEventTypeEnum
- ../slots/has_score
- ../slots/has_time_interval
- ../slots/has_type
- ../slots/generated_by
- ../slots/indexed_as
- ../slots/has_text
- ../slots/begin_of_the_begin
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
dcterms: http://purl.org/dc/terms/
crm: http://www.cidoc-crm.org/cidoc-crm/
oa: http://www.w3.org/ns/oa#
ma: http://www.w3.org/ns/ma-ont#
skos: http://www.w3.org/2004/02/skos/core#
default_prefix: hc
classes:
AudioEventSegment:
class_uri: hc:AudioEventSegment
description: >-
Temporal segment of audio containing a detected audio event.
Represents a bounded temporal portion of audio content where a specific type of audio event has been detected, including speech segments, music, silence, sound events, and noise segments.
alt_descriptions:
nl: "Tijdsegment van audio met een gedetecteerd audio-evenement.\nVertegenwoordigt een begrensd tijdsdeel van audio-inhoud waarbij een specifiek type audio-evenement is gedetecteerd, inclusief spraaksegmenten, muziek, stilte, geluidsevenementen en ruissegmenten."
de: "Zeitliches Segment eines Audios mit einem erkannten Audioereignis.\nRepräsentiert einen begrenzten zeitlichen Teil eines Audioinhalts, bei dem ein bestimmter Audioereignistyp erkannt wurde, einschließlich Sprachsegmenten, Musik, Stille, Schallereignissen und Rauschsegmenten."
fr: "Segment temporel d'un audio contenant un événement audio détecté.\nReprésente une portion temporelle bornée d'un contenu audio où un type spécifique d'événement audio a été détecté, y compris les segments de parole, de musique, de silence, d'événements sonores et de bruit."
es: "Segmento temporal de audio que contiene un evento de audio detectado.\nRepresenta una porción temporal delimitada de contenido de audio donde se ha detectado un tipo específico de evento de audio, incluyendo segmentos de habla, música, silencio, eventos de sonido y segmentos de ruido."
ar: "مقطع زمني للصوت يحتوي على حدث صوتي مكتشف.\nيمثل جزءًا زمنيًا محددًا من محتوى صوتي حيث تم اكتشاف نوع محدد من أحداث الصوت، بما في ذلك مقاطع الكلام والموسيقى والصمت وأحداث الصوت ومقاطع الضوضاء."
id: "Segmen temporal audio yang berisi peristiwa audio yang terdeteksi.\nMewakili bagian temporal terbatas dari konten audio di mana jenis peristiwa audio tertentu telah terdeteksi, termasuk segmen ucapan, musik, keheningan, peristiwa suara, dan segmen kebisingan."
zh: "包含检测到的音频事件的音频时间片段。\n表示检测到特定类型音频事件的音频内容的有限时间部分 包括语音片段、音乐、静音、声音事件和噪声片段。"
examples:
- value:
has_type: SPEECH
has_time_interval:
start_seconds: 0
end_seconds: 45
has_text: Welcome to the Rijksmuseum
has_score: 0.95
description: Speech segment with transcription
- value:
has_type: MUSIC
has_time_interval:
start_seconds: 45
end_seconds: 120
has_text: Classical background music
has_score: 0.88
description: Music segment detected
- value:
has_type: SILENCE
has_time_interval:
start_seconds: 120
end_seconds: 125
has_score: 0.99
description: Silence gap between segments
close_mappings:
- crm:E52_Time-Span
- ma:MediaFragment
related_mappings:
- oa:FragmentSelector
structured_aliases:
- literal_form: audio-evenementsegment
in_language: nl
- literal_form: audio-gebeurtenissegment
in_language: nl
- literal_form: Audioereignissegment
in_language: de
- literal_form: segment d'événement audio
in_language: fr
- literal_form: segmento de evento de audio
in_language: es
- literal_form: مقطع حدث صوتي
in_language: ar
- literal_form: segmen peristiwa audio
in_language: id
- literal_form: 音频事件片段
in_language: zh
keywords:
- audio event
- speech segment
- music detection
- silence detection
- audio analysis
- temporal segment
slots:
- has_time_interval
- indexed_as
- has_text
- generated_by
- has_type
- has_score
- begin_of_the_begin
slot_usage:
has_type:
range: AudioEventTypeEnum
required: true
examples:
- value: SPEECH
- value: MUSIC
- value: SILENCE
- value: SOUND_EVENT
- value: NOISE
has_time_interval:
range: TimeInterval
required: true
inlined: true
has_text:
required: false
examples:
- value: Welcome to the Rijksmuseum
- value: Classical background music
generated_by:
range: GenerationEvent
required: false
inlined: true
examples:
- value:
has_score:
has_score: 0.95
has_method: audio_classification
comments:
- Audio event segment for speech, music, silence, sound event detection
- Temporal boundaries with start/end seconds (primary) and ISO 8601 (secondary)
- Confidence scoring for AI-generated detections
- Part of Rule 53 slot migration from audio_event_segments
- Audio types: SPEECH, MUSIC, SILENCE, SOUND_EVENT, NOISE, MIXED
see_also:
- https://www.w3.org/TR/media-frags/
- https://www.w3.org/ns/ma-ont
- TimeInterval
- GenerationEvent
annotations:
specificity_score: "0.55"
specificity_rationale: "AudioEventSegment is specific to audio analysis workflows in heritage digitization."
custodian_types: "['*']"
audio_event_types: "SPEECH, MUSIC, SILENCE, SOUND_EVENT, NOISE, MIXED"
heritage_use_cases: "Oral histories, virtual tours, lecture recordings, archival footage"