Which is better?

or

John F. Kennedy

US president

John F. Kennedy

Ulysses S. Grant

US president

Ulysses S. Grant