Class: Glossarist::Rdf::GlossPartitiveRelation
- Inherits:
-
GlossNaryRelation
- Object
- Lutaml::Model::Serializable
- GlossNaryRelation
- Glossarist::Rdf::GlossPartitiveRelation
- Defined in:
- lib/glossarist/rdf/gloss_partitive_relation.rb
Overview
RDF view for V3::PartitiveHyperedge. Inherits structure and
helpers from GlossNaryRelation. The rdf do block re-declares
the predicates because lutaml-model's rdf DSL replaces the
parent mapping (not extends).
Class Method Summary collapse
Methods inherited from GlossNaryRelation
Class Method Details
.deterministic_id(rel) ⇒ Object
34 35 36 37 38 39 40 41 |
# File 'lib/glossarist/rdf/gloss_partitive_relation.rb', line 34 def self.deterministic_id(rel) parts = [rel.identifier, rel.comprehensive_uri, rel.completeness, criterion_fingerprint(rel.criterion)] Array(rel.partitive_members).each do |m| parts << GlossPartitiveMember.deterministic_id(m) end DeterministicSlug.from_parts(*parts) end |