Remove the skin from the sweet pumpkin, boil it, and mash it.
Dice the onion and sauté it in a pan.
Mash the boiled eggs.
Mix the mashed sweet pumpkin, onion, eggs, salt, pepper, and yogurt together.
Put the pumpkin mixture on the bread to make a sandwich.