Question: Out of the governments that have a diplomatic relation with Indonesia, which has the smallest nominal GDP per capita?
Choices:
Georgia
Sri Lanka
Morocco
Italy
France
Tanzania
Austria
Colombia
Thailand
Germany
Program:
function: Find
inputs: Indonesia
function: Relate
dependencies: 0
inputs: diplomatic relation
backward
function: FilterConcept
dependencies: 1
inputs: form of government
function: SelectAmong
dependencies: 2
inputs: nominal GDP per capita
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "form of government" . ?e <diplomatic_relation> ?e_1 . ?e_1 <pred:name> "Indonesia" .  ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Tanzania