Question: Which form of government that claims a diplomatic relation with Greece has the lowest PPP GDP?
Choices:
India
Ukraine
Italy
Albania
Serbia
Germany
Zimbabwe
Colombia
Latvia
Indonesia
Program:
function: Find
inputs: Greece
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: FilterConcept
dependencies: 1
inputs: form of government
function: SelectAmong
dependencies: 2
inputs: PPP GDP per capita
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "form of government" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> "Greece" .  ?e <PPP_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Zimbabwe