Preheat oven to 400° F.
In a pot, combine grated corn, milk, basil, butter and salt. Cook on medium-high heat. Stir constantly until mixture thickens. Set aside.
In a pan, heat oil on medium-high. Add onions and cook until transparent. Season ground beef with Adobo and add to onions. Cook until brown and set aside.
To assemble pie, spread onion and ground beef mixture over bottom of dish. Arrange hard-boiled egg slices (optional), olives and raisins over this. Cover with corn mixture, and then sprinkle sugar on top.
Bake in oven for 30 minutes, or until top is golden brown. Serve immediately.