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

43 lines
2.3 KiB
YAML

id: https://nde.nl/ontology/hc/class/Observation
name: observation_class
title: Observation Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
prov: http://www.w3.org/ns/prov#
pico: https://personsincontext.org/model#
crm: http://www.cidoc-crm.org/cidoc-crm/
schema: http://schema.org/
dcterms: http://purl.org/dc/terms/
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#
xsd: http://www.w3.org/2001/XMLSchema#
default_prefix: hc
imports:
- linkml:types
- ../slots/has_or_had_score
classes:
Observation:
class_uri: sosa:Observation
description: "Abstract base class for observational evidence from sources.\n\n**Purpose**:\nObservation is the base class for source-based evidence about entities.\nConcrete implementations include:\n- CustodianObservation - Evidence about heritage custodians\n- PersonObservation - Evidence about people (staff, directors)\n- WebObservation - Evidence from web scraping\n\n**PiCo Model Alignment**:\nFollowing the Persons in Context (PiCo) model, observations are\ndiscrete pieces of evidence from specific sources that may be\ncombined to reconstruct formal entities.\n\n**PROV-O Semantics**:\n- `prov:Entity`: Observations are things with provenance\n- `is_or_was_based_on`: Links derived entities back to observations\n\n**Relationship to EntityReconstruction**:\n```\nObservation[] (source evidence)\n \u2502\n \u2514\u2500\u2500 is_or_was_based_on \u2190 EntityReconstruction\n (reconstructed formal entity)\n```\n"
exact_mappings:
- sosa:Observation
broad_mappings:
- prov:Entity
close_mappings:
- crm:E13_Attribute_Assignment
abstract: true
slots:
- has_or_had_score
annotations:
custodian_types: '["*"]'
custodian_types_rationale: Abstract base class for all observations.
custodian_types_primary: null
specificity_score: 0.4
specificity_rationale: Broad base class for observational evidence.
comments:
- "MIGRATED: supports derived_from_observation \u2192 is_or_was_based_on (Rule 53)"
- Abstract base for observational evidence
- PiCo model Observation pattern
- 'Subtypes: CustodianObservation, PersonObservation, WebObservation'