Goal: Users can specify an exhaustive list of groupings using the |groupings=
parameter in the template (e.g., |groupings=Q1,Q2,Q3 for items,
|groupings=2020,2021,2022 for years, or |groupings=enwiki,frwiki for sitelinks).
SPARQL queries should then use VALUES clauses to constrain results to specified groupings