EQS: Dynamic ActorClass in "Generate set of actors"

Is it possible to reuse environment queries that generate a set of actors, but changing the “Searched Actor Class” from Code / Blueprint? I have a strategy game with different resources. Each resource is a blueprint based on a BP_Resource base class. I would like to avoid setting up a new EQS Query for each and every resource type. Instead I would like to set the desired actor class on a given EQS before running it.

There is a function ProvideActorsSet in the EQS Context class, but it seems to be for a different purpose. At least I can not assign the Context to an EQS Context in order to override the “Searched Actor Class”. I can only use the Context to override the Search Center.

Thanks in advance.