Heat olive oil in a pan over medium heat. Add the chopped onion and cook until translucent.
Add the minced garlic and cook for another minute.
Add the ground beef or lamb, and cook until browned. Break up the meat as it cooks.
Stir in the rice, pine nuts, parsley, cinnamon, allspice, salt, and black pepper.
Cook for about 5-7 minutes, until the rice is slightly translucent. Remove from heat and let cool.
In a large bowl, combine flour, baking powder, and salt.
Add olive oil and warm water gradually, mixing until a soft dough forms. You may need to adjust the amount of water.
Knead the dough for a few minutes until smooth. Cover with a damp cloth and let it rest for 30 minutes.
Divide the dough into small balls (about the size of a walnut).
Flatten each ball into a thin circle using a rolling pin.
Place a spoonful of the filling in the center of each circle.
Fold the dough over the filling to create a half-moon shape. Pinch the edges to seal.
Heat vegetable oil in a deep fryer or large pan to 350°F (175°C).
Fry the Koupes in batches until golden brown and crispy, about 3-4 minutes per side.
Remove with a slotted spoon and drain on paper towels.
Enjoy your meal!