Which is better?

or

John F. Kennedy

US president

John F. Kennedy

James K. Polk

US president

James K. Polk