In a large stockpot, heat the oil over medium-high heat. When oil is hot but not smoking, add onions and stir until onions are soft and translucent, 5 to 7 minutes.
Add garlic, potatoes, and carrots and stir for an additional 2 to 3 minutes.
Add diced tomatoes and juice, wine, raisins, salt, pepper, rosemary, and thyme. Bring liquid to a boil, then lower heat and simmer, covered, until potatoes and carrots begin to soften (10 to 15 minutes).
Add chickpeas, artichoke hearts, olives, and capers, and continue to simmer for another 10 minutes, until potatoes and carrots are soft.
Taste, and add additional salt and pepper if needed.
Serve with freshly grated Parmesan (optional).