Nation is related to Flag. Flag is a type of Decorate. Decorate is the opposite of Bare. 
Train is related to Rail. Regulate is etymologically related to Rail. 
Nation <--RelatedTo--> Flag --IsA--> Decorate <--Antonym--> Bare 
Train <--RelatedTo--> Rail <--EtymologicallyRelatedTo-- Regulate 