Class: Glossarist::Rdf::GlossFigure
- Inherits:
-
Lutaml::Model::Serializable
- Object
- Lutaml::Model::Serializable
- Glossarist::Rdf::GlossFigure
- Defined in:
- lib/glossarist/rdf/gloss_figure.rb
Overview
RDF view for a dataset-level Figure entity (concept-model v3.1.0 K1+K2).
Emits a gloss:Figure subject with:
- gloss:image — xsd:anyURI (the first image variant's src, per K1
FigureShape which constrains it to min 1)
- gloss:caption — xsd:string (one language picked from the localized hash)
- dcterms:description — xsd:string (one language picked)
Per-variant foaf:Image subjects (K2 ImageShape) are emitted via the
images collection — each variant becomes its own subject with
dcterms:format and gloss:imageRole.
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.