What is {mother} and {date of birth} of {{Pedro I} has {child} as {Pedro II of Brazil}}
What is Pedre I mother's title and birthdate?
What is Pedre I mother's name and birthdate?
SELECT ?h ?w WHERE { ?o property:mother ?h . ?o property:date_of_birth ?w . ?o property:child resource:Pedro_II_of_Brazil . resource:Pedro_I_of_Brazil property:child ?o }
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/Q156774>. ?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:Q156774 . ?s pq:P25 ?value1 . ?s pq:P569 ?value2 }