What is {date of birth} and {date of death} of {{Pedro I} has {child} as {Princess Maria Amélia of Brazil}}
When was once Pedro I's baby Princess Maria Amélia of Brazil born and when did she die?
When was Pedro I's child Princess Maria Amélia of Brazil born and when did she die?
SELECT ?h ?x WHERE { resource:Pedro_I_of_Brazil property:child ?f . ?f property:child resource:Princess_Maria_Amélia_of_Brazil . ?f property:date_of_birth ?h . ?f property:date_of_death ?x }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q939> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P40> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q235815>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q939 p:P40 ?s . ?s ps:P40 wd:Q235815 . ?s pq:P569 ?value1 . ?s pq:P570 ?value2 }