Input (grade 4): Beatrice of Castile (1242 - 1303), wife of King Afonso III of Portugal
Output (grade 4): Beatrix of Castile, wife of King Afonso III of Portugal (born 1242)