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

53 lines
1.7 KiB
YAML

# MergeNote - Note about a merge operation between duplicate entries
# Extracted from custodian_source.yaml per Rule 38 (modular schema files)
# Extraction date: 2026-01-08
id: https://nde.nl/ontology/hc/classes/MergeNote
name: MergeNote
title: MergeNote
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#
skos: http://www.w3.org/2004/02/skos/core#
imports:
- linkml:types
default_range: string
classes:
MergeNote:
description: >-
Documentation of a merge operation between duplicate entries, recording
the source entry identifier, merge date, and reason (e.g., duplicate
Wikidata ID, same place ID). Essential for entity resolution audit
trails.
Ontology mapping rationale:
- class_uri is prov:Entity because this documents a merge operation
result with full provenance (source, date, reason)
- close_mappings includes skos:note as this is essentially a note
documenting a change
- related_mappings includes prov:Activity as merging is an activity
and prov:Derivation for the derivation relationship
class_uri: prov:Entity
close_mappings:
- skos:note
related_mappings:
- prov:Activity
- prov:Derivation
attributes:
source:
range: string
description: Source entry identifier that was merged
merged_on:
range: string
description: Date when merge occurred (YYYY-MM-DD)
reason:
range: string
description: Reason for the merge (e.g., duplicate Wikidata ID, same place ID)