Relation 1: Yes, each input corresponds to only one output.
Relation 2: No, the input of -1 corresponds to two outputs: sun and moon.
Relation 3: Yes, each input corresponds to only one output.
Relation 4: Yes, each input corresponds to only one output.