glam/schemas/20251121/linkml/modules/classes/LanguageCode.yaml
kempersc 11983014bb Enhance specificity scoring system integration with existing infrastructure
- Updated documentation to clarify integration points with existing components in the RAG pipeline and DSPy framework.
- Added detailed mapping of SPARQL templates to context templates for improved specificity filtering.
- Implemented wrapper patterns around existing classifiers to extend functionality without duplication.
- Introduced new tests for the SpecificityAwareClassifier and SPARQLToContextMapper to ensure proper integration and functionality.
- Enhanced the CustodianRDFConverter to include ISO country and subregion codes from GHCID for better geospatial data handling.
2026-01-05 17:37:49 +01:00

62 lines
1.6 KiB
YAML

# Heritage Custodian Language Code Class
# Represents ISO 639-1 two-letter language codes
id: https://nde.nl/ontology/hc/class/LanguageCode
name: language_code_class
title: LanguageCode Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
dcterms: http://purl.org/dc/terms/
schema: http://schema.org/
skos: http://www.w3.org/2004/02/skos/core#
rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
default_prefix: hc
imports:
- linkml:types
- ../metadata
# Slot imports
- ../slots/language_code
classes:
LanguageCode:
class_uri: dcterms:LinguisticSystem
description: |
ISO 639-1 two-letter language code.
Dublin Core: LinguisticSystem for language representation.
**Examples**: "nl", "en", "fr", "de", "es"
exact_mappings:
- dcterms:LinguisticSystem
- schema:Language
close_mappings:
- skos:Concept
slots:
- language_code
slot_usage:
language_code:
slot_uri: rdf:value
description: "ISO 639-1 code (e.g., 'nl', 'en')"
range: string
pattern: "^[a-z]{2}$"
required: true
annotations:
specificity_score: 0.5
specificity_rationale: General heritage class.
specificity_annotation_timestamp: '2026-01-05T10:51:51Z'
specificity_annotation_agent: opencode-claude-sonnet-4
template_specificity:
archive_search: 0.5
museum_search: 0.5
library_search: 0.5
collection_discovery: 0.5
person_research: 0.5
location_browse: 0.5
identifier_lookup: 0.5
organizational_change: 0.5
digital_platform: 0.5
general_heritage: 0.5