Parse this person name:

Charles P. (Charles Phillip) Smith, 1288-1338
user
first_name: Charles
last_name: Smith
middle_names:
- Phillip
temporal:
- start: 1288
  end: 1338
  type: life_span
titles: []
extra_info: []
assistant