Which is better?

or

Barack Obama

US president

Barack Obama

John Adams

US president

John Adams