in 1907 jacob rubinstein, a russian jew, leaves his village after it is attacked by cossacks. he heads for hamburg, germany, hoping that he can sail to america. while in hamburg, he meets an african american called roscoe haines, who, after seeing his talent for playing ragtime, encourages jacob to go and see a music publisher called abe shulman in new york.