glam/schemas/20251121/linkml/modules/classes/Category.yaml
kempersc fc405445c6 Refactor and update schema definitions
- Removed obsolete slots: `has_or_had_custodian_observation`, `provider`, and `specificity_annotation`.
- Updated `has_or_had_score` slot to use `SpecificityScore` class and modified its description and examples.
- Added new slots: `end_seconds`, `end_time`, `has_archive_path`, `has_or_had_custodian_name`, `protocol_name`, and `protocol_version`.
- Introduced a script `check_annotation_types.py` to validate the presence and structure of `custodian_types` in YAML files.
- Added a script `update_specificity.py` to automate updates related to `SpecificityAnnotation` to `SpecificityScore`.
2026-02-01 19:55:38 +01:00

98 lines
3.2 KiB
YAML

id: https://nde.nl/ontology/hc/class/Category
name: category_class
title: Category Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
skos: http://www.w3.org/2004/02/skos/core#
dcterms: http://purl.org/dc/terms/
schema: http://schema.org/
imports:
- linkml:types
- ../slots/has_or_had_score
default_range: string
enums:
CategoryTypeEnum:
description: Types of categories for classification.
permissible_values:
SUBJECT:
description: Subject or topic category (art, science, history)
meaning: skos:Concept
THEME:
description: Thematic category (Dutch Golden Age, WWII, Islamic art)
MATERIAL:
description: Material or medium category (paintings, manuscripts, specimens)
GEOGRAPHIC:
description: Geographic category (European, Asian, African)
TEMPORAL:
description: Temporal/period category (Medieval, Renaissance, Contemporary)
CREATOR:
description: Creator-focused category (single artist, school, movement)
TYPOLOGY:
description: Typological category (portraits, landscapes, genre scenes)
FORMAT:
description: Format category (books, photographs, digital)
GENRE:
description: Genre category (fiction, documentary, liturgical)
classes:
Category:
class_uri: skos:Concept
description: 'A category or classification term, based on SKOS Concept model.
Categories represent hierarchical or faceted classifications used to describe
the focus, subject, or scope of collections and items.
**Use cases**: - Collection focus (thematic specialization) - Subject classification
(AAT, LCSH, custom vocabularies) - Material classification (medium, format)
- Geographic scope (regions, countries) - Temporal scope (periods, eras)
**Examples**: - "Dutch Golden Age paintings" (THEME + TEMPORAL + MATERIAL) -
"Lepidoptera" (SUBJECT, scientific classification) - "First edition literature"
(FORMAT + TYPOLOGY)'
exact_mappings:
- skos:Concept
close_mappings:
- schema:DefinedTerm
- dcterms:subject
slots:
- has_or_had_score
comments:
- Created per slot_fixes.yaml revision for collection_focus migration
- SKOS-based category model for collection classification
- 'RULE 53: Part of collection_focus → has_or_had_category + Category migration'
annotations:
specificity_score: 0.45
specificity_rationale: Broadly useful - applies to many collection contexts
custodian_types: '[''*'']'
examples:
- value: 'category_name: "Dutch Golden Age paintings"
category_type: THEME
category_description: "Paintings from the Dutch Golden Age (17th century)"
broader_category: "European paintings"
vocabulary_source: "AAT"
'
- value: 'category_name: "Lepidoptera"
category_type: SUBJECT
category_description: "Butterflies and moths"
broader_category: "Insects"
vocabulary_source: "ITIS"
'
- value: 'category_name: "First edition literature"
category_type: FORMAT
category_description: "First printings of literary works"
broader_category: "Rare books"
'