Simple example using SelectionQuerySource()?

Is there a simple example of pvpython code that shows the correct use SelectionQuerySource()?

SelectionQuerySource() was recommended as a solution that allows to include selections in the saved state. However, I’ve tried to use SelectionQuerySource() in multiple ways but I’m not able to get it to work.

A very simple example would be best, e. g. a pipeline consisting of one of the internal data sources of ParaView (e. g. Wavelet()) and a subsequent selection based on this data source (e. g. points with RTData>100).