Module: Glossarist::Rdf::V3

Defined in:
lib/glossarist/rdf/v3.rb,
lib/glossarist/rdf/v3/configuration.rb

Overview

V3 is the current (and only) RDF schema version.

All RDF view classes produce v3 gloss ontology output: namespace URI: www.glossarist.org/ontologies/v3/

Each version has its own Configuration module with a unique CONTEXT_ID so that V3 and (future) V4 classes are isolated in separate Lutaml::Model::GlobalContext registries.

When v4 is added:

- Create Rdf::V4::Configuration with CONTEXT_ID = :glossarist_rdf_v4
- Create V4 view classes (standalone or inheriting from V3)
- Register V4 classes in Rdf::V4::Configuration
- Update ConceptToGlossTransform to support v4
- V3 and V4 coexist — consumers choose which to use

Defined Under Namespace

Modules: Configuration

Constant Summary collapse

GlossaristNamespace =

Namespace

Namespaces::GlossaristNamespace
VIEW_CLASS_NAMES =

Single source of truth: add new view classes here once. Each entry is registered in the V3 type registry and

re-exported as a V3

constant.

%i[
  GlossLocality
  GlossPronunciation
  GlossGrammarInfo
  GlossConceptDate
  GlossReference
  GlossConceptSource
  GlossDetailedDefinition
  GlossNonVerbalRep
  GlossDesignation
  GlossExpression
  GlossAbbreviation
  GlossSymbol
  GlossLetterSymbol
  GlossGraphicalSymbol
  GlossPrefix
  GlossSuffix
  GlossLocalizedConcept
  GlossConcept
  GlossDocument
].freeze