Preheat your oven to 350°F (175°C). Grease a 9x9 inch baking dish.
In a big bowl, mix semolina, sugar, baking powder, and coconut if using.
Add yogurt and melted butter to the dry mix. Stir until combined but don’t overmix.
Pour the batter into your greased dish, spread evenly.
Using a knife, score the top into diamond or square shapes. Place an almond or pistachio on each piece.
Bake for about 30-35 minutes or until the top is golden brown and a toothpick comes out clean.
While baking, prepare the syrup: Combine sugar and water in a saucepan. Boil until sugar dissolves. Add lemon juice and simmer 10 more minutes. Remove from heat and stir in rose/orange blossom water if you want that floral touch.
As soon as the cake comes out of the oven, pour the warm syrup evenly over it.
Let the cake soak and cool for at least 2 hours before serving so the syrup fully absorbs.