- 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`.
44 lines
1.6 KiB
YAML
44 lines
1.6 KiB
YAML
id: https://nde.nl/ontology/hc/class/WikidataAlignment
|
|
name: WikidataAlignment
|
|
title: Wikidata Alignment
|
|
prefixes:
|
|
linkml: https://w3id.org/linkml/
|
|
hc: https://nde.nl/ontology/hc/
|
|
skos: http://www.w3.org/2004/02/skos/core#
|
|
wdt: http://www.wikidata.org/prop/direct/
|
|
rdfs: http://www.w3.org/2000/01/rdf-schema#
|
|
default_prefix: hc
|
|
imports:
|
|
- linkml:types
|
|
- ../slots/has_or_had_identifier
|
|
- ../slots/has_or_had_label
|
|
- ../slots/has_or_had_rationale
|
|
- ../slots/has_or_had_type
|
|
classes:
|
|
WikidataAlignment:
|
|
class_uri: hc:WikidataAlignment
|
|
description: "Structured metadata for Wikidata entity alignment.\nReplaces fragmented annotations with a proper structured object.\n\n**Example**:\n```yaml\nwikidata_alignment:\n entity_id: Q27032435\n entity_label: \"academic archive\"\n mapping_type: exact\n mapping_rationale: \"AcademicArchive is semantically equivalent to Q27032435\"\n```\n"
|
|
slots:
|
|
- has_or_had_identifier
|
|
- has_or_had_label
|
|
- has_or_had_type
|
|
- has_or_had_rationale
|
|
slot_usage:
|
|
has_or_had_identifier:
|
|
range: WikiDataIdentifier
|
|
examples:
|
|
- value: "qid: Q27032435"
|
|
has_or_had_label:
|
|
range: string
|
|
examples:
|
|
- value: "academic archive"
|
|
has_or_had_rationale:
|
|
range: string
|
|
examples:
|
|
- value: "AcademicArchive is semantically equivalent to Q27032435"
|
|
has_or_had_type:
|
|
range: uriorcurie
|
|
annotations:
|
|
specificity_score: 0.3
|
|
specificity_rationale: Universal utility for Wikidata alignment metadata
|
|
custodian_types: "['*']"
|