Memory is related to Stuff. Stuff is related to Water. Water can Freeze. 
Inside is related to Head. Head is part of Nail. you are likely to find Nail in/at/on Board. 
Memory <--RelatedTo--> Stuff <--RelatedTo--> Water --CapableOf--> Freeze 
Inside <--RelatedTo--> Head --PartOf--> Nail --AtLocation--> Board 