Traqula docs
    Preparing search index...
    algTermMentionsVariable: AstIndir<
        "termMentionsVariable",
        boolean,
        [RDF.Term, RDF.Variable],
    > = ...

    Whether the term mentions the variable. A SPARQL 1.1 term only does so by being the variable.

    the term to search.

    the variable to find.

    whether the variable occurs in the term.