Mix flour with sugar and semolina. Melt the butter and thoroughly mix it with flour and the rest of the mass. Take one-third of the mass and put it in a separate container. Mix it with cinnamon (this will be the topping). Spread the rest of the mass in a baking tin.
Add grated apples and two whisked eggs with milk to curd. Mix it, add some vanilla sugar. Put it on top of the layer in a baking tin.
Mix the nuts in the topping, add the last whisked egg, and crumble the topping with your hands.