Question: Which has the largest nominal GDP per capita among the democracies that have a diplomatic relation with India whose country calling code is +91?
Choices:
Rwanda
Ukraine
Austria
Zambia
Belarus
Georgia
Mozambique
Italy
France
Tanzania
Program:
function: Find
inputs: India
function: FilterStr
dependencies: 0
inputs: country calling code
+91
function: Relate
dependencies: 1
inputs: diplomatic relation
forward
function: FilterConcept
dependencies: 2
inputs: democracy
function: SelectAmong
dependencies: 3
inputs: nominal GDP per capita
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "democracy" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> "India" . ?e_1 <country_calling_code> ?pv_1 . ?pv_1 <pred:value> "+91" . ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Austria