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

47 lines
1.8 KiB
YAML

id: https://nde.nl/ontology/hc/classes/SourceRecord
name: SourceRecord
title: SourceRecord
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/
dcat: http://www.w3.org/ns/dcat#
dcterms: http://purl.org/dc/terms/
crm: http://www.cidoc-crm.org/cidoc-crm/
skos: http://www.w3.org/2004/02/skos/core#
rdfs: http://www.w3.org/2000/01/rdf-schema#
org: http://www.w3.org/ns/org#
imports:
- linkml:types
- ../enums/DataTierEnum
default_range: string
classes:
SourceRecord:
description: "Individual source record with claims, representing a data extraction\
\ from a specific source (API, registry, web scrape, etc.). Contains metadata\
\ about the source type, data tier, fetch timestamp, and extracted claims. Used\
\ to track provenance of individual data points.\nOntology mapping rationale:\
\ - class_uri is prov:Entity because this represents a discrete data entity\
\ with\n provenance (when fetched, from where, by what method)\n- close_mappings\
\ includes dcat:Distribution as this is similar to a specific\n manifestation/representation\
\ of data from a source\n- related_mappings includes pav:retrievedFrom conceptually\
\ (the source was retrieved)\n and prov:PrimarySource (the record may be from\
\ a primary source)"
class_uri: prov:Entity
close_mappings:
- dcat:Distribution
related_mappings:
- prov:PrimarySource
annotations:
specificity_score: 0.1
specificity_rationale: Generic utility class/slot created during migration
custodian_types: '[''*'']'
slots:
- source_type
- source_url
- note
- source_file
- has_archive_path