Parse this person name:

Melchor D. Carlota M. Somoza, Segovia, flourished 1844-1864
user
first_name: Melchor
last_name: Somoza
middle_names:
- D.
- Carlota
- M.
temporal:
- start: 1844
  end: 1864
  type: flourished
titles: []
extra_info:
- Segovia
assistant