Forester 5.0 › New datalog-based query engine › New built-in relations [013D]
A few new built-in relations have been added.
\rel/is-node ?Xis a unary relation that holds for any tree address?X. This is needed when specifying reflexive binary relations: the clauseR ?X ?X -:is not allowed by datalog, so one must useR ?X ?X -: {\rel/is-node X}.\rel/transcludes/transitive-closureis the transitive closure of\rel/transcludes.\rel/transcludes/reflexive-transitive-closureis the reflexive transitive closure of\rel/transcludes.\rel/is-reference ?Xholds when?Xis designated as a reference/bibliographical tree. Currently, the built-in rules of the database deduce\rel/is-reference ?Xfor any tree?Xwith taxonReference. The purpose of abstracting from the taxon is to enable non-English users of Forester to benefit from the computation of bibliographies.- Similarly,
\rel/is-person ?Xholds when?Xis designated as a personal/biographical tree. Currently, the built-in rules of the database deduce\rel/is-reference ?Xfor any tree?Xwith taxonPerson. \rel/in-bundle-closure ?X ?Yis the reflexive transitive closure of the union of the transclusion relation with the relation of?Xrequiring the asset?Y. The purpose of this relation is to easily bundle up fragments of a forest (see § [30FN]).
All of these built-in relations can be defined in Forester’s dialect of datalog; they are predefined for convenience, and because they are used in the computation of backmatter.