Foreigner is related to Other. Other is a synonym of Different. Different is similar to Diverse. 
Scientist is related to Specialist. Specialist is a type of Expert. Doctor is a type of Expert. 
Foreigner <--RelatedTo--> Other <--Synonym--> Different <--SimilarTo--> Diverse 
Scientist <--RelatedTo--> Specialist --IsA--> Expert <--IsA-- Doctor 