user: You are a structured reasoning expert tasked with solving problems step by step. 
You first think about the reasoning process in the mind and then provide the answer. The reasoning process and answer should be enclosed within <think> </think> and <answer> </answer> tags, respectively, i.e., <think> reasoning process here </think> <answer> answer here </answer>. 
Given a question and the associated knowledge graph triplets (entity, relation, entity), you are asked to answer the question with these triplets and your own knowledge. 
You can break down the original question into several sub-questions and explore the given knowledge graph to solve them step-by-step. If there are multiple possible answers, choose one as the final answer. 
After thinking, when you finally reach a conclusion, clearly state the answer within <answer> </answer> tags, i.e., <answer> answer here </answer>. 
Question: what did james k polk do before he was president? 
Knowledge Triplets: matthew calbraith perry appointed by james knox polk, base.kwebbase.kwconnection.other, James K. Polk
James K. Polk, symbols.name_source.namesakes, Polk Street
Correspondence of James K. Polk, Vol. 10: July-December 1845, common.topic.notable_for, g.1258k97jl
James K. Polk, base.kwebbase.kwtopic.connections_to, matthew calbraith perry appointed by james knox polk
James K. Polk 1845 presidential inauguration, common.topic.notable_types, Event
james knox polk passed over amos kendall, base.kwebbase.kwconnection.other, Amos Kendall
James K. Polk, base.kwebbase.kwtopic.has_sentences, Polk added extensive and valuable territory to the United States and restored the independence of the Treasury.
James K. Polk, base.kwebbase.kwtopic.has_sentences, When the first American soldiers were killed, Polk got Congressional support for declaring war.
Ostend Manifesto, book.written_work.author, James K. Polk
United States Naval Academy, organization.organization.founders, James K. Polk
Buchanan  and Polk supported him for election., base.kwebbase.kwsentence.contains_connections, andrew jackson supported by james knox polk
Polk added extensive and valuable territory to the United States and restored the independence of the Treasury., base.kwebbase.kwsentence.kwtopic, James K. Polk
James K. Polk, common.topic.article, m.042fc
James K. Polk, people.person.places_lived, m.03phtbg
America's success owed much to his vigor and unflagging attention to detail., base.kwebbase.kwsentence.next_sentence, The final treaty gave the United States all the  Mexican territory Polk wanted, including California.
James K. Polk, people.person.education, m.03l5_lg
m.04j60kh, government.government_position_held.office_holder, James K. Polk
James K. Polk, book.author.works_written, Correspondence of James K. Polk, Vol. 10: July-December 1845
james knox polk passed over for john quincy adams, base.kwebbase.kwconnection.subject, James K. Polk
The final treaty gave the United States all the  Mexican territory Polk wanted, including California., base.kwebbase.kwsentence.previous_sentence, America's success owed much to his vigor and unflagging attention to detail.
Franklin Pierce, base.kwebbase.kwtopic.has_sentences, President James Polk made Pierce Federal District Attorney, after which he became prominent in local politics.
James K. Polk, base.kwebbase.kwtopic.has_sentences, Four years later, when Jackson became President, Polk worked tirelessly on Jackson's program.
James K. Polk, book.book_subject.works, Polk: The Diary of an American President, 1845-1849
andrew jackson supported by james knox polk, base.kwebbase.kwconnection.relation, supported by
Polk: The Man Who Transformed the Presidency and America, book.written_work.subjects, James K. Polk
Polk: The Diary of an American President, 1845-1849, book.book.genre, Non-fiction
Polk: The Diary of an American President, 1845-1849, common.topic.notable_types, Book
James K. Polk 1845 presidential inauguration, base.inaugurations.inauguration.president, James K. Polk
James K. Polk, people.person.spouse_s, m.0j4k7n3
james knox polk appointed nathaniel hawthorne, base.kwebbase.kwconnection.other, Nathaniel Hawthorne
President James Polk made Pierce Federal District Attorney, after which he became prominent in local politics., base.kwebbase.kwsentence.contains_connections, franklin pierce appointed by james knox polk
Polk: The Diary of an American President, 1845-1849, book.written_work.subjects, Politics and government
James K. Polk 1845 presidential inauguration, time.event.locations, United States Capitol
James K. Polk, symbols.name_source.namesakes, Polk County
James K. Polk, people.person.place_of_birth, Pineville
Polk gave the post to a relative., base.kwebbase.kwsentence.kwtopic, James K. Polk
Polk: The Man Who Transformed the Presidency and America, common.topic.article, m.064f5k7
james knox polk appointed matthew calbraith perry, base.kwebbase.kwconnection.sentence, He appointed Perry to naval post,  and Sholes as a postmaster He backed Santa Anna as Mexican President.
franklin pierce appointed by james knox polk, base.kwebbase.kwconnection.other, James K. Polk
President James Polk made Pierce Federal District Attorney, after which he became prominent in local politics., base.kwebbase.kwsentence.kwtopic, Franklin Pierce
Polk: The Diary of an American President, 1845-1849, book.written_work.editor, Allan Nevins
andrew jackson supported by james knox polk, base.kwebbase.kwconnection.other, James K. Polk
m.0944j8_, government.government_office_or_title.office_holders, Speaker of the United States House of Representatives
James K. Polk, government.politician.election_campaigns, James K. Polk Presidential Campaign, 1844
James K. Polk, base.kwebbase.kwtopic.has_sentences, In the matter of Oregon, both Britain and the U.S. had claimed the territory since 1818.
Walter R. Borneman, book.author.book_editions_published, Polk: The Man Who Transformed the Presidency and America
James K. Polk, base.kwebbase.kwtopic.connections_to, amos kendall turned down by james knox polk
James K. Polk, base.kwebbase.kwtopic.has_sentences, He appointed Perry to naval post,  and Sholes as a postmaster He backed Santa Anna as Mexican President.
James K. Polk, people.person.parents, Jane Polk
James K. Polk, people.appointer.appointment_made, m.0hn416l
James K. Polk 1845 presidential inauguration, common.topic.image, 250px-Polk_inauguration_London_News1845.jpg
He appointed Perry to naval post,  and Sholes as a postmaster He backed Santa Anna as Mexican President., base.kwebbase.kwsentence.contains_connections, james knox polk appointed christopher latham sholes
Correspondence of James K. Polk, Vol. 10: July-December 1845, book.written_work.part_of_series, Correspondence of James K. Polk
Picture 12.png, common.image.appears_in_topic_gallery, James K. Polk
Polk: The Man Who Transformed the Presidency and America, common.topic.notable_types, Book
James K. Polk, common.image.appears_in_topic_gallery, United States presidential election, 1844
James K. Polk Presidential Campaign, 1844, common.topic.notable_for, g.1257kpk96
antonio lopez de santa anna supported by james knox polk, base.kwebbase.kwconnection.other, James K. Polk
james knox polk appointed christopher latham sholes, base.kwebbase.kwconnection.sentence, He appointed Perry to naval post,  and Sholes as a postmaster He backed Santa Anna as Mexican President.
James K. Polk, government.political_appointer.appointees, m.08v_t28
James K. Polk Presidential Campaign, 1844, government.election_campaign.party, Democratic Party
james knox polk appointed christopher latham sholes, base.kwebbase.kwconnection.other, Christopher Latham Sholes
franklin pierce appointed by james knox polk, base.kwebbase.kwconnection.sentence, President James Polk made Pierce Federal District Attorney, after which he became prominent in local politics.
Samuel Polk, people.person.children, James K. Polk
James K. Polk, people.person.profession, Lawyer
james knox polk appointed matthew calbraith perry, base.kwebbase.kwconnection.relation, appointed
James K. Polk, government.us_president.vice_president, George M. Dallas
James K. Polk, base.kwebbase.kwtopic.connections_from, james knox polk appointed christopher latham sholes
America's success owed much to his vigor and unflagging attention to detail., base.kwebbase.kwsentence.kwtopic, James K. Polk
United States Capitol, location.location.events, James K. Polk 1845 presidential inauguration
James K. Polk, base.kwebbase.kwtopic.has_sentences, At 28, Polk was elected to the North Carolina State House of Representatives, where he served two years.
James K. Polk, people.person.ethnicity, Scottish American
James K. Polk, base.kwebbase.kwtopic.connections_to, antonio lopez de santa anna supported by james knox polk
James K. Polk, base.kwebbase.kwtopic.has_sentences, Like Jackson, Polk believed there was no need for a national bank.
Correspondence of James K. Polk, book.literary_series.author_s, James K. Polk
Before he took office, Congress voted to annex Texas, a move favored by most Democrats., base.kwebbase.kwsentence.kwtopic, James K. Polk
No union exists between church and state, and perfect freedom of opinion is guaranteed to all sects and creeds., media_common.quotation.source, Inaugural Address of James K. Polk
In 1835, Jackson rewarded Polk by making him Speaker of the House., base.kwebbase.kwsentence.kwtopic, James K. Polk
James K. Polk, book.author.works_written, Polk: The Diary of an American President, 1845-1849
andrew jackson supported by james knox polk, base.kwebbase.kwconnection.sentence, Buchanan  and Polk supported him for election.
James K. Polk, base.inaugurations.inauguration_speaker.inauguration, James K. Polk 1845 presidential inauguration
James K. Polk, symbols.name_source.namesakes, Polk County School District
When he took office, Polk had announced he would not serve a second term., base.kwebbase.kwsentence.previous_sentence, During his presidency, the U.S. Naval Academy was established at Annapolis and the Smithsonian Institution was founded.
James K. Polk, base.kwebbase.kwtopic.connections_to, samuel finley breese morse telegraphed news of james knox polk
Correspondence of James K. Polk, book.literary_series.works_in_this_series, Correspondence of James K. Polk, Vol. 10: July-December 1845
James K. Polk, base.kwebbase.kwtopic.has_sentences, The final treaty gave the United States all the  Mexican territory Polk wanted, including California.
James Smithson, base.kwebbase.kwtopic.has_sentences, The Smithsonian was founded under President Polk.
m.04j60kc, government.government_position_held.office_holder, James K. Polk
James K. Polk, common.topic.image, James K. Polk
Polk: The Man Who Transformed the Presidency and America, book.book.editions, Polk: The Man Who Transformed the Presidency and America
Allan Nevins, book.author.works_edited, Polk: The Diary of an American President, 1845-1849
James K. Polk, common.image.size, m.03tdw8g
James K. Polk Presidential Campaign, 1844, government.election_campaign.candidate, James K. Polk
Polk: The Man Who Transformed the Presidency and America, book.book.genre, Biography
Jane Polk, people.person.children, James K. Polk
He appointed Perry to naval post,  and Sholes as a postmaster He backed Santa Anna as Mexican President., base.kwebbase.kwsentence.kwtopic, James K. Polk
amos kendall turned down by james knox polk, base.kwebbase.kwconnection.other, James K. Polk
Polk: The Diary of an American President, 1845-1849, book.book.editions, Polk: The Diary of an American President, 1845-1849
James K. Polk, base.kwebbase.kwtopic.has_sentences, Before he took office, Congress voted to annex Texas, a move favored by most Democrats.
james knox polk appointed nathaniel hawthorne, base.kwebbase.kwconnection.relation, appointed
James K. Polk, people.person.profession, Politician
During his presidency, the U.S. Naval Academy was established at Annapolis and the Smithsonian Institution was founded., base.kwebbase.kwsentence.kwtopic, James K. Polk
m.04kq1r9, government.government_position_held.appointed_by, James K. Polk
James K. Polk, people.person.religion, Presbyterianism
James K. Polk, base.kwebbase.kwtopic.has_sentences, This did not satisfy Polk.
Politician, base.onephylogeny.type_of_thing.things_of_this_type, United States Representative
James K. Polk, common.image.appears_in_topic_gallery, James K. Polk
James K. Polk 1845 presidential inauguration, time.event.locations, Washington, D.C.
James K. Polk, base.kwebbase.kwtopic.has_sentences, America's success owed much to his vigor and unflagging attention to detail.
James K. Polk, symbols.name_source.namesakes, James K. Polk Ancestral Home
At 28, Polk was elected to the North Carolina State House of Representatives, where he served two years., base.kwebbase.kwsentence.kwtopic, James K. Polk
m.04j60kh, government.government_position_held.office_position_or_title, United States Representative
Correspondence of James K. Polk, Vol. 10: July-December 1845, book.written_work.original_language, English Language
During his presidency, the U.S. Naval Academy was established at Annapolis and the Smithsonian Institution was founded., base.kwebbase.kwsentence.next_sentence, When he took office, Polk had announced he would not serve a second term.
James K. Polk 1845 presidential inauguration, base.inaugurations.inauguration.inaugural_address, Inaugural Address of James K. Polk
James K. Polk, base.kwebbase.kwtopic.connections_to, nathaniel hawthorne appointed by james knox polk
James K. Polk, common.topic.notable_for, g.1258gz3ht
nathaniel hawthorne appointed by james knox polk, base.kwebbase.kwconnection.other, James K. Polk
m.0944j8_, government.government_position_held.office_holder, James K. Polk
James K. Polk, base.kwebbase.kwtopic.connections_from, james knox polk appointed matthew calbraith perry
Polk even disappointed Jackson, who wanted to reward an old ally, Amos Kendall , with the job of Washington postmaster., base.kwebbase.kwsentence.kwtopic, James K. Polk
James K. Polk, government.political_appointer.appointees, m.04kq1r9
It is confidently believed that our system may be safely extended to the utmost bounds of our territorial limits..., media_common.quotation.source, Inaugural Address of James K. Polk
James K. Polk Presidential Campaign, 1844, common.topic.notable_types, Election campaign
When he took office, Polk had announced he would not serve a second term., base.kwebbase.kwsentence.kwtopic, James K. Polk
james knox polk passed over for john quincy adams, base.kwebbase.kwconnection.other, John Quincy Adams
Correspondence of James K. Polk, Vol. 10: July-December 1845, book.written_work.editor, James L. Rogers II
James K. Polk 1845 presidential inauguration, base.culturalevent.event.entity_involved, James K. Polk
It is confidently believed that our system may be safely extended to the utmost bounds of our territorial limits..., media_common.quotation.author, James K. Polk
James K. Polk, government.politician.party, m.03gjg4v
United States presidential inauguration, time.recurring_event.instances, James K. Polk 1845 presidential inauguration
James K. Polk, base.kwebbase.kwtopic.connections_from, james knox polk passed over amos kendall
james knox polk passed over for john quincy adams, base.kwebbase.kwconnection.relation, passed over for
christopher latham sholes appointed postmaster by james knox polk, base.kwebbase.kwconnection.sentence, After this, President Polk offered him the job of Postmaster of Southport, so he resigned from the paper.
James K. Polk, government.politician.government_positions_held, m.0944j8_
james knox polk appointed christopher latham sholes, base.kwebbase.kwconnection.subject, James K. Polk
m.08v_t28, government.government_position_held.appointed_by, James K. Polk
This did not satisfy Polk., base.kwebbase.kwsentence.kwtopic, James K. Polk
Polk Street, symbols.namesake.named_after, James K. Polk
James K. Polk, base.kwebbase.kwtopic.has_sentences, Polk gave the post to a relative.
James K. Polk, government.politician.government_positions_held, m.04j60kc
America's success owed much to his vigor and unflagging attention to detail., base.kwebbase.kwsentence.previous_sentence, When the first American soldiers were killed, Polk got Congressional support for declaring war.
m.0j4k7n3, people.marriage.spouse, James K. Polk
Polk: The Diary of an American President, 1845-1849, book.written_work.author, James K. Polk
When the first American soldiers were killed, Polk got Congressional support for declaring war., base.kwebbase.kwsentence.kwtopic, James K. Polk
James K. Polk, government.politician.government_positions_held, m.0944j8_
m.04j60kc, government.government_position_held.office_position_or_title, United States Representative
James K. Polk, symbols.name_source.namesakes, James K. Polk Elementary School
James K. Polk, people.deceased_person.place_of_death, Nashville
James K. Polk Ancestral Home, common.topic.article, m.02r446y
James K. Polk, base.kwebbase.kwtopic.connections_to, franklin pierce appointed by james knox polk
james knox polk passed over amos kendall, base.kwebbase.kwconnection.sentence, Polk even disappointed Jackson, who wanted to reward an old ally, Amos Kendall , with the job of Washington postmaster.
Polk: The Diary of an American President, 1845-1849, book.written_work.subjects, James K. Polk
James K. Polk, common.topic.image, Picture 12.png
m.04469y8, government.government_position_held.office_holder, James K. Polk
He also engineered the lowering of tariffs on imports., base.kwebbase.kwsentence.kwtopic, James K. Polk
Correspondence of James K. Polk, common.topic.notable_for, g.125bty4pj
No union exists between church and state, and perfect freedom of opinion is guaranteed to all sects and creeds., media_common.quotation.author, James K. Polk
James K. Polk, people.person.religion, Methodism
James K. Polk, base.kwebbase.kwtopic.connections_to, john quincy adams work related to james knox polk
James K. Polk Ancestral Home, symbols.namesake.named_after, James K. Polk
James K. Polk, government.politician.government_positions_held, m.04469y8
After some skirmishes, the Americans provoked the Mexicans to retaliate at Matamoras., base.kwebbase.kwsentence.kwtopic, James K. Polk
James K. Polk, common.image.size, m.02g0521
Correspondence of James K. Polk, Vol. 10: July-December 1845, common.topic.notable_types, Written Work
James K. Polk, people.person.nationality, United States of America
james knox polk appointed christopher latham sholes, base.kwebbase.kwconnection.relation, appointed
James K. Polk, people.deceased_person.cause_of_death, Cholera
m.0hn42fb, people.appointment.appointed_by, James K. Polk
James K. Polk, people.person.ethnicity, White people
James K. Polk, people.appointer.appointment_made, m.0hn42fb
Polk: The Man Who Transformed the Presidency and America, common.topic.notable_for, g.125ck1th4
james knox polk passed over amos kendall, base.kwebbase.kwconnection.subject, James K. Polk
Correspondence of James K. Polk, Vol. 10: July-December 1845, common.topic.image, Correspondence of James Polk vol 10 cover
James K. Polk, base.kwebbase.kwtopic.has_sentences, He also engineered the lowering of tariffs on imports.
Polk, symbols.namesake.named_after, James K. Polk
James K. Polk, base.kwebbase.kwtopic.has_sentences, After some skirmishes, the Americans provoked the Mexicans to retaliate at Matamoras.
James K. Polk, symbols.name_source.namesakes, Polk
Polk even disappointed Jackson, who wanted to reward an old ally, Amos Kendall , with the job of Washington postmaster., base.kwebbase.kwsentence.next_sentence, Polk gave the post to a relative.
James K. Polk, government.politician.government_positions_held, m.04j5sk8
James K. Polk, symbols.name_source.namesakes, Polk City
James K. Polk, government.politician.government_positions_held, m.04j60kh
Correspondence of James K. Polk, common.topic.notable_types, Literary Series
james knox polk appointed nathaniel hawthorne, base.kwebbase.kwconnection.subject, James K. Polk
He also engineered the lowering of tariffs on imports., base.kwebbase.kwsentence.next_sentence, During his presidency, the U.S. Naval Academy was established at Annapolis and the Smithsonian Institution was founded.
James K. Polk, people.person.parents, Samuel Polk
Tennessee State Capitol, people.place_of_interment.interred_here, James K. Polk
christopher latham sholes appointed postmaster by james knox polk, base.kwebbase.kwconnection.other, James K. Polk
In 1835, Jackson rewarded Polk by making him Speaker of the House., base.kwebbase.kwsentence.dates, m.0c0z7b7
samuel finley breese morse telegraphed news of james knox polk, base.kwebbase.kwconnection.sentence, He transmitted news of  Polk's election.
James K. Polk, people.person.profession, Politician
James K. Polk, common.topic.notable_types, US President
The final treaty gave the United States all the  Mexican territory Polk wanted, including California., base.kwebbase.kwsentence.kwtopic, James K. Polk
m.04j5sk8, government.government_position_held.office_holder, James K. Polk
Polk: The Man Who Transformed the Presidency and America, book.written_work.author, Walter R. Borneman
m.03phtbg, people.place_lived.person, James K. Polk
Correspondence of James K. Polk, Vol. 10: July-December 1845, book.written_work.author, James K. Polk
James K. Polk, people.person.ethnicity, Scotch-Irish American
john quincy adams work related to james knox polk, base.kwebbase.kwconnection.other, James K. Polk
James K. Polk Presidential Campaign, 1844, government.election_campaign.election, United States presidential election, 1844
When the first American soldiers were killed, Polk got Congressional support for declaring war., base.kwebbase.kwsentence.next_sentence, America's success owed much to his vigor and unflagging attention to detail.
During his presidency, the U.S. Naval Academy was established at Annapolis and the Smithsonian Institution was founded., base.kwebbase.kwsentence.previous_sentence, He also engineered the lowering of tariffs on imports.
james knox polk appointed matthew calbraith perry, base.kwebbase.kwconnection.other, Matthew C. Perry
James K. Polk, government.government_position_held.office_holder, m.04j60kh
James K. Polk 1845 presidential inauguration, common.topic.image, Polk inauguration London News
m.03l5_lg, education.education.student, James K. Polk
James K. Polk, people.person.sibling_s, m.0w4g5mr
James K. Polk 1845 presidential inauguration, time.event.instance_of_recurring_event, United States presidential inauguration
James K. Polk, government.government_position_held.office_holder, m.04j5sk8
Like Jackson, Polk believed there was no need for a national bank., base.kwebbase.kwsentence.kwtopic, James K. Polk
James K. Polk, people.person.quotations, It is confidently believed that our system may be safely extended to the utmost bounds of our territorial limits...
He appointed Perry to naval post,  and Sholes as a postmaster He backed Santa Anna as Mexican President., base.kwebbase.kwsentence.contains_connections, james knox polk appointed matthew calbraith perry
samuel finley breese morse telegraphed news of james knox polk, base.kwebbase.kwconnection.other, James K. Polk
James K. Polk, base.kwebbase.kwtopic.connections_to, andrew jackson supported by james knox polk
James K. Polk, base.kwebbase.kwtopic.has_sentences, During his presidency, the U.S. Naval Academy was established at Annapolis and the Smithsonian Institution was founded.
James K. Polk, government.government_position_held.office_holder, m.04j60kc
m.03gjg4v, government.political_party_tenure.politician, James K. Polk
James K. Polk, people.person.nationality, United States of America
James K. Polk, book.book_subject.works, Polk: The Man Who Transformed the Presidency and America
James K. Polk, base.kwebbase.kwtopic.connections_to, james smithson smithsonian founded under james knox polk
James K. Polk, base.kwebbase.kwtopic.has_sentences, In 1835, Jackson rewarded Polk by making him Speaker of the House.
George M. Dallas, government.us_vice_president.to_president, James K. Polk
Polk gave the post to a relative., base.kwebbase.kwsentence.previous_sentence, Polk even disappointed Jackson, who wanted to reward an old ally, Amos Kendall , with the job of Washington postmaster.
James K. Polk, book.author.works_written, Ostend Manifesto
Correspondence of James K. Polk, common.topic.image, Correspondence of James Polk vol 10 cover
m.0hn416l, people.appointment.appointed_by, James K. Polk
Polk: The Diary of an American President, 1845-1849, common.topic.article, m.06m0yhg
James K. Polk 1845 presidential inauguration, common.topic.article, m.05c3n6d
After some skirmishes, the Americans provoked the Mexicans to retaliate at Matamoras., base.kwebbase.kwsentence.next_sentence, When the first American soldiers were killed, Polk got Congressional support for declaring war.
James K. Polk, symbols.name_source.namesakes, Polk Township
Correspondence of James K. Polk, Vol. 10: July-December 1845, book.written_work.editor, Wayne Cutler
Polk: The Man Who Transformed the Presidency and America, book.book.editions, Polk : the man who transformed the presidency and America
Polk: The Diary of an American President, 1845-1849, common.topic.notable_for, g.12589b6py
James K. Polk, people.deceased_person.place_of_burial, Tennessee State Capitol
James K. Polk, base.kwebbase.kwtopic.has_sentences, When he took office, Polk had announced he would not serve a second term.
Four years later, when Jackson became President, Polk worked tirelessly on Jackson's program., base.kwebbase.kwsentence.kwtopic, James K. Polk
James K. Polk, base.kwebbase.kwtopic.connections_from, james knox polk passed over for john quincy adams
m.04j5sk8, government.government_office_or_title.office_holders, Governor of Tennessee
Stanley Eric Reinhart, people.person.place_of_birth, James K. Polk
Buchanan  and Polk supported him for election., base.kwebbase.kwsentence.kwtopic, Andrew Jackson
United States of America, government.government_office_or_title.jurisdiction, United States Representative
Walter R. Borneman, book.author.works_written, Polk: The Man Who Transformed the Presidency and America
James K. Polk, people.person.quotations, No union exists between church and state, and perfect freedom of opinion is guaranteed to all sects and creeds.
Polk even disappointed Jackson, who wanted to reward an old ally, Amos Kendall , with the job of Washington postmaster., base.kwebbase.kwsentence.contains_connections, james knox polk passed over amos kendall
James K. Polk, book.author.series_written_or_contributed_to, Correspondence of James K. Polk
James K. Polk, people.person.profession, Farmer
james knox polk appointed matthew calbraith perry, base.kwebbase.kwconnection.subject, James K. Polk
james smithson smithsonian founded under james knox polk, base.kwebbase.kwconnection.sentence, The Smithsonian was founded under President Polk.
James K. Polk, base.kwebbase.kwtopic.connections_to, christopher latham sholes appointed postmaster by james knox polk
James K. Polk 1845 presidential inauguration, common.topic.notable_for, g.1257k6mw1
james knox polk passed over amos kendall, base.kwebbase.kwconnection.relation, passed over
James K. Polk, people.person.gender, Male
James K. Polk, base.kwebbase.kwtopic.has_sentences, Polk even disappointed Jackson, who wanted to reward an old ally, Amos Kendall , with the job of Washington postmaster.
When the first American soldiers were killed, Polk got Congressional support for declaring war., base.kwebbase.kwsentence.previous_sentence, After some skirmishes, the Americans provoked the Mexicans to retaliate at Matamoras.
James K. Polk, organization.organization_founder.organizations_founded, United States Naval Academy
James K. Polk, base.kwebbase.kwtopic.connections_from, james knox polk appointed nathaniel hawthorne

Answer: United States Representative
Governor of Tennessee
Speaker of the United States House of Representatives