Parse this person name:

Juan Mendoza (1240-1307, flourished 1260-1288)
user
first_name: Juan
last_name: Mendoza
middle_names: []
temporal:
- start: 1240
  end: 1307
  type: life_span
- start: 1260
  end: 1288
  type: flourished
titles: []
extra_info: []
assistant