Ideal is similar to Perfect. 
Prohibit is a synonym of Bar. Bar is related to Flat. Flat is related to Department. 
Ideal <--SimilarTo--> Perfect 
Prohibit <--Synonym--> Bar <--RelatedTo--> Flat <--RelatedTo--> Department 