What is {country of citizenship} and {place of birth} of {{Roald Dahl} has {occupation} as {writer}}
In what location was Roald Dahl born and in which location did he work as an author?
Where was Roald Dahl born and where did he work as a writer?
SELECT ?w ?y WHERE { resource:Roald_Dahl property:occupation ?c . ?c property:place_of_birth ?y . ?c property:country_of_citizenship ?w . ?c 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:P19 ?value2 }