glam/frontend/public/schemas/20251121/linkml/modules/classes/Alpha2Code.yaml
kempersc 53c6dbc2d9 feat(schema): Migrate temporal slots and introduce new pattern classes
Major slot migrations following slot_fixes.yaml revisions:
- TimeSpan: begin_of_the_begin, begin_of_the_end, end_of_the_begin, end_of_the_end
- Quantity: has_or_had_measurement_unit with MeasureUnit class
- Description: has_or_had_description with Description class
- URL, WikiData, Timestamp, Location, Provenance pattern classes

New slots for RiC-O compliance:
- Temporal: has_or_had_time_interval, calendar_system
- Transfer: is_or_was_transferred, has_or_had_policy
- Location: starts/ends_or_started/ended_at_location
- Provenance: has_or_had_provenance_path, is_or_was_webarchived_at

Archive deprecated slots per Rule 53 workflow.
2026-01-14 20:01:55 +01:00

68 lines
1.7 KiB
YAML

# Alpha2Code - ISO 3166-1 alpha-2 country code
#
# Created per slot_fixes.yaml migration for: alpha_2
# Creation date: 2026-01-14
# Rule compliance: 50 (ontology mapping)
id: https://nde.nl/ontology/hc/class/Alpha2Code
name: Alpha2Code
title: ISO 3166-1 Alpha-2 Country Code
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
skos: http://www.w3.org/2004/02/skos/core#
schema: http://schema.org/
default_prefix: hc
imports:
- linkml:types
- ../slots/has_or_had_code
classes:
Alpha2Code:
class_uri: skos:Concept
description: |
ISO 3166-1 alpha-2 country code (two-letter code).
**DEFINITION**:
A two-letter country code as defined by ISO 3166-1 alpha-2 standard.
Used for representing countries and dependent territories.
**EXAMPLES**:
- NL = Netherlands
- BE = Belgium
- DE = Germany
- US = United States
**ONTOLOGY ALIGNMENT**:
- SKOS Concept: Codes are concepts in ISO 3166-1 vocabulary
- Schema.org: addressCountry can use alpha-2 codes
slots:
- has_or_had_code
slot_usage:
has_or_had_code:
pattern: "^[A-Z]{2}$"
required: true
description: Two-letter ISO 3166-1 alpha-2 country code
examples:
- value: "NL"
description: Netherlands
- value: "BE"
description: Belgium
exact_mappings:
- skos:Concept
annotations:
specificity_score: "0.30"
specificity_rationale: "Low specificity - standard country codes used broadly."
examples:
- value:
has_or_had_code: "NL"
description: Netherlands country code