Thin is related to Line. Line is related to Ship. 
Girl is a type of Child. you are likely to find Child in/at/on Pen. 
Thin <--RelatedTo--> Line <--RelatedTo--> Ship 
Girl --IsA--> Child --AtLocation--> Pen 