Parse this person name:

Bartolomeo G. (Bartolomeo Giosuè) Alfonsi-Luna, 1782-1839
user
first_name: Bartolomeo
last_name: Alfonsi-Luna
middle_names:
- Giosuè
temporal:
- start: 1782
  end: 1839
  type: life_span
titles: []
extra_info: []
assistant