Room is related to Bed. 
End is a type of Boundary. Boundary is related to Division. Division is the opposite of Union. Union is a type of Set. 
Room <--RelatedTo--> Bed 
End --IsA--> Boundary <--RelatedTo--> Division <--Antonym--> Union --IsA--> Set 