Visit is related to Appointment. Appointment is derived from Appoint. Appoint is a synonym of Constitute. Constitute is a synonym of Comprise. 
Shop is related to Chemistry. Chemistry is related to Class. Class is related to Note. 
Visit <--RelatedTo--> Appointment --DerivedFrom--> Appoint <--Synonym--> Constitute <--Synonym--> Comprise 
Shop <--RelatedTo--> Chemistry <--RelatedTo--> Class <--RelatedTo--> Note 