Confess is related to Admit. Admit is related to Confession. you are likely to find Courtroom in/at/on Confession. Courtroom is a synonym of Court. 
Market is related to Vegetable. Mushroom is a type of Vegetable. 
Confess <--RelatedTo--> Admit <--RelatedTo--> Confession <--AtLocation-- Courtroom <--Synonym--> Court 
Market <--RelatedTo--> Vegetable <--IsA-- Mushroom 