- Added MeasureUnitEnum.yaml to define standard measurement units for area, length, and related quantities, compliant with ISO 80000-1, QUDT, and UCUM. - Included units such as square meters, hectares, acres, meters, kilometers, and their conversions. feat: Create applies_or_applied_to_call slot for funding requirements - Introduced applies_or_applied_to_call.yaml to track funding calls related to requirements, following RiC-O naming conventions. chore: Archive annual_participants slot and migrate to has_or_had_annual_participant_count - Archived annual_participants_archived_20260115.yaml, replaced with has_or_had_annual_participant_count for better temporal naming. chore: Archive applies_to_call slot and migrate to applies_or_applied_to_call - Archived applies_to_call_archived_20260115.yaml, replaced with applies_or_applied_to_call for improved naming consistency. chore: Archive area_hectares slot and migrate to has_area_in_hectare - Archived area_hectares_archived_20260115.yaml, replaced with has_area_in_hectare for standardized area measurement. chore: Archive arrangement_notes slot and migrate to has_arrangement_note - Archived arrangement_notes_archived_20260115.yaml, replaced with has_arrangement_note for better naming alignment. chore: Archive available_caption_languages slot and migrate to has_available_caption_language - Archived available_caption_languages_archived_20260115.yaml, replaced with has_available_caption_language for improved naming. chore: Archive beneficiary_group slot and migrate to has_or_had_beneficiary - Archived beneficiary_group_archived_20260115.yaml, replaced with has_or_had_beneficiary for compliance with naming conventions. chore: Archive branch_head slot and migrate to has_or_had_head - Archived branch_head_archived_20260114.yaml, replaced with has_or_had_head for better semantic alignment. chore: Archive budget_currency slot - Archived budget_currency_archived_20260114.yaml for future migration. chore: Archive building_floor_area_sqm slot and migrate to has_or_had_area - Archived building_floor_area_sqm_archived_20260115.yaml, replaced with has_or_had_area for standardized area measurement. chore: Archive has_area_in_hectare slot and migrate to has_or_had_area - Archived has_area_in_hectare_archived_20260115.yaml, replaced with has_or_had_area for compliance with generic predicates. feat: Introduce has_or_had_area slot for area measurements - Added has_or_had_area.yaml as the authoritative slot for area measurements, compliant with Rule 53. feat: Introduce has_or_had_beneficiary slot for beneficiary tracking - Added has_or_had_beneficiary.yaml to identify beneficiaries of organizational programs, following RiC-O naming conventions. feat: Introduce has_or_had_currency slot for monetary values - Added has_or_had_currency.yaml to track currency associated with monetary amounts, compliant with ISO 4217. feat: Introduce has_or_had_head slot for organizational heads - Added has_or_had_head.yaml to link organizational units with their heads, following W3C ORG standards.
61 lines
1.4 KiB
YAML
61 lines
1.4 KiB
YAML
# TextSegment - Text segment/fragment class
|
|
#
|
|
# Created per slot_fixes.yaml migration for: xpath_matched_text
|
|
# Creation date: 2026-01-14
|
|
|
|
id: https://nde.nl/ontology/hc/class/TextSegment
|
|
name: TextSegment
|
|
title: Text Segment
|
|
|
|
prefixes:
|
|
linkml: https://w3id.org/linkml/
|
|
hc: https://nde.nl/ontology/hc/
|
|
schema: http://schema.org/
|
|
oa: http://www.w3.org/ns/oa#
|
|
|
|
default_prefix: hc
|
|
|
|
imports:
|
|
- linkml:types
|
|
- ../slots/has_or_had_text
|
|
|
|
classes:
|
|
TextSegment:
|
|
class_uri: oa:TextualBody
|
|
description: |
|
|
A segment or fragment of text extracted from a source.
|
|
|
|
**USAGE**:
|
|
Used for:
|
|
- XPath matched text
|
|
- Extracted text fragments
|
|
- Annotation bodies
|
|
|
|
slots:
|
|
- has_or_had_text
|
|
|
|
attributes:
|
|
source_xpath:
|
|
range: string
|
|
description: XPath expression that selected this text
|
|
|
|
start_offset:
|
|
range: integer
|
|
description: Character offset where segment starts
|
|
|
|
end_offset:
|
|
range: integer
|
|
description: Character offset where segment ends
|
|
|
|
exact_mappings:
|
|
- oa:TextualBody
|
|
|
|
annotations:
|
|
specificity_score: "0.50"
|
|
specificity_rationale: "Moderately specific - text extraction common in web scraping."
|
|
|
|
examples:
|
|
- value:
|
|
has_or_had_text: "The museum collection includes..."
|
|
source_xpath: "//div[@class='content']/p[1]"
|
|
description: Text segment from webpage
|