glam/schemas/20251121/linkml/modules/classes/Currency.yaml
kempersc 90842851c2 Add slot definitions for 'updated_at' and 'written_in' with multilingual support and ontology alignment
- Created 'updated_at.yaml' to record the last modified date and time of entities, including multilingual descriptions and structured aliases.
- Created 'written_in.yaml' to specify the language in which content is composed, covering both natural and programming languages, with detailed comments and close ontology mappings.
2026-02-07 11:22:05 +01:00

97 lines
3.8 KiB
YAML

id: https://nde.nl/ontology/hc/class/Currency
name: Currency
title: Currency Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
qudt: http://qudt.org/schema/qudt/
dcterms: http://purl.org/dc/terms/
imports:
- linkml:types
- ../slots/20260202_matang/new/currency_code
- ../slots/20260202_matang/new/currency_symbol
- ../slots/20260202_matang/has_description
- ../slots/20260202_matang/identified_by
- ../slots/20260202_matang/has_label
- ../slots/20260202_matang/has_score
default_prefix: hc
classes:
Currency:
class_uri: schema:Currency
description: "A currency used for monetary values.\n**SCHEMA.ORG ALIGNMENT**:\nMaps to `schema:Currency` - \"A currency as defined by ISO 4217.\"\n**ISO 4217 STANDARD**:\nISO 4217 defines three-letter currency codes:\n| Code | Currency | Symbol | |------|----------|--------| | EUR | Euro | \u20AC | | USD | US Dollar | $ | | GBP | British Pound | \xA3 | | JPY | Japanese Yen | \xA5 | | CHF | Swiss Franc | CHF |\n**WHY NOT JUST USE STRING?**\nSimple string fields like `budget_currency: \"EUR\"` lose important context: - Symbol for display purposes - Full name for accessibility - Historical validity (currencies change over time) - Link to authoritative ISO 4217 standard\nThe Currency class captures this richness while remaining simple for basic use.\n**HISTORICAL CURRENCIES**:\nHeritage institutions often deal with historical currencies: - NLG (Dutch Guilder) - replaced by EUR in 2002 - DEM (German Mark) - replaced by EUR in 2002 - FRF (French Franc) - replaced by EUR in 2002\nThe temporal\
\ naming pattern (has_currency) accommodates this.\n**EXAMPLE**:\n```yaml Currency:\n currency_code: EUR\n currency_name: Euro\n currency_symbol: \u20AC\n```"
exact_mappings:
- schema:Currency
close_mappings:
- qudt:CurrencyUnit
slots:
- identified_by
- currency_code
- has_label
- currency_symbol
- has_description
- has_score
slot_usage:
identified_by:
# range: string # uriorcurie
required: false
examples:
- value: https://nde.nl/ontology/hc/currency/EUR
currency_code:
# range: string
required: true
pattern: ^[A-Z]{3}$
examples:
- value: EUR
- value: USD
- value: GBP
- value: NLG
has_label:
# range: string
required: false
examples:
- value: Euro
- value: US Dollar
- value: Dutch Guilder
currency_symbol:
# range: string
required: false
examples:
- value: "\u20AC"
- value: $
- value: "\xA3"
- value: "\u0192"
has_description:
# range: string
required: false
examples:
- value: Official currency of the Eurozone since 1999
- value: Dutch national currency until replaced by Euro in 2002
comments:
- Currency models monetary unit with ISO 4217 code and metadata
- Replaces simple string currency fields with structured data
- Uses Schema.org Currency as primary ontology mapping
- Supports both current and historical currencies
see_also:
- https://schema.org/Currency
- https://www.iso.org/iso-4217-currency-codes.html
examples:
- value:
currency_code: EUR
has_label: Euro
currency_symbol: "\u20AC"
has_description: Official currency of the Eurozone
- value:
currency_code: NLG
has_label: Dutch Guilder
currency_symbol: "\u0192"
has_description: Dutch national currency until replaced by Euro in 2002
- value:
currency_code: USD
has_label: US Dollar
currency_symbol: $
annotations:
specificity_score: 0.1
specificity_rationale: Generic utility class/slot created during migration
custodian_types: "['*']"