Parse this person name:

Sanmartín Pérez, Trinidad A., 1823-1889
user
first_name: Trinidad
last_name: Sanmartín Pérez
middle_names:
- A.
temporal:
- start: 1823
  end: 1889
  type: life_span
titles: []
extra_info: []
assistant