What is {county seat of} of {Dar es Salaam}, that has {Human Development Index} is {0.367} ?
Which is Dar es Salaam's county seat, whose index of human development is 0.367?
Which is the county seat of Dar es Salaam, whose Human Development  Index is 0.367?
SELECT ?q WHERE { ?q property:Human_Development_Index ?c . resource:Dar_es_Salaam property:capital_of ?q . FILTER ( CONTAINS ( ?c , '0.367' ) ) }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1960> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1376>. ?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/P1081> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <0.367> . }
SELECT ?answer WHERE { wd:Q1960 wdt:P1376 ?answer . ?answer wdt:P1081 ?x FILTER(contains(?x , '0.367'))}