What was the political party of the only president who was not elected as either president or vice president?
{'directed': True, 'multigraph': False, 'graph': {}, 'nodes': [{'type': 'QUESTIONS_ENTITY', 'name_': 'Q11696', 'id': 0, 'label': 'President of the United States'}, {'type': 'INTERNAL', 'name_': 'Q20078554', 'id': 1, 'label': 'Great Soviet Encyclopedia (1926–1947)'}, {'type': 'INTERNAL', 'name_': 'Q29552', 'id': 2, 'label': 'Democratic Party'}, {'type': 'QUESTIONS_ENTITY', 'name_': 'Q42178', 'id': 3, 'label': 'vice president'}, {'type': 'INTERNAL', 'name_': 'Q11812', 'id': 4, 'label': 'Thomas Jefferson'}, {'type': 'ANSWER_CANDIDATE_ENTITY', 'name_': 'Q42186', 'id': 5, 'label': 'Democratic-Republican Party'}, {'type': 'INTERNAL', 'name_': 'Q1494930', 'id': 6, 'label': 'Gary Peters'}, {'type': 'INTERNAL', 'name_': 'Q500046', 'id': 7, 'label': 'Albert Gallatin'}], 'links': [{'name_': 'P155', 'source': 2, 'target': 5, 'label': 'follows'}, {'name_': 'P1343', 'source': 3, 'target': 1, 'label': 'described by source'}, {'name_': 'P39', 'source': 4, 'target': 0, 'label': 'position held'}, {'name_': 'P102', 'source': 4, 'target': 5, 'label': 'member of political party'}, {'name_': 'P102', 'source': 6, 'target': 2, 'label': 'member of political party'}, {'name_': 'P106', 'source': 6, 'target': 3, 'label': 'occupation'}, {'name_': 'P1343', 'source': 7, 'target': 1, 'label': 'described by source'}, {'name_': 'P102', 'source': 7, 'target': 5, 'label': 'member of political party'}]}