Parse this person name:

Pergolesi Bataglia, Nico, born 1795
user
first_name: Nico
last_name: Pergolesi Bataglia
middle_names: []
temporal:
- start: 1795
  end: null
  type: life_span
titles: []
extra_info: []
assistant