topology: is (1 / 2,1]open in Y?

yes Y = [-1,1] is subspace of R, is (1 / 2,1] open in Y ??
what about R? I know (1 / 2,1) it is open in both Y and R, but am I confused when it is half closed and half open?