What is {occupation} of {Roald Dahl} and {date of death}
What was the occupation of Ronald Dahl and when did he kick the bucket?
What was the occupation of Ronald Dahl and when did he die?
SELECT ?h ?d WHERE { ?n property:occupation ?d . resource:Roald_Dahl property:occupation ?n . ?n property:date_of_death ?h . }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q25161> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P106> . ?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:Q25161 p:P106 ?s . ?s ps:P106 ?obj . ?s pq:P570 ?value1 . }