Full Query component

This provides the latest features of `Query.js` to get data from the database.