Questions & Answers about Det som ligger i korgen är kex, nötter och lite melon.
Here det som means what or that which.
So:
- Det som ligger i korgen = what is lying in the basket
- More naturally in English: what’s in the basket
This is a very common Swedish pattern:
- det som + clause = what / the thing(s) that ...
The whole phrase acts as the subject of the sentence.
Because vad usually introduces a direct question:
- Vad ligger i korgen? = What is lying in the basket?
But in your sentence, what is in the basket is not a question. It is a noun-like clause that becomes the subject of the sentence. For that, Swedish normally uses det som:
- Det som ligger i korgen är ... = What is in the basket is ...
So a useful shortcut is:
- vad = what?
- det som = what / the thing that