Fabric is related to Patch. you are likely to find Potato in/at/on Patch. you are likely to find Potato in/at/on Pan. 
Rack is a type of Software. Top is a type of Software. Top is a synonym of Better. Better is related to Give. 
Fabric <--RelatedTo--> Patch <--AtLocation-- Potato --AtLocation--> Pan 
Rack --IsA--> Software <--IsA-- Top <--Synonym--> Better <--RelatedTo--> Give 