Retail is related to Republic. Republican is derived from Republic. Republican is similar to Democratic. Democratic is related to Party. 
Stable is related to House. House can be used for Shelter. 
Retail <--RelatedTo--> Republic <--DerivedFrom-- Republican <--SimilarTo--> Democratic <--RelatedTo--> Party 
Stable <--RelatedTo--> House --UsedFor--> Shelter 