Forester 4.2 › New query language › Relational queries › Built-in relation symbols [00WX]

Forester includes several built-in relation symbols, maintained as graphs that are accumulated during evaluation:

  • \rel/transclusion contains an edge from x to y when x directly transcludes y, i.e. contains \transclude{y}.
  • \rel/links contains an edge from x to y when x links to y, i.e. contains something like [...](y) or [[y]].
  • \rel/taxa contains an edge from x to y when x has taxon y, i.e. contains \taxon{Y}.
  • \rel/tags contains an edge from x to y when x has tag y, i.e. contains \tag{y}.
  • \rel/authors contains an edge from x to y when x has author y, i.e. contains \author{y}.
  • \rel/contributors contains an edge from x to y when x is a tree with contributor y, i.e. contains \contributor{y}.

The implementation supports arbitrarily many relation symbols; this is not yet exposed to the user, but could in the future be employed by advanced users of Forester to support the development of sophisticated ontologies.