what is the {official name} for {Nicholas II of Russia} has {place of birth} as {Pushkin} ?
Nicholas II of Russia was born in Pushkin under what name?
What is the name of Nicholas II of Russia who was born in Pushkin?
SELECT ?a WHERE { ?u property:place_of_birth resource:Pushkin . ?u property:official_name ?a . resource:Nicholas_II_of_Russia property:place_of_birth ?u }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q40787> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P19> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q7947> .
?statement <http://www.wikidata.org/entity/P1448> ?value. 
} 

SELECT ?value WHERE { wd:Q40787 p:P19 ?s . ?s ps:P19 wd:Q7947 . ?s pq:P1448 ?value}