Question: When was Pedro I(who has a son, Pedro II of Brazil) born?
Paraphrase: What is the date of birth of Pedro I (whose son is Pedro II of Brazil)?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q939 p:P40 ?s . ?s ps:P40 wd:Q156774 . ?s pq:P569 ?value}