Science is related to Classroom. you are likely to find Window in/at/on Classroom. Window is related to Nice. 
Punishment is related to Whip. Whip is a synonym of Belt. Belt is related to Motor. 
Science <--RelatedTo--> Classroom <--AtLocation-- Window <--RelatedTo--> Nice 
Punishment <--RelatedTo--> Whip <--Synonym--> Belt <--RelatedTo--> Motor 