Sentence: When he clicked on the plug of the antenna and it automatically attached to the wires of the bulb socket.
Entities:
entity1: plug
entity2: antenna
Relation: Component-Whole