When did Pedro I daughter Maria II of Portugal die, and when was she born?
SELECT ?value1 ?value2 WHERE { wd:Q939 p:P40 ?s . ?s ps:P40 wd:Q221145 . ?s pq:P570 ?value1 . ?s pq:P569 ?value2 }
pedro i of brazil: Q939 maria ii of portugal: Q221145