Parse this person name:

Andrew Riley (1665-1721, flourished 1694-1716)
user
first_name: Andrew
last_name: Riley
middle_names: []
temporal:
- start: 1665
  end: 1721
  type: life_span
- start: 1694
  end: 1716
  type: flourished
titles: []
extra_info: []
assistant