glam/frontend/public/schemas/20251121/linkml/modules/classes/DatePrecision.yaml
kempersc 511fc99847 feat: Add PriceRange, Publication, and TaxDeductibility classes
- Introduced PriceRange class to categorize price levels for hospitality services, including structured metadata for various price categories.
- Added Publication class to represent publication events, capturing details like publisher, publication place, and edition.
- Created TaxDeductibilityType as an abstract class for tax deductibility status, promoting previous enum values to a class hierarchy for richer metadata.
- Implemented TaxDeductibilityTypes with concrete subclasses detailing various tax deductibility statuses.
- Archived previous DeductibilityStatusEnum and related slots, transitioning to a more structured approach for tax deductibility classification.
- Updated multiple slot definitions to align with new class structures and naming conventions, including has_or_had_measurement and has_or_had_price.
- Enhanced documentation and examples across new and existing slots for clarity and compliance with naming conventions.
2026-01-24 17:41:06 +01:00

105 lines
3.5 KiB
YAML

id: https://nde.nl/ontology/hc/class/DatePrecision
name: date_precision_class
title: DatePrecision Class
description: >-
Represents the precision level of a date value.
Used to indicate how specific date information is, from full day
precision to century-level approximations.
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
crm: http://www.cidoc-crm.org/cidoc-crm/
time: http://www.w3.org/2006/time#
imports:
- linkml:types
- ../slots/has_or_had_label
- ../slots/has_or_had_description
- ../slots/has_or_had_short_code
default_prefix: hc
classes:
DatePrecision:
class_uri: hc:DatePrecision
description: >-
Date precision level classification.
**Standard Precision Levels**:
| Level | Short Code | Format | Example |
|-------|------------|--------|---------|
| Day | DAY | YYYY-MM-DD | 2005-04-30 |
| Month | MONTH | YYYY-MM | 2005-04 |
| Year | YEAR | YYYY | 2005 |
| Decade | DECADE | YYYY0s | 2000s |
| Century | CENTURY | YYth century | 21st century |
| Unknown | UNKNOWN | - | Date mentioned but precision unclear |
**CIDOC-CRM Alignment**: Related to time dimension concepts in CRM.
**OWL Time Alignment**: Related to time:TemporalUnit for precision levels.
close_mappings:
- time:TemporalUnit
- crm:E52_Time-Span
slots:
- has_or_had_label
- has_or_had_short_code
- has_or_had_description
slot_usage:
has_or_had_label:
description: Human-readable name for the precision level.
range: string
required: true
examples:
- value: "Day"
description: Full date with day precision
- value: "Year"
description: Year-only precision
has_or_had_short_code:
description: >-
Short code identifier for the precision level.
Standard codes: DAY, MONTH, YEAR, DECADE, CENTURY, UNKNOWN
range: string
required: true
pattern: "^[A-Z]+$"
examples:
- value: "DAY"
description: Full date precision (YYYY-MM-DD)
- value: "YEAR"
description: Year-only precision (YYYY)
- value: "UNKNOWN"
description: Precision cannot be determined
has_or_had_description:
description: Detailed description of what this precision level means.
range: string
required: false
examples:
- value: "Full date with day precision (YYYY-MM-DD format)"
description: Day precision explanation
annotations:
specificity_score: 0.40
specificity_rationale: >-
Date precision is moderately specific - used primarily in
temporal data contexts.
custodian_types: '["*"]'
custodian_types_rationale: >-
Date precision applies universally to all custodian types.
examples:
- value:
has_or_had_label: "Day"
has_or_had_short_code: "DAY"
has_or_had_description: "Full date with day precision (YYYY-MM-DD)"
description: Day precision level
- value:
has_or_had_label: "Year"
has_or_had_short_code: "YEAR"
has_or_had_description: "Year-only precision (YYYY format)"
description: Year precision level
- value:
has_or_had_label: "Unknown"
has_or_had_short_code: "UNKNOWN"
has_or_had_description: "Date mentioned but precision cannot be determined"
description: Unknown precision level