glam/schemas/20251121/linkml/modules/classes/Currency.yaml
kempersc d3a65a496c Refactor slot names and descriptions across multiple YAML files for consistency and clarity
- Updated slot names to improve semantic clarity:
  - `has_type` changed to `categorized_as`
  - `has_location` changed to `located_at`
  - `coordinates` changed to `has_coordinates`
  - `country` changed to `in_country`
  - `like_count` changed to `has_quantity`

- Adjusted descriptions and annotations for slots to enhance understanding and alignment with ontology standards.

- Modified imports in `WomensArchives.yaml` and `WomensArchivesRecordSetTypes.yaml` to reflect new slot names.

- Enhanced multilingual support in `has_record_set` slot definition with additional translations and structured aliases.

- General cleanup and standardization of slot definitions across various classes including `Wikidata`, `Youtube`, and `WorkExperience`.
2026-02-11 11:54:34 +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/has_code
- ../slots/20260202_matang/symbolized_by
- ../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
- has_code
- has_label
- symbolized_by
- has_description
- has_score
slot_usage:
identified_by:
# range: string # uriorcurie
required: false
examples:
- value: https://nde.nl/ontology/hc/currency/EUR
has_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
symbolized_by:
# 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: "['*']"