Context
I'm use to programming and using SQL commands to get data from a database or other structure.
Question
Is there a tool that allows me to say count (and possibly show) all images (in a Lightroom catalog) at a given location with a certain tag? (E.g. the tag "sunset" and at a GPS coordinate). I know Lightroom can sort by time, camera and other gear but I'm not sure the best approach for that.