glam/schemas/20251121/linkml/modules/classes/ChAnnotatorEntityClaim.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
3 KiB
YAML

# ChAnnotatorEntityClaim - Individual claim about an entity
# Extracted from custodian_source.yaml per Rule 38 (modular schema files)
# Extraction date: 2026-01-08
# MIGRATION 2026-01-19: claim_type → has_or_had_type + ClaimType (Rule 53/56)
id: https://nde.nl/ontology/hc/classes/ChAnnotatorEntityClaim
name: ChAnnotatorEntityClaim
title: ChAnnotatorEntityClaim
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
prov: http://www.w3.org/ns/prov#
xsd: http://www.w3.org/2001/XMLSchema#
oa: http://www.w3.org/ns/oa#
rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
imports:
- linkml:types
- ./ChAnnotatorProvenance
- ./ExtractionSourceInfo
# ADDED 2026-01-19: claim_type migration (Rule 53/56)
- ../slots/has_or_had_type
- ./ClaimType
- ./ClaimTypes
default_range: string
classes:
ChAnnotatorEntityClaim:
description: >-
Individual claim about an entity extracted using CH-Annotator convention.
Each claim represents an assertion about an entity attribute with
associated provenance and confidence information.
Ontology mapping rationale:
- class_uri is rdf:Statement because a claim is fundamentally an
RDF-like statement (subject-predicate-object assertion).
- close_mappings includes oa:Annotation as claims are a form of
annotation body content.
- related_mappings includes prov:Entity as claims are provenance-tracked
entities themselves.
class_uri: rdf:Statement
close_mappings:
- oa:Annotation
related_mappings:
- prov:Entity
- schema:PropertyValue
slots:
- has_or_had_type
slot_usage:
has_or_had_type:
range: ClaimType
inlined: true
required: true
description: |
MIGRATED from claim_type per slot_fixes.yaml (Rule 53/56, 2026-01-19).
Type of claim (full_name, institution_type, etc.).
Uses ClaimType class hierarchy with 507 concrete subtypes.
attributes:
# REMOVED 2026-01-19: claim_type - migrated to has_or_had_type slot (Rule 53/56)
claim_value:
range: string
required: true
description: Value of the claim
property_uri:
range: string
description: Property URI (e.g., skos:prefLabel)
hypernym_code:
range: string
description: CH-Annotator hypernym code (e.g., GRP, TOP)
hypernym_label:
range: string
description: Human-readable hypernym label (e.g., GROUP, TOPONYM)
extraction_source:
range: ExtractionSourceInfo
description: Structured extraction source information
provenance:
range: ChAnnotatorProvenance
description: Provenance of this claim
confidence:
range: float
description: Confidence score for this claim
resolution_method:
range: string
description: Method used to resolve/extract the claim