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

63 lines
2 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_code
- ../slots/has_quantity
- ../slots/contain
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_quantity
- contain
- has_code
slot_usage:
has_quantity:
range: integer
required: true
inlined: false # Fixed invalid inline for primitive type
description: 'The quantified value of this main part. For capital budget:
Quantity.quantity_value = amount, currency in metadata.'
examples:
- value:
has_quantity: null
part_type: capital_budget
currency_code: EUR
- value:
has_quantity: null
part_type: capital_budget
currency_code: USD
annotations:
specificity_score: 0.4
specificity_rationale: Main parts are moderately specific, relevant for budget
and allocation queries.
custodian_types: '[''*'']'