Mary Beatrice d'Este was the older child of Alfonso IV , Duke of Modena and his wife Laura Martinozzi . She was born on 5 October 1658 NS in Modena . Mary Beatrice d'Este , the elder child of Alfonso IV , Duke of Modena , and his wife , Laura Martinozzi , was born on 5 October 1658 NS in Modena , Duchy of Modena , Italy .