Question: When did Pedro I's child Maria II of Portugal die and who was her mother?
Paraphrase: When did Pedro I's toddler Maria II of Portugal die and who used to be her mother?
SPARQL (Wikidata): SELECT ?value1 ?value2 WHERE { wd:Q939 p:P40 ?s . ?s ps:P40 wd:Q221145 . ?s pq:P570 ?value1 . ?s pq:P25 ?value2 }