The King's Quest certainly borrows from Schoenberg, and Schoenberg certainly borrows from Bach... but the Overture seems a bit more tenuous, although it certainly borrows from the classics in general. I think the similarity here is more of a coincidence of writing in that style. I could be wrong though, Uematsu could be an avid showtune fan.