glam/schemas/20251121/linkml/modules/classes/Source.yaml
kempersc 3da90b940e
All checks were successful
Deploy Frontend / build-and-deploy (push) Successful in 2m4s
feat(schema): complete multiple slot_fixes.yaml migrations
Session 2026-01-19: Completed remaining migrations per Rules 53/56/60.

Major migrations:
1. claim_type → has_or_had_type + ClaimType/ClaimTypes (60+ concrete types in 11 categories)
2. circumstances_of_death → is_deceased + DeceasedStatus + CauseOfDeath
3. claims_count → has_or_had_quantity + Quantity (with based_on_claim for provenance)
4. classification_status → has_or_had_type + ClassificationStatusType

Created files:
- ClaimType.yaml, ClaimTypes.yaml (abstract base + 60+ concrete subclasses)
- DeceasedStatus.yaml, CauseOfDeath.yaml, CauseOfDeathTypeEnum.yaml
- ClassificationStatus.yaml, ClassificationStatusType.yaml, ClassificationStatusTypes.yaml
- CITESAppendix.yaml, City.yaml, CertaintyLevel.yaml
- is_deceased.yaml, is_or_was_caused_by.yaml, based_on_claim.yaml

Archived slots:
- claim_type, circumstances_of_death, claims_count, classification_status

Added Rule 60 to AGENTS.md: No Migration Deferral - agents MUST execute all migrations.

All 527 slot_fixes.yaml entries now complete (100%).
2026-01-19 13:05:53 +01:00

86 lines
2.9 KiB
YAML

id: https://nde.nl/ontology/hc/class/Source
name: source_class
title: Source class
description: >-
Represents a source or origin from which data, content, or information was
derived. This generic class can be subtyped for specific domains (ChapterSource,
DataSource, etc.).
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/
imports:
- linkml:types
- ../slots/has_or_had_type
- ../slots/has_or_had_label
- ../slots/has_or_had_description
default_prefix: hc
classes:
Source:
class_uri: prov:Entity
description: >-
A source from which something was derived or generated. Can represent
manual creation, automated generation, external services, or imported data.
Subclasses may specialize for specific domains.
exact_mappings:
- prov:Entity
- dcterms:source
close_mappings:
- schema:CreativeWork
slots:
- has_or_had_type
- has_or_had_label
- has_or_had_description
slot_usage:
has_or_had_type:
description: The type or category of this source (e.g., MANUAL, AI_GENERATED, IMPORTED)
range: uriorcurie
required: false
has_or_had_label:
description: Human-readable name for this source
range: string
required: false
has_or_had_description:
description: Detailed description of the source
range: string
required: false
annotations:
specificity_score: 0.20
specificity_rationale: >-
Generic provenance concept. Sources are fundamental to data quality
tracking across all heritage domains.
examples:
- value:
has_or_had_type: MANUAL
has_or_had_label: "Creator-defined chapters"
has_or_had_description: "Chapters manually defined in video description"
description: Manual source for video chapters
- value:
has_or_had_type: YOUTUBE_AI
has_or_had_label: "YouTube Auto-Chapters"
has_or_had_description: "AI-generated chapter markers from YouTube"
description: AI-generated source
- value:
has_or_had_type: WHISPER_CHAPTERS
has_or_had_label: "Whisper Transcript Analysis"
description: Whisper-derived chapters
# Subclass for chapter-specific sources (preserves ChapterSourceEnum semantics)
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.
examples:
- value:
has_or_had_type: YOUTUBE_AI
has_or_had_label: "YouTube Auto-Chapters"
description: YouTube AI-generated chapters