What is {child} of {Charlemagne} and {date of death}
Who is the child of Charlemagne and when did he kicked the bucket?
Who is the child of Charlemagne and when did he died?
SELECT ?u ?q WHERE { ?i property:child ?q . ?i property:date_of_death ?u . . resource:Charlemagne property:child ?i }
select distinct ?dataprop1 ?obj 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> ?obj . ?statement <http://www.wikidata.org/entity/P580> ?dataprop1 . } 
SELECT ?value1 ?obj WHERE { wd:Q3044 p:P40 ?s . ?s ps:P40 ?obj . ?s pq:P570 ?value1 . }