Parse this person name:

Gregory Gray, Robert G., 1274-1298
user
first_name: Robert
last_name: Gregory Gray
middle_names:
- G.
temporal:
- start: 1274
  end: 1298
  type: life_span
titles: []
extra_info: []
assistant