Boil the lungs and heart ahead of time. Chop both types of onions finely. Saute them in the oil and a little water until softened. Add the raw liver, chopped into pieces. Fry for 15 min.
Add the finely chopped boiled lungs and heart as well. Fry and stir for about 5 min. Add the rice. Fry while stirring until the rice turns glassy.
Pour the dish in a tray and bake in a high oven at 356°F (180 °C) about 40 min. At the end, make the topping by beating the eggs with the yoghurt and pouring it over the dish.
Finish baking until it turns golden.