glam/schemas/20251121/linkml/modules/classes/MainPart.yaml

80 lines
2.5 KiB
YAML

id: https://nde.nl/ontology/hc/class/MainPart
name: main_part_class
title: Main Part Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
dcterms: http://purl.org/dc/terms/
imports:
- linkml:types
- ../slots/has_or_had_quantity
- ./Quantity
default_prefix: hc
classes:
MainPart:
class_uri: schema:QuantitativeValue
description: >-
Represents a principal/primary portion of something with quantified value.
**PURPOSE**:
MainPart provides structured representation for primary allocations such as:
- Capital budget (principal budget for infrastructure/equipment)
- Primary funding amount
- Main portion of a larger whole
**ONTOLOGY ALIGNMENT**:
| Ontology | Mapping | Rationale |
|----------|---------|-----------|
| Schema.org | schema:QuantitativeValue | Quantified value |
**USE CASES**:
- Capital budget allocation in institutional budgets
- Primary collection value
- Main funding allocation
MIGRATED 2026-01-22: Created per slot_fixes.yaml revision for capital_budget.
Replaces simple decimal capital_budget with structured class.
exact_mappings:
- schema:QuantitativeValue
slots:
- has_or_had_quantity
slot_usage:
has_or_had_quantity:
range: Quantity
required: true
inlined: true
description: >-
The quantified value of this main part.
For capital budget: Quantity.quantity_value = amount, currency in metadata.
attributes:
part_type:
range: string
required: false
description: >-
Type of main part (e.g., "capital_budget", "primary_allocation", "main_funding").
currency_code:
range: string
required: false
description: >-
ISO 4217 currency code for financial values (e.g., "EUR", "USD", "GBP").
examples:
- value:
has_or_had_quantity:
quantity_value: 3000000.0
part_type: capital_budget
currency_code: EUR
description: Capital budget of 3 million EUR
- value:
has_or_had_quantity:
quantity_value: 500000.0
part_type: capital_budget
currency_code: USD
description: Capital budget of 500,000 USD
annotations:
specificity_score: 0.40
specificity_rationale: >-
Main parts are moderately specific, relevant for budget and allocation queries.