Rinse lentils and rice. Peel the onion and chop finely. Rinse raisins.
Heat vegetable oil in a frying pan and fry the onion until golden brown, then add the raisins, chopped walnuts and fry for 5 minutes.
Put the lentils and rice, the fried mixture of onions, raisins and nuts into the multicooker bowl. Pour in 1 liter. water, add pepper, salt. Bake in the "Cooking" mode for 40 minutes. Before serving, add finely chopped greens.