Parse this person name:

Legendre, Patrick G. (Patrick Gabriel), 1776-1853
user
first_name: Patrick
last_name: Legendre
middle_names:
- Gabriel
temporal:
- start: 1776
  end: 1853
  type: life_span
titles: []
extra_info: []
assistant