glam/schemas/20251121/linkml/modules/classes/Image.yaml
kempersc b61572f08a feat: Add CreationEvent, DatePrecision, IdentificationEvent, and Image classes with structured slots
- Introduced CreationEvent class to represent the creation of objects, including temporal extent, creator, and place of creation.
- Added DatePrecision class to indicate the precision level of date values, supporting various formats from day to century.
- Implemented IdentificationEvent class for taxonomic identification, capturing identification date, method, and confidence level.
- Created Image class for visual content representation, including URL and metadata for images used in collections.
- Archived previous slots related to card images and titles, replacing them with structured slots for better data representation.
- Enhanced slots for decommission dates, degree of certainty, and identification events to improve temporal data handling.
2026-01-23 23:15:43 +01:00

98 lines
2.8 KiB
YAML

id: https://nde.nl/ontology/hc/class/Image
name: image_class
title: Image Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
foaf: http://xmlns.com/foaf/0.1/
dcterms: http://purl.org/dc/terms/
imports:
- linkml:types
- ../slots/has_or_had_url
- ./URL
- ../slots/has_or_had_label
- ./Label
default_prefix: hc
classes:
Image:
class_uri: schema:ImageObject
description: >-
Represents a visual image with URL and metadata.
**PURPOSE**:
Image provides structured representation for visual content including:
- Thumbnail images for cards/previews
- Collection representative images
- Institutional logos and branding
- Digital object reproductions
**ONTOLOGY ALIGNMENT**:
| Ontology | Mapping | Rationale |
|----------|---------|-----------|
| Schema.org | schema:ImageObject | Primary class for images |
| FOAF | foaf:Image | Alternative image class |
**USE CASES**:
- Card preview thumbnails (card_image_url migration)
- Collection highlight images
- Object photographs
MIGRATED 2026-01-22: Created per slot_fixes.yaml revision for card_image_url.
exact_mappings:
- schema:ImageObject
- foaf:Image
slots:
- has_or_had_url
- has_or_had_label
slot_usage:
has_or_had_url:
range: URL
required: true
inlined: true
description: >-
URL where the image can be accessed.
URL.has_or_had_value contains the actual URI.
has_or_had_label:
range: Label
required: false
inlined: true
description: >-
Alt text or caption for the image.
Label.has_or_had_text contains the description.
attributes:
image_format:
range: string
required: false
description: >-
Image format (e.g., "JPEG", "PNG", "WEBP", "SVG").
width:
range: integer
required: false
description: Width in pixels.
height:
range: integer
required: false
description: Height in pixels.
examples:
- value:
has_or_had_url:
has_or_had_value: "https://example.org/images/card_thumb.jpg"
has_or_had_label:
has_or_had_text: "Collection preview thumbnail"
image_format: JPEG
width: 300
height: 200
description: Card thumbnail image with metadata
- value:
has_or_had_url:
has_or_had_value: "https://museum.nl/logo.svg"
image_format: SVG
description: Institutional logo
annotations:
specificity_score: 0.35
specificity_rationale: >-
Images are broadly useful across heritage contexts for visual representation.