you are likely to find Deck in/at/on Boat. Deck is related to Group. Group is related to Galaxy. Galaxy is related to Formation. 
String can be used for Tie. 
Boat <--AtLocation-- Deck <--RelatedTo--> Group <--RelatedTo--> Galaxy <--RelatedTo--> Formation 
Tie <--UsedFor-- String 