Parse this person name:

William A. (William Adam) Mejia, 1289-1347
user
first_name: William
last_name: Mejia
middle_names:
- Adam
temporal:
- start: 1289
  end: 1347
  type: life_span
titles: []
extra_info: []
assistant