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

74 lines
2.3 KiB
YAML

id: https://nde.nl/ontology/hc/class/Source
name: Source
title: Source
description: Source or origin from which data, content, or information was derived.
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
prov: http://www.w3.org/ns/prov#
dcterms: http://purl.org/dc/terms/
schema: http://schema.org/
crm: http://www.cidoc-crm.org/cidoc-crm/
skos: http://www.w3.org/2004/02/skos/core#
rdfs: http://www.w3.org/2000/01/rdf-schema#
org: http://www.w3.org/ns/org#
xsd: http://www.w3.org/2001/XMLSchema#
imports:
- linkml:types
- ../slots/has_description
- ../slots/has_label
- ../slots/has_type
default_prefix: hc
classes:
Source:
class_uri: prov:Entity
description: Source entity used for provenance tracking (manual, automated, or external).
exact_mappings:
- prov:Entity
close_mappings:
- dcterms:source
- schema:CreativeWork
slots:
- has_type
- has_label
- has_description
slot_usage:
has_type:
# range: string # uriorcurie
required: false
has_label:
# range: string
required: false
has_description:
# range: string
required: false
annotations:
specificity_score: 0.2
specificity_rationale: Generic provenance concept. Sources are fundamental to data quality tracking across all heritage domains.
custodian_types: "['*']"
comments:
- Subclass to specialize by domain (e.g., ChapterSource for chapter generation provenance).
examples:
- value:
has_type: MANUAL
has_label: Creator-defined chapters
has_description: Chapters manually defined in video description
- value:
has_type: YOUTUBE_AI
has_label: YouTube Auto-Chapters
has_description: AI-generated chapter markers from YouTube
- value:
has_type: WHISPER_CHAPTERS
has_label: Whisper Transcript Analysis
ChapterSource:
is_a: Source
class_uri: hc:ChapterSource
description: Source or method that created video chapters. Specializes Source for video chapter generation provenance.
annotations:
specificity_score: 0.75
specificity_rationale: Specific to video chapter generation domain.
custodian_types: "['*']"
examples:
- value:
has_type: YOUTUBE_AI
has_label: YouTube Auto-Chapters