glam/schemas/20251121/linkml/modules/classes/ReviewsSummary.yaml
kempersc 1fb924c412 feat: add ontology mappings to LinkML schema and enhance entity resolution
Schema enhancements (443 files):
- Add class_uri with proper ontology references (schema:, prov:, skos:, rico:)
- Add close_mappings, related_mappings per Rule 50 convention
- Replace stub hc: slot_uri with standard predicates (dcterms:identifier, skos:prefLabel)
- Improve descriptions with ontology mapping rationale
- Add prefixes blocks to all schema modules

Entity Resolution improvements:
- Add entity_resolution module with email semantics parsing
- Enhance build_entity_resolution.py with email-based matching signals
- Extend Entity Review API with filtering by signal types and count
- Add candidates caching and indexing for performance
- Add ReviewLoginPage component

New rules and documentation:
- Add Rule 51: No Hallucinated Ontology References
- Add .opencode/rules/no-hallucinated-ontology-references.md
- Add .opencode/rules/slot-ontology-mapping-reference.md
- Add adms.ttl and dqv.ttl ontology files

Frontend ontology support:
- Add RiC-O_1-1.rdf and schemaorg.owl to public/ontology
2026-01-13 13:51:02 +01:00

54 lines
1.7 KiB
YAML

# ReviewsSummary - Breakdown of reviews by star rating
# Extracted from custodian_source.yaml per Rule 38 (modular schema files)
# Extraction date: 2026-01-08
id: https://nde.nl/ontology/hc/classes/ReviewsSummary
name: ReviewsSummary
title: ReviewsSummary
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#
imports:
- linkml:types
default_range: string
classes:
ReviewsSummary:
description: >-
Breakdown of reviews by star rating (1-5 stars), showing the count
of reviews at each rating level. Provides aggregate review statistics
for heritage institutions from platforms like Google Maps.
Ontology mapping rationale:
- class_uri is schema:AggregateRating because this represents
aggregated review statistics with count breakdowns by rating
- close_mappings includes schema:Rating as this involves rating data
- related_mappings includes prov:Entity for provenance tracking
class_uri: schema:AggregateRating
close_mappings:
- schema:Rating
related_mappings:
- prov:Entity
attributes:
5_star:
range: integer
description: Number of 5-star reviews
4_star:
range: integer
description: Number of 4-star reviews
3_star:
range: integer
description: Number of 3-star reviews
2_star:
range: integer
description: Number of 2-star reviews
1_star:
range: integer
description: Number of 1-star reviews