Barrier is a type of Obstacle. Obstacle is related to Course. Course is a synonym of Medicine. 
Exit is the opposite of Come. 
Barrier --IsA--> Obstacle <--RelatedTo--> Course <--Synonym--> Medicine 
Exit <--Antonym--> Come 