Which president was from Massachusetts and died in office?
{'directed': True, 'multigraph': False, 'graph': {}, 'nodes': [{'type': 'QUESTIONS_ENTITY', 'name_': 'Q771', 'id': 0, 'label': 'Massachusetts'}, {'type': 'ANSWER_CANDIDATE_ENTITY', 'name_': 'Q11816', 'id': 1, 'label': 'John Quincy Adams'}], 'links': [{'name_': 'P551', 'source': 1, 'target': 0, 'label': 'residence'}]}
John Quincy Adams resides in Massachusetts.
John Quincy Adams was a resident of Massachusetts .
Which president was from Massachusetts and died in office?</s> [unused1]John Quincy Adams                [unused2] resides in Massachusetts.
Which president was from Massachusetts and died in office?</s>John Quincy Adams resides in Massachusetts.
Which president was from Massachusetts and died in office?</s> [unused1]John Quincy Adams                [unused2] was a resident of Massachusetts .
Which president was from Massachusetts and died in office?</s>John Quincy Adams was a resident of Massachusetts .
Which president was from Massachusetts and died in office?</s>Massachusetts,0,Massachusetts,Massachusetts,0,[unused1]John Quincy Adams[unused2],[unused1]John Quincy Adams[unused2],residence,Massachusetts,[unused1]John Quincy Adams[unused2],0,[unused1]John Quincy Adams[unused2]
Which president was from Massachusetts and died in office?</s>Massachusetts,0,Massachusetts,Massachusetts,0,John Quincy Adams,John Quincy Adams,residence,Massachusetts,John Quincy Adams,0,John Quincy Adams