In the person list there is a button in the top right with a lightning bolt iconĀ .
After selecting the persons you would like to include in your query, click this button and choose “Create query from selected”.
You will be redirected to your newly created query and can continue your work from there.
You first step should should be to go to the “Save as” tab to name your query.