Parse this person name:

James Smith, 1289-1342, flourished 1318-1337
user
first_name: James
last_name: Smith
middle_names: []
temporal:
- start: 1289
  end: 1342
  type: life_span
- start: 1318
  end: 1337
  type: flourished
titles: []
extra_info: []
assistant