Preheat oven to 425 degrees.
Halve the pears lengthwise and core them, then cut each half lengthwise into 3 wedges.
In a large nonstick ovenproof skillet, cook the sugar, apple juice and butter over moderate heat until the butter melts.
Stir in the cinnamon and allspice. Stir in the pears and figs and cook for 5 minutes.
Transfer the pears to the oven and roast for 25 minutes, or until tender.
Whisk the yogurt with the vanilla and superfine sugar. Spoon the compote on plates.
Serve warm or at room temperature with the yogurt sauce.