In terms of resolution, *35mm* film can outperform full frame digital sometimes:
http://www.twinlenslife.com/2011/01/digital-vs-film-canon-5d-mark-ii-vs.html
Of course, the 5D Mk II is no longer state of the art, and this comparison is with ISO 100 film, even at ISO 400, I think the tables would turn quickly and decisively in favour of digital.
So with that in mind, medium format, given a decent lens etc,
should be able to very easily outresolve a full frame digital, although I'd imagine a D800 is pretty close. So many factors involved of course, you can find results on the internet to show the opposite.
Garry