What is {chef-lieu} of {Shashanka}, that has {chef-lieu of} is {Nawabs of Bengal and Murshidabad} ?
"Who is {chef-lieu} of {Shashanka}, whicg has {chef-lieu of} is {Nawabs of Bengal and Murshidabad} ?"
"Who is {chef-lieu} of {Shashanka}, whicg has {chef-lieu of} is {Nawabs of Bengal and Murshidabad} ?"
SELECT ?u WHERE { resource:Shashanka property:capital ?u . ?u property:capital_of resource:nawab_of_Bengal }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q2599441> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P36>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1376> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q2637089> . }
SELECT ?answer WHERE { wd:Q2599441 wdt:P36 ?answer . ?answer wdt:P1376 wd:Q2637089}