hi, sandrine...
Ok..i'll try to help you give a more explanition about "Yang".
Yang have so many function, such as :
1. As particle.
example :
Saya amat mencintai lelaki yang mobilnya BMW (I love very much the man whose car is a BMW
Saya berterima kasih pada semua orang yang telah membantu saya menyelesaikan disertasi ini (I thank all the people who have helped me finish this disssertation)
Anjing yang ekornya pendek mati tenggelam (The dog whose tail is short was drowned to death)
2. As Pronoun
example :
Saya tidak mau baju merah, saya ingin yang hijau (I do not want the red dress, I want the green one)
Yang mana ayahmu ? (Which one is your father ?)
3. Frase or Clausa "Yang" as Subject
example :
Yang dia tunggu-tunggu belum datang juga [The one (whom) he is waiting for has not appeared yet)
Yang dikuatirkan orang terjadi juga (What the people worry about comes true)
4. "Yang" for Question
example :
Siapa yang kamu cintai ? (Who do you love)
Apa yang dia cari ? (Whats is she looking for ?)
Gadis yang mana kamu cintai ? (Which girl do you love)
Saya punya mobil dua, BMW dan Jaguar. Yang mana yang kamu mau sebagai hadiah ulang tahun ? (I have two car, a BMW and A Jaguar. Which one do you want as your birthday present ?)
5. Yang as mean "other"
example :
Saya mempunyai dua mobil. Satu adalah BMW dan yang lainnya adalah Jaguar (I have two car. One is a BMW and the other (one) is a Jaguar).
6. "Yang" for ask
example :
Yang serius dong ! (Be seriously !)
7. Yang as "order"
Yang pertama (The first)
Yang kedua (The second)
Yang terakhir (The Last)
8. Yang + adjective
example :
Yang cantik yang menarik (Teh beautiful an the charming)
Yang berani yang berhasil (The brave and the successful)
Ok. I hope my explanation can help you to understand the used of word "yang". ;-)