Which American president was named John and also had a son who was president?
{'directed': True, 'multigraph': False, 'graph': {}, 'nodes': [{'type': 'QUESTIONS_ENTITY', '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_': 'Q4925477', 'id': 2, 'label': 'John'}, {'type': 'ANSWER_CANDIDATE_ENTITY', 'name_': 'Q11806', 'id': 3, 'label': 'John Adams'}, {'type': 'INTERNAL', 'name_': 'Q6218165', 'id': 4, 'label': 'John Adams, Sr.'}], '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': 3, 'label': 'head of government'}, {'name_': 'P27', 'source': 4, 'target': 0, 'label': 'country of citizenship'}, {'name_': 'P735', 'source': 4, 'target': 2, 'label': 'given name'}, {'name_': 'P40', 'source': 4, 'target': 3, 'label': 'child'}]}