Which is better?

or

Barack Obama

US president

Barack Obama

James A. Garfield

US president

James A. Garfield