Build a query statement to explore OpenGov entities