Variable is a type of Quantity. Quantity is related to Bulk. 
Carbohydrate is a type of Nutrient. Water is a type of Nutrient. 
Variable --IsA--> Quantity <--RelatedTo--> Bulk 
Carbohydrate --IsA--> Nutrient <--IsA-- Water 