I have just been to Shanghai.
I 是主语.
just是副词.修饰谓语.
have been to:是谓语,去过(原形是go to)
shanghai是宾语
译文:我以前就去过上海.