Lighting – Installing a celling light with 2 black and 1 yellow wire

ceilinglighting

I moved into this apartment and there were no ceiling lights just bare wires hanging from the ceiling socket.
Now i have this light i bought from Ikea which has 2 wires 1 blue (N) and 1 brown(L) and in my ceiling I have following wires:
White
green
yellow
and 2 blacks

white and green wires are just passing through the socket and they have no ends but the yellow and 2 blacks have bare ends.
I have attached pictures if someone can tell me which wires do i have to connect to my light.
Thanks

edit: sorry for not mentioning it before, I live in Dubai, UAE

enter image description here

enter image description here

enter image description here

Best Answer

Do you have a volt meter or a way to detect which of the lines have power?

In my area one of the blacks would be hot but having 3 wires is unusual.

a switched hot goes to the brown wire or L terminal. The neutral goes to the blue or n terminal.

I would check with a meter to see where there is voltage. black to black? then voltage black to yellow? Last the other black to yellow 0 volts? I was giving an example as 3 wires would not be normal with 2 the same color if you could take some measurements it would be helpful.

I have seen black as the hot and neutral depending on country. If you could describe the wires coming in the box I can’t make them out clearly which ones are together etc

No one has answered probably because there is not enough information.