In a pan, heat the oil over medium heat. Add the onion and sauté until golden (about 10 minutes). Add the ground beef and cook until browned, breaking up the meat with a spoon.
Add the paprika, cumin, salt, and pepper. Cook for another 3-4 minutes. Remove from heat and stir in the raisins. At this point, you can also add the shredded chicken.
Put the corn, basil, milk, and salt in a blender and blend until a smooth puree is formed. Transfer the mixture to a pot and cook over medium heat, stirring constantly, for about 10 minutes, until it thickens. Add the sugar and stir.
Preheat the oven to 180°C (350°F). Spread the pino meat mixture evenly on the bottom of a baking dish. Arrange the olives and sliced eggs on top. Cover the entire filling evenly with the choclo corn puree.
Bake for 30-40 minutes, or until the top is golden brown and a crispy crust forms. Let stand for 5 minutes before serving.