How to Write a Query with the Pendulum Method (Long version: SEE TW in description)