Quantity is related to Price. Price is a synonym of Damage. Total is a type of Damage. 
Palace is a type of Government. Palace is related to House. you are likely to find Jar in/at/on House. you are likely to find Food in/at/on Jar. 
Quantity <--RelatedTo--> Price <--Synonym--> Damage <--IsA-- Total 
Government <--IsA-- Palace <--RelatedTo--> House <--AtLocation-- Jar <--AtLocation-- Food 