- Formulation: (question word) + helping verb 'be' + subject + going to + main verb?
Like other kinds of yes-no questions involving the helping verb 'be', we invert the subject and 'be'. Then if we want to form an open-ended question, we add a question word to the beginning.
- You are going to do something this weekend.
- > Are you going to do anything this weekend?
- → What are you going to do this weekend?
- You are doing something this weekend.
- > Are you doing anything this weekend?
- → What are you doing this weekend?
Note that the question word 'who' is sometimes a subject! In this case, the formulation becomes subject 'who' + helping verb 'be' + main verb -ing.
- He is going to come tonight.
- Who is going to come tonight?