Parse this person name:

Sosa, Mary D. (Mary David), 1334-1376
user
first_name: Mary
last_name: Sosa
middle_names:
- David
temporal:
- start: 1334
  end: 1376
  type: life_span
titles: []
extra_info: []
assistant