glam/schemas/20251121/linkml/modules/classes/AppreciationEvent.yaml
kempersc fcd1c21c63 Add aliases and enhance slot definitions across various modules
- Added new aliases for existing slots to improve clarity and usability, including:
  - has_deadline: has_embargo_end_date
  - has_extent: has_extent_text
  - has_fonds: has_fond
  - has_laboratory: conservation_lab
  - has_language: has_iso_code639_1, has_iso_code639_3
  - has_legal_basis: legal_basis
  - has_light_exposure: max_light_lux
  - has_measurement_unit: has_unit
  - has_note: has_custodian_observation
  - has_occupation: occupation
  - has_operating_hours: has_operating_hours
  - has_position: position
  - has_quantity: has_artwork_count, link_count
  - has_roadmap: review_date
  - has_skill: skill
  - has_speaker: speaker_label
  - has_specification: specification_url
  - has_statement: rights_statement_url, rights_statement
  - has_type: custodian_only
  - has_user_category: serves_visitors_only
  - hold_record_set: record_count
  - identified_by: has_index_number
  - in_period: has_period
  - in_place: has_place
  - in_series: has_series
  - measure: has_measurement
  - measured_on: measurement_date
  - organized_by: has_organizer
  - originate_from: has_origin
  - part_of: suborganization_of
  - published_on: has_publication_date
  - receive_investment: has_investment
  - related_to: connection_heritage_type
  - require: preservation_requirement
  - safeguarded_by: current_keeper, record_holder_note
  - state: states_or_stated
  - take_comission: takes_or_took_comission
  - take_place_at: takes_or_took_place_at
  - transmit_through: transmits_or_transmitted_through
  - warrant: warrants_or_warranted

- Introduced a new slot definition for evaluated_through to capture evaluation methodologies and review statuses.
2026-02-14 14:41:49 +01:00

96 lines
3.8 KiB
YAML

id: https://nde.nl/ontology/hc/class/AppreciationEvent
name: appreciation_event_class
title: Appreciation Event Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
as: https://www.w3.org/ns/activitystreams#
prov: http://www.w3.org/ns/prov#
imports:
- linkml:types
- ../metadata
- ../slots/has_quantity
- ../slots/has_measurement_unit
- ../slots/temporal_extent
default_prefix: hc
classes:
AppreciationEvent:
class_uri: as:Like
description: "Appreciation or engagement event for digital content.\n\n**PURPOSE**:\n\
\nStructured representation of appreciation metrics (likes, favorites,\nupvotes,\
\ reactions) for digital content such as videos, comments, and posts.\nReplaces\
\ simple integer counts with rich event data.\n\n**DESIGN RATIONALE**:\n\nCreated\
\ per slot_fixes.yaml migration from `comment_like_count` integer\nto structured\
\ `appreciated` + `AppreciationEvent` with\n`has_quantity`\
\ + `Quantity` for metric representation.\n\n**APPRECIATION TYPES**:\n\n| Type\
\ | Description | Platforms |\n|------|-------------|-----------|\n| like |\
\ Standard like/thumbs up | YouTube, Facebook, Instagram |\n| favorite | Favorite/bookmark\
\ | Twitter, YouTube |\n| upvote | Upvote/positive rating | Reddit, StackOverflow\
\ |\n| reaction | Emoji reaction | Facebook, Slack |\n| share | Share/repost\
\ | All platforms |\n\n**ONTOLOGY ALIGNMENT**:\n\n| Ontology | Class/Property\
\ | Usage |\n|----------|----------------|-------|\n| **Activity Streams** |\
\ `as:Like` | Social appreciation activity |\n| **Schema.org** | `schema:InteractionCounter`\
\ | Engagement metrics |\n| **PROV-O** | `prov:Activity` | Event modeling |\n\
\n**EXAMPLE**:\n\n```yaml\nappreciated:\n - appreciation_type: like\n\
\ has_quantity:\n numeric_value: 42\n has_unit:\n\
\ unit_label: \"likes\"\n temporal_extent:\n begin_of_the_begin:\
\ \"2025-01-14T10:00:00Z\"\n```\n"
exact_mappings:
- as:Like
close_mappings:
- schema:InteractionCounter
- prov:Activity
slots:
- has_quantity
- has_measurement_unit
- temporal_extent
slot_usage:
has_quantity:
range: integer
inlined: false # Fixed invalid inline for primitive type
required: false
examples:
- value:
numeric_value: 42
has_measurement_unit:
unit_label: likes
has_measurement_unit:
# range: string
inlined: false # Fixed invalid inline for primitive type
required: false
examples:
- value:
unit_label: likes
temporal_extent:
range: TimeSpan
inlined: true
required: false
examples:
- value:
begin_of_the_begin: '2025-01-14T10:00:00Z'
examples:
- value: null
- value:
has_quantity:
numeric_value: 42
has_unit:
unit_label: likes
temporal_extent:
begin_of_the_begin: '2025-01-14T10:00:00Z'
- value: null
comments:
- Created 2026-01-22 from comment_like_count migration (Rule 53)
- Models appreciation metrics as structured events
- Supports multiple appreciation types (likes, favorites, etc.)
- Includes temporal observation tracking
see_also:
- https://www.w3.org/ns/activitystreams#Like
- https://schema.org/InteractionCounter
annotations:
custodian_types: '["*"]'
custodian_types_rationale: Universal - any custodian with digital content may
track appreciation.
specificity_score: '0.60'
specificity_rationale: Moderately specific - primarily for digital content engagement
contexts.