Parse this person name:

Bernadette P. (Bernadette Paul) Costa, 1751-1797
user
first_name: Bernadette
last_name: Costa
middle_names:
- Paul
temporal:
- start: 1751
  end: 1797
  type: life_span
titles: []
extra_info: []
assistant