Finely chop the onion, carrots and celery.
Heat 2 Tbsp olive oil in a saucepan and gently fry the chopped vegetables over low heat for 10 minutes.
Add the garlic and herbs, stir for a minute.
Add the tomatoes & jackfruit, breaking them up with a wooden spoon, then add enough water or vegetable stock to cover well. Season with salt & pepper. Bring to the boil and cook for 15 minutes.
Add the drained lentils and cook for another 10 minutes.
Add the greens and cook for a further 5 minutes (under cover)
Meanwhile,cook the spaghetti in another pan according to the packets instructions, then drain and keep warm.
When the pasta sauce is ready (it should be thick and silky), mix with the spaghetti and serve.