Class: Glossarist::V3::PartitiveHyperedge

Inherits:
AbstractHyperedge
  • Object
show all
Defined in:
lib/glossarist/v3/partitive_hyperedge.rb

Overview

PartitiveHyperedge — an ISO 704 / ISO 1087-1 / ISO 12620 partitive hyperedge connecting a comprehensive concept (superordinate concept partitive) to two or more partitive concepts (subordinate concepts partitive) which fitted together constitute the comprehensive.

Inherits structure and validations from AbstractHyperedge. The comprehensive field denotes the whole concept.

Per-file storage: lives at relations//.yaml — see docs/design/relations-as-files.md (concept-model repo).

The key_value mapping is inherited from AbstractHyperedge (single SSOT). Only the typed member collection is narrowed here.

Per-class metadata block — the SSOT for this leaf's external identifiers. Adding a new hyperedge type means declaring a new class with an equivalent block; no other file needs editing (parsers, serializers, validators, RDF emitters, and the loader all dispatch through HyperedgeRegistry by these constants).

Constant Summary collapse

WIRE_KEY =

YAML key on Concept (legacy bundled-format wire name; kept for backward compat with concept-model).

"partitive_relations"
TYPE_TAG =

Per-file type: discriminator in relations//.yaml.

"partitive_relation"
RDF_TYPE =

RDF type URI (gloss: ontology — concept-model contract).

"gloss:PartitiveRelation"
MEMBER_CLASS =

Member class — narrows the parent's members: HyperedgeMember.

PartitiveMember
V1_WIRE_KEYS =

Legacy v1 wire keys that migrate to this class on parse.

%w[partitive_hyperedges].freeze
KIND_LABEL =

Short label for diff display ("PART" / "GEN" / etc.).

"PART"

Constants inherited from AbstractHyperedge

AbstractHyperedge::DEFAULT_COMPLETENESS

Instance Attribute Summary

Attributes inherited from AbstractHyperedge

#file_id

Method Summary

Methods inherited from AbstractHyperedge

#complete?, #comprehensive_dir_name, #coordinate?, #criterion_slug, #derived_file_id, #file_path, #initialize, #partial?, #validate!

Constructor Details

This class inherits a constructor from Glossarist::V3::AbstractHyperedge