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

97 lines
3.8 KiB
YAML

# WebClaimsBlock - Claims extracted from archived websites
# Extracted from custodian_source.yaml per Rule 38 (modular schema files)
# Extraction date: 2026-01-08
id: https://nde.nl/ontology/hc/classes/WebClaimsBlock
name: WebClaimsBlock
title: WebClaimsBlock
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#
imports:
- linkml:types
- ../slots/warrants_or_warranted # was: claim - migrated per Rule 53/56 (2026-01-19)
- ../slots/has_or_had_quantity # was: claims_count - migrated per Rule 53 (2026-01-19)
- ./Claim # Base class for warrants_or_warranted range
- ./InvalidWebClaim
- ./LayoutMetadata
- ./Quantity # for has_or_had_quantity range - added 2026-01-19
- ./ValidationMetadata
- ./WebClaim
default_range: string
classes:
WebClaimsBlock:
description: >-
Container for claims extracted from archived websites, including valid
claims, removed invalid claims, validation metadata, and layout
integration status. Serves as a collection of web observations with
full provenance tracking.
Ontology mapping rationale:
- class_uri is prov:Collection because this aggregates multiple WebClaim
entities extracted from the same source archive
- close_mappings includes schema:Collection as a general collection type
- related_mappings includes prov:Entity as this block is itself an entity
with extraction timestamp and provenance
class_uri: prov:Collection
close_mappings:
- schema:Collection
related_mappings:
- prov:Entity
slots:
- has_or_had_quantity # was: claims_count attribute - migrated per Rule 53 (2026-01-19)
slot_usage:
has_or_had_quantity:
range: Quantity
inlined: true
description: |
Number of claims in this block.
MIGRATED 2026-01-19: Replaces claims_count integer attribute with structured Quantity.
Use quantity_type: CLAIM_COUNT for claim counts.
examples:
- value:
quantity_value: 47
quantity_type: CLAIM_COUNT
has_or_had_description: "Web claims extracted from archived website"
description: Claim count with structured quantity
attributes:
extraction_timestamp:
range: datetime
source_archive:
range: string
description: Path to source archive directory
# claims_count removed 2026-01-19 - use has_or_had_quantity slot instead
warrants_or_warranted: # was: claim - migrated per Rule 53/56 (2026-01-19)
range: WebClaim
multivalued: true
inlined_as_list: true
description: Claims that warrant assertions about this entity (migrated from claim slot)
removed_invalid_claims:
range: InvalidWebClaim
multivalued: true
inlined_as_list: true
description: Claims removed due to validation failures
validation_metadata:
range: ValidationMetadata
description: Metadata about the validation process
layout_integrated:
range: boolean
description: Whether layout integration has been performed
layout_integration_timestamp:
range: datetime
description: When layout integration was performed
layout_metadata:
range: LayoutMetadata
description: Metadata about layout extraction
claims_migrated:
range: boolean
description: Whether claims have been migrated to new format
migration_timestamp:
range: datetime
description: When migration was performed