Class: Glossarist::Rdf::GlossFigure

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/glossarist/rdf/gloss_figure.rb

Overview

RDF view for a dataset-level Figure entity (concept-model v3.1.0 K1).

Emits a gloss:Figure subject with:

- gloss:image — xsd:anyURI (the first image variant's src)
- gloss:caption — xsd:string (one language picked from the localized hash)
- dcterms:description — xsd:string (one language picked)

The Figure domain model (Glossarist::Figure) stores caption/description as language-keyed hashes; the K1 FigureShape constrains them to single xsd:string values, so the transform picks one language at build time.