Inmate is a type of Resident. Resident is the opposite of Tourist. Tourist is related to Ride. Ride is a type of Translation. 
Physics is related to Science. 
Inmate --IsA--> Resident <--Antonym--> Tourist <--RelatedTo--> Ride --IsA--> Translation 
Physics <--RelatedTo--> Science 