1Rinse the lentils and the rice separately in cold water and drain.
2Put the lentils in a pot with 700 ml of water and half the salt, bring to a boil, then simmer 15 minutes until they are almost tender.
3While the lentils cook, slice the onions thinly and fry them in the olive oil over medium heat for 15 to 20 minutes, stirring often, until they are deep brown and crisp at the edges.
4Stir the cumin into the onions for the last minute, then take out half of them for the topping.
5Add the rice, the remaining salt and 300 ml of water to the lentils, stir once, cover and cook on low heat 15 to 18 minutes until the water is absorbed and the rice is tender.
6Rest the pot off the heat for 5 minutes, fluff with a fork, top with the reserved onions and serve with yogurt if you like.