Which president was from Massachusetts and died in office?
{'directed': True, 'multigraph': False, 'graph': {}, 'nodes': [{'type': 'INTERNAL', 'name_': 'Q30', 'id': 0, 'label': 'United States of America'}, {'type': 'ANSWER_CANDIDATE_ENTITY', 'name_': 'Q9696', 'id': 1, 'label': 'John F. Kennedy'}, {'type': 'QUESTIONS_ENTITY', 'name_': 'Q771', 'id': 2, 'label': 'Massachusetts'}], 'links': [{'name_': 'P17', 'source': 0, 'target': 0, 'label': 'country'}, {'name_': 'P6', 'source': 0, 'target': 1, 'label': 'head of government'}, {'name_': 'P150', 'source': 0, 'target': 2, 'label': 'contains the administrative territorial entity'}, {'name_': 'P27', 'source': 1, 'target': 0, 'label': 'country of citizenship'}, {'name_': 'P17', 'source': 2, 'target': 0, 'label': 'country'}]}
John F. Kennedy was born in the United States, where the leader is the President. Massachusetts is part of the United States, where the country is located.
John F. Kennedy was the head of government in the United States of America , where the inhabitants are known as Americans . The U.S. is the location of Massachusetts , which is the state of Massachusetts .
Which president was from Massachusetts and died in office?</s> [unused1]John F. Kennedy                [unused2] was born in the United States, where the leader is the President. Massachusetts is part of the United States, where the country is located.
Which president was from Massachusetts and died in office?</s>John F. Kennedy was born in the United States, where the leader is the President. Massachusetts is part of the United States, where the country is located.
Which president was from Massachusetts and died in office?</s> [unused1]John F. Kennedy                [unused2] was the head of government in the United States of America , where the inhabitants are known as Americans . The U.S. is the location of Massachusetts , which is the state of Massachusetts .
Which president was from Massachusetts and died in office?</s>John F. Kennedy was the head of government in the United States of America , where the inhabitants are known as Americans . The U.S. is the location of Massachusetts , which is the state of Massachusetts .
Which president was from Massachusetts and died in office?</s>United States of America,country,United States of America,United States of America,head of government,[unused1]John F. Kennedy[unused2],United States of America,contains the administrative territorial entity,Massachusetts,[unused1]John F. Kennedy[unused2],country of citizenship,United States of America,[unused1]John F. Kennedy[unused2],0,[unused1]John F. Kennedy[unused2],[unused1]John F. Kennedy[unused2],0,Massachusetts,Massachusetts,country,United States of America,Massachusetts,0,[unused1]John F. Kennedy[unused2],Massachusetts,0,Massachusetts
Which president was from Massachusetts and died in office?</s>United States of America,country,United States of America,United States of America,head of government,John F. Kennedy,United States of America,contains the administrative territorial entity,Massachusetts,John F. Kennedy,country of citizenship,United States of America,John F. Kennedy,0,John F. Kennedy,John F. Kennedy,0,Massachusetts,Massachusetts,country,United States of America,Massachusetts,0,John F. Kennedy,Massachusetts,0,Massachusetts