glam/schemas/20251121/linkml/modules/classes/CollectionContent.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

62 lines
2.5 KiB
YAML

id: https://nde.nl/ontology/hc/class/CollectionContent
name: CollectionContent
title: Collection Content
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
dcterms: http://purl.org/dc/terms/
rico: https://www.ica.org/standards/RiC/ontology#
schema: http://schema.org/
prov: http://www.w3.org/ns/prov#
crm: http://www.cidoc-crm.org/cidoc-crm/
skos: http://www.w3.org/2004/02/skos/core#
rdfs: http://www.w3.org/2000/01/rdf-schema#
org: http://www.w3.org/ns/org#
xsd: http://www.w3.org/2001/XMLSchema#
default_prefix: hc
imports:
- linkml:types
- ../slots/has_or_had_type
classes:
CollectionContent:
class_uri: hc:CollectionContent
description: "Represents content held within a collection, with typed categorization.\n\
\n**RULE 53 MIGRATION**:\nReplaces the simple `collection_type` string slot\
\ with a structured model:\n- `has_or_had_content` → CollectionContent (this\
\ class)\n- `has_or_had_type` → CollectionContentType (categorization)\n\n**USAGE**:\n\
```yaml\nhas_or_had_content:\n - content_description: \"Medieval manuscripts\
\ and parish registers\"\n has_or_had_type:\n - type_label: Archival\n\
\ - type_label: Library\n```\n\n**CHARACTERISTICS**:\n- Supports multiple\
\ content types per collection\n- Provides structured categorization\n- Links\
\ to CollectionContentType taxonomy\n"
slots:
- has_or_had_type
slot_usage:
has_or_had_type:
range: uriorcurie
multivalued: true
inlined: true
exact_mappings:
- rico:RecordResource
close_mappings:
- dcterms:BibliographicResource
annotations:
specificity_score: '0.45'
specificity_rationale: Moderately generic - applies broadly to collections.
template_specificity: '{"archive_search": 0.55, "museum_search": 0.50, "library_search":
0.55, "collection_discovery": 0.75, "person_research": 0.15, "location_browse":
0.25, "identifier_lookup": 0.20, "organizational_change": 0.10, "digital_platform":
0.30, "general_heritage": 0.45}'
custodian_types: '[''*'']'
examples:
- value:
has_or_had_type:
- type_label: Archival
- type_label: Library
- value:
has_or_had_type:
- type_label: Art
- type_label: Liturgical
comments:
- Created per slot_fixes.yaml migration (2026-01-19)
- 'RULE 53: Replaces collection_type string slot with structured model'