Parse this person name:

Daniel W. (Daniel William) Morales, died 1782
user
first_name: Daniel
last_name: Morales
middle_names:
- William
temporal:
- start: null
  end: 1782
  type: life_span
titles: []
extra_info: []
assistant