Parse this person name:

John Adams, 1249-1328, flourished 1274-1289
user
first_name: John
last_name: Adams
middle_names: []
temporal:
- start: 1249
  end: 1328
  type: life_span
- start: 1274
  end: 1289
  type: flourished
titles: []
extra_info: []
assistant