Does the Query Types or Family Filter fit your requirements?
The Query Family component is a bit superfluous but existing definitions may rely on it.