Create a query on the Query Template object.
Add in Class type. Module. Name,Class Type. Title, Title atteibutes and add a criteria on Is Default = true.
That will give you the module, object and the default query.
It won't list any objects though that do not have a default query specified
Thanks so much for that, your answer is great