Module volksdata.triple

Volksdata Triple module.

this module handles triples, groups of 3 ??? objects.

Functions

new (s, p, o) Create a new triple from existing ??? objects.

Class volksdata.Triple

volksdata.triple.s Get information about a triple's term.
volksdata.triple:__gc (Triple) Garbage-collect a triple.


Functions

new (s, p, o)
Create a new triple from existing ??? objects.

Parameters:

  • s Term Subject.
  • p Term Predicate.
  • o Term Object.

Returns:

    Triple New triple.

Class volksdata.Triple

Triple class.
volksdata.triple.s
Get information about a triple's term.

Note that this is only a visual representation, as terms cannot be modified outside of their containing triple (unlike in the C library).

FIXME this doesn't allow chaining access methods, e.g. trp.s.data. To get an independent copy of a triple term, use ???.

  • s
  • p
  • o
  • trp Triple Triple to extract the term.
  • triple_pos int Position of the term in the triple.
volksdata.triple:__gc (Triple)
Garbage-collect a triple.

Parameters:

generated by LDoc 1.5.0 Last updated 2026-01-02 15:30:28