Cook the onion cubes with sugar and white wine vinegar for 2-3 minutes. Cut the apples into medium-sized pieces and add. Continue cooking until the apples are almost soft. Then mash a little mushy with a potato masher. Small pieces of apple should still be included.
Add the raisins, salt, mustard, garlic, ginger powder and chili powder and simmer everything together for another 2 - 3 minutes.