This is a pretend census that asks how many people are in your household, asks tailored follow-up for each person, and generates a simple report.
It demonstrates how group-level relevance can make it easier to implement a "loop" of questions. After creating the group for Person 1, I exported the group. Since I used qcode variable names like p1_name instead of the SGQA code, I could use a text editor to quickly edit and re-import the group several times (e.g. it took about 10 seconds to edit and re-import each repeating group, ensuring that all variables had unique variables names and that the group-level logic was correct).
This also shows how you can prevent the Finished message from appearing until the survey is truly finished (e.g. all needed groups are completed).