You can insert a saved query that fits the context of the item for each item while defining a query.
Prerequisite
Definition level is selected for the query item.
Procedure
The query is inserted.