Cut the onions and sauté in olive oil. Then add the chickpeas and, after lightly frying, the chunky tomatoes, including the liquid. Then add the chopped spinach and simmer for about a quarter of an hour.
Just before the end of the cooking time, add the olives and garlic and season to taste. Sprinkle with sheep cheese just before serving.