What is {country of citizenship} and {date of death} of {{Roald Dahl} has {occupation} as {writer}}
Which country used to be creator Roald Dahl from and when did he die?
Which country was writer Roald Dahl from and when did he die?
SELECT ?o ?v WHERE { resource:Roald_Dahl property:occupation ?x . ?x property:date_of_death ?v . ?x property:country_of_citizenship ?o . ?x property:occupation resource:writer }
select distinct ?value1 ?value2 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> <http://wikidata.dbpedia.org/resource/Q36180>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q25161 p:P106 ?s . ?s ps:P106 wd:Q36180 . ?s pq:P27 ?value1 . ?s pq:P570 ?value2 }