Frame is related to Hang. Hang is related to Sentence. Sentence is a synonym of Convict. 
Deficit is a type of Shortage. Shortage is a synonym of Lack. 
Frame <--RelatedTo--> Hang <--RelatedTo--> Sentence <--Synonym--> Convict 
Deficit --IsA--> Shortage <--Synonym--> Lack 