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

63 lines
1.5 KiB
YAML

id: https://nde.nl/ontology/hc/class/Comment
name: Comment
title: Comment
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
default_prefix: hc
imports:
- linkml:types
- ../slots/has_or_had_author
- ../slots/has_or_had_content
classes:
Comment:
class_uri: schema:Comment
description: 'A comment or annotation on content.
**USAGE**:
Used for:
- Video comments
- Review comments
- Annotations
'
slots:
- has_or_had_content
- has_or_had_author
slot_usage:
has_or_had_content:
range: string
inlined: true
required: true
examples:
- value:
has_or_had_description: Great video about the collection!
has_or_had_author:
range: Author
inlined: true
required: false
examples:
- value:
has_or_had_name: Visitor123
- value:
has_or_had_name: MuseumFan2024
has_or_had_identifier: https://youtube.com/channel/UC123
exact_mappings:
- schema:Comment
annotations:
specificity_score: '0.35'
specificity_rationale: Low specificity - comments are common web concept.
custodian_types: '[''*'']'
examples:
- value:
has_or_had_content:
has_or_had_description: Great video about the collection!
has_or_had_author:
has_or_had_name: Visitor123
comment_date: '2025-01-14T10:30:00Z'