What is {named after} of {Dushanbe} that is {language of work or name} is {Tajik} ?
In Tajik, what was named after Dushanbe?
What was named after Dushanbe in Tajik?
SELECT ?x WHERE { resource:Dushanbe property:named_after ?f . ?f property:named_after ?x . ?f property:language_of_work_or_name resource:Tajik }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q9365> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P138> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P407> <http://wikidata.dbpedia.org/resource/Q9260>
} 

SELECT ?obj WHERE { wd:Q9365 p:P138 ?s . ?s ps:P138 ?obj . ?s pq:P407 wd:Q9260 }