What is {date of death} and {date of birth} of {{Pedro I} has {child} as {Maria II of Portugal}}
When did Pedro I girl Maria II of Portugal pass on, and when was she born?
When did Pedro I daughter Maria II of Portugal die, and when was she born?
SELECT ?n ?p WHERE { ?i property:child resource:Maria_II_of_Portugal . resource:Pedro_I_of_Brazil property:child ?i . ?i property:date_of_birth ?p . ?i property:date_of_death ?n }
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/Q221145>. ?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:Q221145 . ?s pq:P570 ?value1 . ?s pq:P569 ?value2 }