What is {mother} and {date of birth} of {{Charlemagne} has {child} as {Pepin the Hunchback}}
When was Pepin the Hunchback born?
What is Pepin the Hunchback's date of birth?
SELECT ?a ?u WHERE { resource:Charlemagne property:child ?j . ?j property:mother ?a . ?j property:child resource:Pepin_the_Hunchback . ?j property:date_of_birth ?u }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q3044> . ?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/Q302212>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q3044 p:P40 ?s . ?s ps:P40 wd:Q302212 . ?s pq:P25 ?value1 . ?s pq:P569 ?value2 }