Parse this person name:

Luigi Q. Querini, Malagrotta, 1350-1413
user
first_name: Luigi
last_name: Querini
middle_names:
- Q.
temporal:
- start: 1350
  end: 1413
  type: life_span
titles: []
extra_info:
- Malagrotta
assistant