Conversation so far:
who was the 31st president of the united states
Herbert Hoover was the 31st president of the United States of America.

Question: what was the party affiliation
Self-contained rewrite: what was the party affiliation of Herbert hoover