What is the {secular state} with the {MIN(PPP GDP per capita)} whose {diplomatic relation} is {India}  ?
Tell me the secular stat of the min GDP per capita with a diplomatic relation with India.
What is the secular state of the MIN(PPP GDP per capita) whose diplomatic relation is with India?
SELECT ?k WHERE { ?k property:PPP_GDP_per_capita ?y . ?k rdf:type ontology:secular_state . ?k property:diplomatic_relation resource:India }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q859563>.

?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2299>.
?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj1.

?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P530> .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q668> .

}
ORDER BY ASC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q859563 . ?ent wdt:P2299 ?obj . ?ent wdt:P530 wd:Q668} ORDER BY ASC(?obj)LIMIT 5 