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

50 lines
1.7 KiB
YAML

id: https://nde.nl/ontology/hc/slot/base_surname
name: base_surname
title: Base Surname
prefixes:
pnv: https://w3id.org/pnv#
schema: http://schema.org/
foaf: http://xmlns.com/foaf/0.1/
hc: https://nde.nl/ontology/hc/
imports:
- linkml:types
slots:
base_surname:
slot_uri: pnv:baseSurname
description: >-
Family name WITHOUT prefixes, used for alphabetical sorting.
In Dutch naming conventions, surnames with prefixes (tussenvoegsels) like
"van", "de", "van der", etc. are sorted by the main surname element,
ignoring the prefix.
This property captures just the sortable surname component:
Examples:
- "de Vries" → base_surname: "Vries" (sorts under V)
- "van den Berg" → base_surname: "Berg" (sorts under B)
- "van der Waals" → base_surname: "Waals" (sorts under W)
- "in 't Veld" → base_surname: "Veld" (sorts under V)
Equivalent to BioDes:geslachtsnaam in Dutch heritage standards.
IMPORTANT: Belgian Dutch and some international conventions may sort
by the full surname including prefix. In those cases, use the full
surname here or handle sorting differently in your application.
For surnames without prefixes, base_surname equals the full surname:
- "Jansen" → base_surname: "Jansen"
- "Bakker" → base_surname: "Bakker"
range: string
exact_mappings:
- pnv:baseSurname
close_mappings:
- schema:familyName
- foaf:familyName
- foaf:surname
related_mappings:
- foaf:lastName
comments:
- >-
pnv:baseSurname is from Person Name Vocabulary (https://w3id.org/pnv#).
Uses pnv: namespace directly as the primary slot_uri.