I would like to be able to apply a spatial definition query to a layer.
I.e. Select features from this pointlayer that are within a feature from buildingpolygons.
Defining a query must be as easy as it can be done in the Select By Location dialog.
The result of the query is updated when features that are involved are modified.