Using a relative clause: When I was in Shanghai, I visited the house. Sun Yat-sen is said to have lived there for several years.
When I was in Shanghai, I visited the house where Sun Yat-sen is said to have lived for several years.
Using a relative clause: When I was in Shanghai, I visited the house. Sun Yat-sen is said to have lived there for several years.
When I was in Shanghai, I visited the house where Sun Yat-sen is said to have lived for several years.