Parse this person name:

Steven Barr-Foley, 1804-1862, flourished 1822-1841
user
first_name: Steven
last_name: Barr-Foley
middle_names: []
temporal:
- start: 1804
  end: 1862
  type: life_span
- start: 1822
  end: 1841
  type: flourished
titles: []
extra_info: []
assistant