Hair is related to Girl. Girl is related to Mother. Mother is related to Member. 
Terrible is the opposite of Excellent. Excellent is related to Egg. Egg is related to Infant. 
Hair <--RelatedTo--> Girl <--RelatedTo--> Mother <--RelatedTo--> Member 
Terrible <--Antonym--> Excellent <--RelatedTo--> Egg <--RelatedTo--> Infant 