1Rinse the lentils, put them in a pot with 800 ml water and simmer over medium heat for about 20 minutes until just tender but not mushy.
2While the lentils cook, slice the onions thinly and fry them in 3 tbsp of the olive oil over medium heat for 20 to 25 minutes, stirring often, until deep brown and crisp at the edges.
3Rinse the rice and add it to the lentils with 300 ml water, the cumin and the salt. Cover and simmer on low heat for 15 minutes until the water is absorbed.
4Turn off the heat and let the pot rest, covered, for 10 minutes so the rice finishes steaming.
5Fold half of the fried onions into the rice and lentils, and spoon the mixture onto a serving plate.
6Roughly chop the pistachios, scatter them on top with the remaining onions and drizzle with the last tablespoon of olive oil. Serve warm with the yogurt on the side.