Start the compote by combining the raspberries, sugar, lemon juice, water and cornstarch in a medium saucepan. Place over a medium heat and stir regularly. Bring to a simmer, keep stirring for about 10 minutes, until a thick jammy compote has formed. Set aside.