- Created new YAML files for audience size and audience type slots, defining their properties and annotations. - Added archived capacity slots including cubic meters, linear meters, item count, and descriptions, with appropriate URIs and ranges. - Introduced a template specificity slot for context-aware RAG filtering. - Consolidated capacity-related slots into a unified structure, including has_or_had_capacity, capacity_type, and capacity_value, with detailed descriptions and examples.
157 lines
5.1 KiB
YAML
157 lines
5.1 KiB
YAML
# Index - Structured index/table of contents representation
|
|
#
|
|
# Created for: table_of_content migration per slot_fixes.yaml (Rule 53/56)
|
|
# Creation date: 2026-01-16
|
|
#
|
|
# MIGRATION: Replaces simple string-based table_of_content slot with structured class
|
|
# enabling rich index metadata (entries, hierarchy, page references)
|
|
|
|
id: https://nde.nl/ontology/hc/class/Index
|
|
name: index_class
|
|
title: Index Class
|
|
|
|
prefixes:
|
|
linkml: https://w3id.org/linkml/
|
|
hc: https://nde.nl/ontology/hc/
|
|
schema: http://schema.org/
|
|
dcterms: http://purl.org/dc/terms/
|
|
|
|
default_prefix: hc
|
|
|
|
imports:
|
|
- linkml:types
|
|
- ../slots/has_or_had_identifier
|
|
- ../slots/has_or_had_label
|
|
- ../slots/has_or_had_description
|
|
- ./IndexType
|
|
|
|
classes:
|
|
Index:
|
|
class_uri: hc:Index
|
|
description: |
|
|
A structured representation of an index, table of contents, or navigation structure.
|
|
|
|
**USAGE**:
|
|
Replaces simple string-based `table_of_content` slot per Rule 53/56 to enable:
|
|
- Hierarchical entry structures (chapters, sections, subsections)
|
|
- Page/location references
|
|
- Multiple index types (TOC, subject index, name index)
|
|
- Provenance tracking
|
|
|
|
**INDEX TYPES**:
|
|
- TableOfContents: Chapter/section listings for publications
|
|
- SubjectIndex: Alphabetical subject listings
|
|
- NameIndex: Author/person name listings
|
|
- ChronologicalIndex: Date-ordered entries
|
|
- TopicalIndex: Thematic groupings
|
|
|
|
**HERITAGE CONTEXT**:
|
|
Indices in exhibition catalogs, collection guides, archival finding aids,
|
|
and other heritage publications.
|
|
|
|
slots:
|
|
- has_or_had_identifier
|
|
- has_or_had_label
|
|
- has_or_had_description
|
|
- has_or_had_index_type
|
|
- index_entry
|
|
|
|
slot_usage:
|
|
has_or_had_identifier:
|
|
description: Unique identifier for this index
|
|
has_or_had_label:
|
|
description: Display label for the index (e.g., "Table of Contents")
|
|
multivalued: true
|
|
has_or_had_index_type:
|
|
range: IndexType
|
|
description: Type of index (TOC, subject index, etc.)
|
|
index_entry:
|
|
description: Entries in this index
|
|
multivalued: true
|
|
inlined_as_list: true
|
|
|
|
annotations:
|
|
specificity_score: 0.55
|
|
specificity_rationale: |
|
|
Indices are moderately specific - used in publications, catalogs,
|
|
finding aids but not universally across all heritage entities.
|
|
migration_source: "table_of_content slot"
|
|
migration_date: "2026-01-16"
|
|
migration_rule: "Rule 53/56"
|
|
|
|
examples:
|
|
- value:
|
|
has_or_had_identifier: hc:index/exhibition-catalog-2024-toc
|
|
has_or_had_label:
|
|
- Table of Contents@en
|
|
- Inhoudsopgave@nl
|
|
has_or_had_index_type:
|
|
has_or_had_identifier: hc:index-type/table-of-contents
|
|
index_entry:
|
|
- entry_label: "Introduction"
|
|
entry_page: "1"
|
|
entry_level: 1
|
|
- entry_label: "Chapter 1: Origins"
|
|
entry_page: "15"
|
|
entry_level: 1
|
|
- entry_label: "1.1 Early Collections"
|
|
entry_page: "18"
|
|
entry_level: 2
|
|
description: Table of contents for exhibition catalog
|
|
|
|
- value:
|
|
has_or_had_identifier: hc:index/catalog-subject-index
|
|
has_or_had_label:
|
|
- Subject Index@en
|
|
has_or_had_index_type:
|
|
has_or_had_identifier: hc:index-type/subject-index
|
|
index_entry:
|
|
- entry_label: "Art, Dutch Golden Age"
|
|
entry_page: "42, 78, 156"
|
|
- entry_label: "Ceramics, Delftware"
|
|
entry_page: "89-112"
|
|
description: Subject index with page ranges
|
|
|
|
comments:
|
|
- "Replaces string-based table_of_content per Rule 53/56 (2026-01-16)"
|
|
- "Enables hierarchical and typed index structures"
|
|
|
|
# IndexEntry class - a single entry in an index
|
|
IndexEntry:
|
|
class_uri: hc:IndexEntry
|
|
description: |
|
|
A single entry in an index.
|
|
attributes:
|
|
entry_label:
|
|
range: string
|
|
required: true
|
|
description: The text label for this entry (chapter title, subject term, etc.)
|
|
entry_page:
|
|
range: string
|
|
description: Page number or range (e.g., "42", "89-112", "42, 78, 156")
|
|
entry_level:
|
|
range: integer
|
|
description: Hierarchy level (1=top level, 2=subsection, etc.)
|
|
entry_uri:
|
|
range: uri
|
|
description: URI reference if this entry links to a digital resource
|
|
|
|
# Inline slot definitions for Index-specific slots
|
|
slots:
|
|
has_or_had_index_type:
|
|
slot_uri: hc:hasOrHadIndexType
|
|
description: |
|
|
The type of index (table of contents, subject index, name index, etc.).
|
|
range: IndexType
|
|
examples:
|
|
- value: "hc:index-type/table-of-contents"
|
|
description: Table of contents type
|
|
|
|
index_entry:
|
|
slot_uri: hc:indexEntry
|
|
description: |
|
|
An entry in this index. Each entry has a label, optional page/location reference,
|
|
and optional hierarchy level.
|
|
range: IndexEntry
|
|
multivalued: true
|
|
inlined_as_list: true
|