Who was president of the United States first, John Adams or John Quincy Adams?
{'directed': True, 'multigraph': False, 'graph': {}, 'nodes': [{'type': 'INTERNAL', 'name_': 'Q30', 'id': 0, 'label': 'United States of America'}, {'type': 'QUESTIONS_ENTITY', 'name_': 'Q11696', 'id': 1, 'label': 'President of the United States'}, {'type': 'QUESTIONS_ENTITY', 'name_': 'Q11806', 'id': 2, 'label': 'John Adams'}, {'type': 'INTERNAL', 'name_': 'Q174037', 'id': 3, 'label': 'Henry Cabot Lodge'}, {'type': 'ANSWER_CANDIDATE_ENTITY', 'name_': 'Q17342542', 'id': 4, 'label': 'member of the Massachusetts House of Representatives'}, {'type': 'QUESTIONS_ENTITY', 'name_': 'Q11816', 'id': 5, 'label': 'John Quincy Adams'}, {'type': 'INTERNAL', 'name_': 'Q75174', 'id': 6, 'label': 'Charles Francis Adams, Sr.'}, {'type': 'INTERNAL', 'name_': 'Q106650222', 'id': 7, 'label': 'John William Adams'}], 'links': [{'name_': 'P17', 'source': 0, 'target': 0, 'label': 'country'}, {'name_': 'P1906', 'source': 0, 'target': 1, 'label': 'office held by head of state'}, {'name_': 'P6', 'source': 0, 'target': 2, 'label': 'head of government'}, {'name_': 'P6', 'source': 0, 'target': 5, 'label': 'head of government'}, {'name_': 'P27', 'source': 3, 'target': 0, 'label': 'country of citizenship'}, {'name_': 'P39', 'source': 3, 'target': 4, 'label': 'position held'}, {'name_': 'P27', 'source': 6, 'target': 0, 'label': 'country of citizenship'}, {'name_': 'P39', 'source': 6, 'target': 4, 'label': 'position held'}, {'name_': 'P22', 'source': 6, 'target': 5, 'label': 'father'}, {'name_': 'P27', 'source': 7, 'target': 0, 'label': 'country of citizenship'}, {'name_': 'P1889', 'source': 7, 'target': 2, 'label': 'different from'}, {'name_': 'P39', 'source': 7, 'target': 4, 'label': 'position held'}]}