1. First slow roast the tomatoes. Preheat the oven to 225 degrees F. Line a large baking sheet with parchment paper and set aside. Cut the tomatoes in half and place on the prepared baking sheet. Place the cloves of garlic on the baking sheet with the tomatoes. Drizzle tomatoes with olive oil and season with salt and pepper. Bake the tomatoes for about 3 hours, depending on their size.
2. Boil a large pot of salted water and cook the oreccchiette pasta until al dente, about 8-10 minutes.
3. While the pasta is cooking, make the sauce. In a medium skillet, heat the olive oil. Add the garlic and cook until tender. Stir in slow roasted tomatoes and artichoke hearts. Cook for about 5 minutes. Stir in freshly chopped basil and season with salt and pepper.
4. Carefully drain the pasta. Combine pasta and sauce in a large bowl. Garnish with Parmesan cheese and serve warm.