Parse this person name:

Capitaine Sophie Costa, Saint Astrid-sur-Mer, 1676-1738
user
first_name: Sophie
last_name: Costa
middle_names: []
temporal:
- start: 1676
  end: 1738
  type: life_span
titles:
- Capitaine
extra_info:
- Saint Astrid-sur-Mer
assistant