Traqula
    Preparing search index...
    mapAggregate: AlgebraIndir<
        "mapAggregate",
        MapAggregateType,
        [MapAggregateType, Record<string, ExpressionAggregate>],
    > = ...

    Rewrites some of the input sparql object to make use of aggregate variables It thus replaces aggregates by their representative variable and registers the mapping.