Convict is a synonym of Inmate. Inmate is a type of Resident. Metropolitan is a type of Resident. Metropolitan is related to City. 
Drive is a synonym of Ride. Ride is the opposite of Walk. 
Convict <--Synonym--> Inmate --IsA--> Resident <--IsA-- Metropolitan <--RelatedTo--> City 
Drive <--Synonym--> Ride <--Antonym--> Walk 