glam/schemas/20251121/linkml/modules/classes/Comment.yaml
kempersc ca4a54181e Refactor schema files to improve clarity and maintainability
- Updated WorldCatIdentifier.yaml to remove unnecessary description and ensure consistent formatting.
- Enhanced WorldHeritageSite.yaml by breaking long description into multiple lines for better readability and removed unused attributes.
- Simplified WritingSystem.yaml by removing redundant attributes and ensuring consistent formatting.
- Cleaned up XPathScore.yaml by removing unnecessary attributes and ensuring consistent formatting.
- Improved YoutubeChannel.yaml by breaking long description into multiple lines for better readability.
- Enhanced YoutubeEnrichment.yaml by breaking long description into multiple lines for better readability.
- Updated YoutubeVideo.yaml to break long description into multiple lines and removed legacy field name.
- Refined has_or_had_affiliation.yaml by removing unnecessary comments and ensuring clarity.
- Cleaned up is_or_was_retrieved_at.yaml by removing unnecessary comments and ensuring clarity.
- Added rules for generic slots and avoiding rough edits in schema files to maintain structural integrity.
- Introduced changes_or_changed_through.yaml to define a new slot for linking entities to change events.
2026-01-31 00:46:23 +01:00

72 lines
No EOL
1.7 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
- ./Author
- ./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
attributes:
comment_date:
range: datetime
description: Date/time the comment was made
likes_count:
range: integer
description: Number of likes on the comment
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'