glam/schemas/20251121/linkml/modules/classes/MainPart.yaml
kempersc ca4a54181e Refactor schema files to improve clarity and maintainability
- Updated WorldCatIdentifier.yaml to remove unnecessary description and ensure consistent formatting.
- Enhanced WorldHeritageSite.yaml by breaking long description into multiple lines for better readability and removed unused attributes.
- Simplified WritingSystem.yaml by removing redundant attributes and ensuring consistent formatting.
- Cleaned up XPathScore.yaml by removing unnecessary attributes and ensuring consistent formatting.
- Improved YoutubeChannel.yaml by breaking long description into multiple lines for better readability.
- Enhanced YoutubeEnrichment.yaml by breaking long description into multiple lines for better readability.
- Updated YoutubeVideo.yaml to break long description into multiple lines and removed legacy field name.
- Refined has_or_had_affiliation.yaml by removing unnecessary comments and ensuring clarity.
- Cleaned up is_or_was_retrieved_at.yaml by removing unnecessary comments and ensuring clarity.
- Added rules for generic slots and avoiding rough edits in schema files to maintain structural integrity.
- Introduced changes_or_changed_through.yaml to define a new slot for linking entities to change events.
2026-01-31 00:46:23 +01:00

61 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/currency_code
- ../slots/has_or_had_quantity
- ../slots/part_type
- ./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: integer
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
currency_code:
range: string
required: false
examples:
- value:
has_or_had_quantity:
part_type: capital_budget
currency_code: EUR
- value:
has_or_had_quantity:
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: "['*']"