Bullet is related to Shooting. Pistol can be used for Shooting. 
Swell is a type of Wave. Wave is related to Shore. Shore is related to Edge. 
Bullet <--RelatedTo--> Shooting <--UsedFor-- Pistol 
Swell --IsA--> Wave <--RelatedTo--> Shore <--RelatedTo--> Edge 