Ban is a synonym of Bar. Bar is related to Pretty. Pretty is related to Picture. Picture is related to Canvas. 
Shot is related to Vaccine. Vaccine is a type of Medicine. Medicine is related to Herb. 
Ban <--Synonym--> Bar <--RelatedTo--> Pretty <--RelatedTo--> Picture <--RelatedTo--> Canvas 
Shot <--RelatedTo--> Vaccine --IsA--> Medicine <--RelatedTo--> Herb 