Parse this person name:

William A. (William Amanda) Martinez, 1227-1288
user
first_name: William
last_name: Martinez
middle_names:
- Amanda
temporal:
- start: 1227
  end: 1288
  type: life_span
titles: []
extra_info: []
assistant