glam/schemas/20251121/linkml/modules/classes/Index.yaml
kempersc f18c7a5c3a Refactor address and asserter slots; migrate to has_or_had_* structure
- Updated manifest.json with new generated timestamp.
- Removed deprecated address_type and algorithm_name slots; migrated to has_or_had_type and has_or_had_label respectively.
- Updated Asserter.yaml to use has_or_had_* slots for asserter_contact, asserter_type, and asserter_version.
- Introduced IndexEntry class in Index.yaml for hierarchical index entries.
- Added DigitalPlatformType import to MailingListArchive.yaml and OnlineNewsArchive.yaml.
- Removed obsolete unit_type, algorithm_name, algorithm_version, asserter_contact, asserter_type, and asserter_version slot files.
- Archived removed slots in respective archive files.
- Updated slot_fixes.yaml to reflect migration statuses for asserter slots.
2026-01-17 15:34:11 +01:00

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