glam/schemas/20251121/linkml/modules/classes/InvalidWebClaim.yaml
kempersc 8174c9692e Refactor and Archive Deprecated Slots
- Removed deprecated slots:
  - accepts_or_accepted_external_work
  - accepts_or_accepted_payment_method
  - accepts_or_accepted_visiting_scholar
  - parent_collection
  - parent_custodian
  - storage_description
  - storage_type_description
  - sub_guide_description
  - transfer_location
  - transfer_location_text
  - transfer_policy
  - transfer_to_collection_date
  - unit_description

- Archived corresponding YAML files for the removed slots with detailed notes on migration and replacements.
- Updated slot fixes to reflect the migration of deprecated slots to new structures and naming conventions.
- Introduced new slots and classes to replace deprecated ones, ensuring compliance with RiC-O standards.
2026-01-15 13:00:27 +01:00

82 lines
2.9 KiB
YAML

# InvalidWebClaim - Invalid claim with validation reason
# Extracted from custodian_source.yaml per Rule 38 (modular schema files)
# Extraction date: 2026-01-08
# MIGRATION (2026-01-15): Replaced xpath/xpath_match_score/html_file attributes with has_or_had_provenance_path using XPath class
id: https://nde.nl/ontology/hc/classes/InvalidWebClaim
name: InvalidWebClaim
title: InvalidWebClaim
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#
rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
dqv: http://www.w3.org/ns/dqv#
imports:
- linkml:types
- ./XPath
default_range: string
classes:
InvalidWebClaim:
description: >-
A web claim that failed validation, preserving the original extracted
data along with the validation failure reason and rule violated.
Used for audit trails and quality assessment of extraction processes.
Ontology mapping rationale:
- class_uri is rdf:Statement because this represents a claim/assertion
that was made but found to be invalid - the statement structure is
preserved even though the content failed validation
- close_mappings includes dqv:QualityAnnotation as this documents a
quality issue with extracted data
- related_mappings includes prov:Entity for provenance tracking
XPath provenance is captured via has_or_had_provenance_path using the
XPath class, which consolidates expression, match_score, and source_document.
class_uri: rdf:Statement
close_mappings:
- dqv:QualityAnnotation
related_mappings:
- prov:Entity
attributes:
claim_type:
range: string
description: Type of claim
claim_value:
range: string
description: Extracted value
raw_value:
range: string
description: Raw value before processing
source_url:
range: uri
description: URL claim was extracted from
retrieved_on:
range: datetime
description: When page was archived
has_or_had_provenance_path:
range: XPath
inlined: true
description: >-
XPath provenance path documenting the exact location in the source HTML
where this claim was extracted from. Contains expression, match_score,
matched_text, and source_document (path to archived HTML file).
extraction_method:
range: string
description: Extraction method
extraction_timestamp:
range: datetime
description: When claim was extracted
validation_reason:
range: string
description: Reason why claim was invalid
validation_rule:
range: string
description: Rule that was violated