glam/schemas/20251121/linkml/modules/classes/ProvenanceBlock.yaml
kempersc ca4a54181e Refactor schema files to improve clarity and maintainability
- Updated WorldCatIdentifier.yaml to remove unnecessary description and ensure consistent formatting.
- Enhanced WorldHeritageSite.yaml by breaking long description into multiple lines for better readability and removed unused attributes.
- Simplified WritingSystem.yaml by removing redundant attributes and ensuring consistent formatting.
- Cleaned up XPathScore.yaml by removing unnecessary attributes and ensuring consistent formatting.
- Improved YoutubeChannel.yaml by breaking long description into multiple lines for better readability.
- Enhanced YoutubeEnrichment.yaml by breaking long description into multiple lines for better readability.
- Updated YoutubeVideo.yaml to break long description into multiple lines and removed legacy field name.
- Refined has_or_had_affiliation.yaml by removing unnecessary comments and ensuring clarity.
- Cleaned up is_or_was_retrieved_at.yaml by removing unnecessary comments and ensuring clarity.
- Added rules for generic slots and avoiding rough edits in schema files to maintain structural integrity.
- Introduced changes_or_changed_through.yaml to define a new slot for linking entities to change events.
2026-01-31 00:46:23 +01:00

74 lines
2.8 KiB
YAML

id: https://nde.nl/ontology/hc/classes/ProvenanceBlock
name: ProvenanceBlock
title: ProvenanceBlock
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#
pav: http://purl.org/pav/
imports:
- linkml:types
- ../enums/DataTierEnum
- ../slots/is_or_was_generated_by
- ../slots/note
- ../slots/source_type
- ../slots/source_url
- ../slots/standards_compliance
- ./ConfidenceMethod
- ./ConfidenceScore
- ./DataTierSummary
- ./EnrichmentProvenance
- ./GenerationEvent
- ./ProvenanceSources
default_range: string
classes:
ProvenanceBlock:
description: "Complete provenance tracking for the entry, supporting both nested and flat formats. Contains information about data sources, extraction methods, timestamps, confidence scores, and verification status. This is the primary class for documenting the lineage and quality of data in custodian records.\nOntology mapping rationale: - class_uri is prov:Bundle because this represents a named set of provenance\n descriptions bundled together - it's provenance ABOUT provenance/data\n- close_mappings includes pav:Provenance conceptually as PAV's approach to\n tracking authoring and versioning provenance\n- related_mappings includes prov:Entity (the bundle is itself an entity) and\n prov:Activity (extraction/enrichment are activities with timestamps)"
class_uri: prov:Bundle
close_mappings:
- pav:Provenance
related_mappings:
- prov:Entity
- prov:Activity
slots:
- is_or_was_generated_by
slot_usage:
is_or_was_generated_by:
range: GenerationEvent
required: false
inlined: true
description: 'Generation event containing confidence score for the provenance block. MIGRATED 2026-01-19: Replaces confidence_score slot with structured pattern.'
examples:
- value:
has_or_had_score:
has_or_had_score: 0.95
has_or_had_method: automated_extraction
- value:
has_or_had_score:
has_or_had_score: 0.65
has_or_had_method: manual_review
comments:
- "MIGRATED 2026-01-19: confidence_score \u2192 is_or_was_generated_by + GenerationEvent + ConfidenceScore (Rule 53)"
attributes:
note:
range: string
multivalued: true
inlined_as_list: true
source_url:
range: uri
source_type:
range: string
any_of:
- range: string
- range: string
multivalued: true
standards_compliance:
range: string
multivalued: true
inlined_as_list: true
annotations:
specificity_score: 0.1
specificity_rationale: Generic utility class/slot created during migration
custodian_types: "['*']"