Inside is related to Head. Head is related to Wall. Wall is part of Hallway. 
Head is related to Balloon. Balloon is made of Rubber. Rubber is a type of Solid. Solid is related to Butter. 
Inside <--RelatedTo--> Head <--RelatedTo--> Wall --PartOf--> Hallway 
Head <--RelatedTo--> Balloon --MadeOf--> Rubber --IsA--> Solid <--RelatedTo--> Butter 