What is {mother} and {date of birth} of {{Charlemagne} has {child} as {Pepin of Italy}}
What is the date of birth of Charlemagne's child the Pepin of Italy, and who was the mother?
Which is the mother and the date of birth of Charlemagne's child the Pepin of Italy?
SELECT ?x ?n WHERE { resource:Charlemagne property:child ?o . ?o property:child resource:Pepin_of_Italy . ?o property:date_of_birth ?n . ?o property:mother ?x }
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/Q299645>. ?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:Q299645 . ?s pq:P25 ?value1 . ?s pq:P569 ?value2 }