Parse this person name:

Pirandello Agostinelli, Berenice Z., 1895-1938
user
first_name: Berenice
last_name: Pirandello Agostinelli
middle_names:
- Z.
temporal:
- start: 1895
  end: 1938
  type: life_span
titles: []
extra_info: []
assistant