Soak the rice for 20 mins.
Soak all the beans overnight. Change water couple of times. Keep it aside.
In a pressure cooker, heat oil and ghee.
Add all the whole spices listed and saute for a minute.
Then add the ground paste and continue cooking on high flame till the onion paste turns colour.
Next, add the onions and green chilies. Saute well.
then add the tomato pieces, salt, and turmeric. Simmer and let the tomatoes turn mushy.
Now add the soaked beans and saute well. Simmer for 5 to 7 mins, let everything combine well.
Add water and bring to a boil.
Drain the water from rice and add to the boiling water.
Adjust spice if required. Cover with lid and pressure cook for 3 whistles.
Serve with Onion Raitha