glam/schemas/20251121/linkml/modules/classes/InvalidWebClaim.yaml
kempersc fc405445c6 Refactor and update schema definitions
- Removed obsolete slots: `has_or_had_custodian_observation`, `provider`, and `specificity_annotation`.
- Updated `has_or_had_score` slot to use `SpecificityScore` class and modified its description and examples.
- Added new slots: `end_seconds`, `end_time`, `has_archive_path`, `has_or_had_custodian_name`, `protocol_name`, and `protocol_version`.
- Introduced a script `check_annotation_types.py` to validate the presence and structure of `custodian_types` in YAML files.
- Added a script `update_specificity.py` to automate updates related to `SpecificityAnnotation` to `SpecificityScore`.
2026-02-01 19:55:38 +01:00

49 lines
1.9 KiB
YAML

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
- ../slots/has_or_had_provenance_path
- ../slots/has_or_had_type
- ../slots/retrieved_on
- ../slots/source_url
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.\nOntology mapping\
\ rationale: - class_uri is rdf:Statement because this represents a claim/assertion\n\
\ that was made but found to be invalid - the statement structure is\n preserved\
\ even though the content failed validation\n- close_mappings includes dqv:QualityAnnotation\
\ as this documents a\n quality issue with extracted data\n- related_mappings\
\ includes prov:Entity for provenance tracking\nXPath 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
slots:
- has_or_had_type
- source_url
- retrieved_on
- has_or_had_provenance_path
slot_usage:
has_or_had_type:
range: uriorcurie
inlined: true
required: false
annotations:
specificity_score: 0.1
specificity_rationale: Generic utility class/slot created during migration
custodian_types: '[''*'']'