What is {mother} and {date of birth} of {{Charlemagne} has {child} as {Bertha, daughter of Charlemagne}}
When was Bertha, daughter of Charlemange born, and who used to be her mother?
When was Bertha, daughter of Charlemange born, and who was her mother?
SELECT ?z ?j WHERE { ?l property:date_of_birth ?j . resource:Charlemagne property:child ?l . ?l property:child resource:Bertha . ?l property:mother ?z }
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/Q827676>. ?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:Q827676 . ?s pq:P25 ?value1 . ?s pq:P569 ?value2 }