Parse this person name:

William Stewart-Sweeney, 1789-
user
first_name: William
last_name: Stewart-Sweeney
middle_names: []
temporal:
- start: 1789
  end: null
  type: life_span
titles: []
extra_info: []
assistant