- Added `id`, `name`, `title`, and `description` fields to multiple LinkML class YAML files. - Standardized prefixes across all class definitions. - Introduced a new script `fix_linkml_metadata.py` to automate the addition of metadata to class files. - Updated existing class files to ensure compliance with the new metadata structure.
105 lines
3.2 KiB
YAML
105 lines
3.2 KiB
YAML
id: https://nde.nl/ontology/hc/class/Item
|
|
name: Item
|
|
title: Item
|
|
description: LinkML class definition for Item
|
|
prefixes:
|
|
linkml: https://w3id.org/linkml/
|
|
schema: http://schema.org/
|
|
skos: http://www.w3.org/2004/02/skos/core#
|
|
rico: https://www.ica.org/standards/RiC/ontology#
|
|
wd: http://www.wikidata.org/entity/
|
|
# Item - Generic heritage item class
|
|
# Created 2026-01-22 per slot_fixes.yaml revision for condition_on_return (Rule 53)
|
|
#
|
|
# Base class for heritage objects that can be loaned, returned, or transferred
|
|
#
|
|
id: https://nde.nl/ontology/hc/class/Item
|
|
name: Item
|
|
title: Item
|
|
|
|
prefixes:
|
|
linkml: https://w3id.org/linkml/
|
|
hc: https://nde.nl/ontology/hc/
|
|
schema: http://schema.org/
|
|
crm: http://www.cidoc-crm.org/cidoc-crm/
|
|
|
|
imports:
|
|
- linkml:types
|
|
- ../slots/has_or_had_identifier
|
|
- ../slots/has_or_had_label
|
|
- ../slots/has_or_had_description
|
|
- ./Identifier
|
|
- ./Description
|
|
|
|
default_prefix: hc
|
|
|
|
classes:
|
|
Item:
|
|
class_uri: crm:E22_Human-Made_Object
|
|
description: |
|
|
A heritage item that can be subject to loans, returns, or custody transfers.
|
|
|
|
Maps to CIDOC-CRM E22 Human-Made Object, the base class for physical
|
|
heritage objects created by human activity.
|
|
|
|
**USE CASES**:
|
|
1. **Loan Records**: Items loaned out and returned
|
|
2. **Custody Transfers**: Items changing custodianship
|
|
3. **Conservation**: Items undergoing treatment
|
|
|
|
**RELATIONSHIP TO OTHER CLASSES**:
|
|
- More specific than Collection (individual vs. aggregate)
|
|
- Used by ReturnEvent.item_returned
|
|
- Used by Loan.loaned_items
|
|
|
|
**Migration (2026-01-22)**:
|
|
Created as part of condition_on_return migration per slot_fixes.yaml (Rule 53)
|
|
|
|
exact_mappings:
|
|
- crm:E22_Human-Made_Object
|
|
|
|
close_mappings:
|
|
- schema:Thing
|
|
- schema:Product
|
|
|
|
slots:
|
|
- has_or_had_identifier
|
|
- has_or_had_label
|
|
- has_or_had_description
|
|
|
|
slot_usage:
|
|
has_or_had_identifier:
|
|
range: Identifier
|
|
multivalued: true
|
|
description: Identifiers for this item (accession number, inventory number, etc.)
|
|
has_or_had_label:
|
|
range: string
|
|
description: Human-readable name/title of the item
|
|
has_or_had_description:
|
|
range: Description
|
|
description: Description of the item
|
|
|
|
annotations:
|
|
custodian_types: '["*"]'
|
|
custodian_types_rationale: "All heritage custodians may hold items."
|
|
specificity_score: 0.3
|
|
specificity_rationale: "Generic base class for heritage items - broadly applicable."
|
|
|
|
examples:
|
|
- value:
|
|
has_or_had_identifier:
|
|
- identifier_scheme: ACCESSION
|
|
identifier_value: "2024.001"
|
|
has_or_had_label: "Girl with a Pearl Earring"
|
|
has_or_had_description:
|
|
description_text: "Oil on canvas by Johannes Vermeer, c. 1665"
|
|
description: Painting item
|
|
|
|
- value:
|
|
has_or_had_identifier:
|
|
- identifier_scheme: INVENTORY
|
|
identifier_value: "MS-1234"
|
|
has_or_had_label: "Medieval manuscript"
|
|
has_or_had_description:
|
|
description_text: "Illuminated manuscript on vellum, 13th century"
|
|
description: Manuscript item
|