Spell is a synonym of Import. Import is related to Foreign. Foreign is the opposite of Indigenous. 
Rail is related to Post. Post is a type of Product. Product is related to Flower. 
Spell <--Synonym--> Import <--RelatedTo--> Foreign <--Antonym--> Indigenous 
Rail <--RelatedTo--> Post --IsA--> Product <--RelatedTo--> Flower 