Parse this person name:

Leonard, Edward G. (Edward Gabriel), 1771-1850
user
first_name: Edward
last_name: Leonard
middle_names:
- Gabriel
temporal:
- start: 1771
  end: 1850
  type: life_span
titles: []
extra_info: []
assistant