This video shows the configuration of the Query widget. This is very similar to the filter action. Think of this widget as a “select layer by location” type of action. The developer can set up the attribute type query or choose to add additional spatial filters such as an overlay operation of Intersect and other similar operations as well as limiting “selected” or “queried” features based on a shape as well as add a buffer or radius option to the query.
Reference: Query Widget