Grandparent is a type of Animal. Animal is related to Horse. you are likely to find Horse in/at/on History. History is related to Study. 
Command is related to Stop. Stop is a synonym of Cease. 
Grandparent --IsA--> Animal <--RelatedTo--> Horse --AtLocation--> History <--RelatedTo--> Study 
Command <--RelatedTo--> Stop <--Synonym--> Cease 