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

55 lines
2.1 KiB
YAML

id: https://nde.nl/ontology/hc/classes/ExaSearchMetadata
name: ExaSearchMetadata
title: ExaSearchMetadata
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#
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
- ../slots/has_or_had_tool
- ../slots/has_or_had_timestamp
- ../slots/has_or_had_url
- ../slots/has_or_had_agent
- ../slots/has_or_had_method
- ../slots/has_or_had_note
default_range: string
classes:
ExaSearchMetadata:
description: "Metadata from EXA search operations, capturing tool used, timestamp, source URL, extraction agent, method, and notes. Documents the provenance of data retrieved through EXA web search API.\nOntology mapping rationale: - class_uri is prov:Activity because this documents a search/extraction\n activity performed at a specific time by a specific agent\n- close_mappings includes schema:SearchAction as this represents a\n search operation\n- related_mappings includes prov:Entity as the activity produces\n entity outputs"
class_uri: prov:Activity
close_mappings:
- schema:SearchAction
related_mappings:
- prov:Entity
slots:
- has_or_had_tool
- has_or_had_timestamp
- has_or_had_url
- has_or_had_agent
- has_or_had_method
- has_or_had_note
slot_usage:
has_or_had_tool:
description: EXA tool used
has_or_had_timestamp:
description: When search was performed
has_or_had_url:
description: Source URL for search
has_or_had_agent:
description: Agent that performed extraction
has_or_had_method:
description: Method used for extraction
has_or_had_note:
description: Notes about the search
annotations:
specificity_score: 0.1
specificity_rationale: Generic utility class/slot created during migration
custodian_types: "['*']"