What is date of birth and date of death of Pedro I who has child as , Prince of Beira?
SELECT ?value1 ?value2 WHERE { wd:Q939 p:P40 ?s . ?s ps:P40 wd:Q4765121 . ?s pq:P569 ?value1 . ?s pq:P570 ?value2 }
pedro i of brazil: Q939 prince joão carlos, prince of beira: Q4765121