Which is better?

or

James A. Garfield

US president

James A. Garfield

Barack Obama

US president

Barack Obama