Preheat the oven to 350 degrees F.
Crumble the goat cheese into an oven safe dish and set aside.
In a sauce pot combine the figs and sherry with enough water to barely cover the figs. Place the sauce pot over high heat and bring up to a bubble, cover and remove from the heat and let the figs plump while the onions are cooking.
Pour the olive oil into a large skillet and place over medium heat. Add the onions, and cook until they begin to soften, about 2 minutes. Then add the garlic, rosemary, salt and pepper and cook, stirring often, for about 10 minutes, or until the onions are caramelized to your liking. Using a slotted spoon remove the plumped figs from the sauce pot, leaving behind the liquid. Add the figs to the cooked onions, stir to combine and then spoon over the goat cheese. Sprinkle with the pinenuts. Place the dish in the oven and bake for 20 minutes or until the edges begin to bubble.
Remove and serve immediately with sliced baguettes, pear and apple slices.
This recipe is also a fabulous addition to any meat dish, particularly pork and steak.