Place a wok on a medium-high heat, then add the following ingredients in this order: ghee or oil, star anise, brown mustard seeds, cumin seeds, fennel seeds, nigella seeds, ginger paste, apples, pear, chilli powder, turmeric, white wine vinegar, jaggery, tamarind paste and salt to taste. Cook for 10 minutes.