Sofa can be used for People. you are likely to find People in/at/on Doctor. 
Pain is related to Physical. Physical is related to Wind. Wind is a synonym of Gas. 
Sofa --UsedFor--> People --AtLocation--> Doctor 
Pain <--RelatedTo--> Physical <--RelatedTo--> Wind <--Synonym--> Gas 