glam/schemas/20251121/linkml/modules/classes/Caption.yaml
kempersc ca4a54181e Refactor schema files to improve clarity and maintainability
- Updated WorldCatIdentifier.yaml to remove unnecessary description and ensure consistent formatting.
- Enhanced WorldHeritageSite.yaml by breaking long description into multiple lines for better readability and removed unused attributes.
- Simplified WritingSystem.yaml by removing redundant attributes and ensuring consistent formatting.
- Cleaned up XPathScore.yaml by removing unnecessary attributes and ensuring consistent formatting.
- Improved YoutubeChannel.yaml by breaking long description into multiple lines for better readability.
- Enhanced YoutubeEnrichment.yaml by breaking long description into multiple lines for better readability.
- Updated YoutubeVideo.yaml to break long description into multiple lines and removed legacy field name.
- Refined has_or_had_affiliation.yaml by removing unnecessary comments and ensuring clarity.
- Cleaned up is_or_was_retrieved_at.yaml by removing unnecessary comments and ensuring clarity.
- Added rules for generic slots and avoiding rough edits in schema files to maintain structural integrity.
- Introduced changes_or_changed_through.yaml to define a new slot for linking entities to change events.
2026-01-31 00:46:23 +01:00

52 lines
1.8 KiB
YAML

id: https://nde.nl/ontology/hc/class/Caption
name: caption_class
title: Caption Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
dcterms: http://purl.org/dc/terms/
imports:
- linkml:types
- ../slots/has_or_had_label
- ../slots/language
- ./Label
default_prefix: hc
classes:
Caption:
class_uri: schema:caption
description: 'Represents accessibility caption/subtitle information for media content.
**PURPOSE**:
Caption provides structured representation of video/audio captions for: - WCAG accessibility compliance - Multilingual subtitle support - Caption metadata (language, format, availability)
**ONTOLOGY ALIGNMENT**:
| Ontology | Mapping | Rationale | |----------|---------|-----------| | Schema.org | schema:caption | Media caption/subtitle |
**USE CASES**: - Video captions for hearing accessibility - Subtitles for multilingual content - Closed captions vs. open captions distinction
MIGRATED 2026-01-22: Created per slot_fixes.yaml feedback to replace simple caption_available string with structured class.'
exact_mappings:
- schema:caption
slots:
- has_or_had_label
- language
slot_usage:
has_or_had_label:
range: string
required: false
inlined: true
language:
range: string
required: false
attributes:
examples:
- value:
language: en
- value:
language: nl
caption_url: https://example.org/video/captions_nl.srt
- value:
has_or_had_label:
has_or_had_text: Video beschrijving voor slechthorenden
language: nl
annotations:
specificity_score: 0.6
specificity_rationale: Captions are specific to media content, moderately relevant for digital heritage.
custodian_types: "['*']"