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

33 lines
1.2 KiB
YAML

id: https://nde.nl/ontology/hc/classes/WikidataApiMetadata
name: WikidataApiMetadata
title: WikidataApiMetadata
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#
http: http://www.w3.org/2011/http#
imports:
- linkml:types
default_range: string
classes:
WikidataApiMetadata:
description: "Metadata about Wikidata API calls including endpoint, timestamp,\
\ authentication status, response metrics, and rate limiting information.\n\
Ontology mapping rationale: - class_uri is prov:Activity because an API call\
\ is an activity that\n retrieves data from Wikidata.\n- close_mappings includes\
\ http:Request from W3C HTTP Vocabulary as\n API calls are HTTP requests.\n\
- related_mappings includes schema:Action as an API call is an action\n with\
\ inputs and outputs."
class_uri: prov:Activity
close_mappings:
- http:Request
related_mappings:
- schema:Action
- prov:Entity
annotations:
specificity_score: 0.1
specificity_rationale: Generic utility class/slot created during migration
custodian_types: '[''*'']'
slots: []