Parse this person name:

Perera, Ruy, (1271-1317), 1271-1317
user
first_name: Ruy
last_name: Perera
middle_names: []
temporal:
- start: 1271
  end: 1317
  type: life_span
titles: []
extra_info: []
assistant