Question: Which has less PPP GDP per capita, Mongolia or Brazil that is the release region of Spirited Away?
Choices:
Cambodia
Weimar Republic
Socialist Federal Republic of Yugoslavia
Benin
Mongolia
South Sudan
Switzerland
Samoa
Kiribati
Brazil
Program:
function: Find
inputs: Mongolia
function: Find
inputs: Spirited Away
function: Relate
dependencies: 1
inputs: film release region
forward
function: Find
inputs: Brazil
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: PPP GDP per capita
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mongolia" .  } UNION { ?e <pred:name> "Brazil" . ?e_1 <film_release_region> ?e . ?e_1 <pred:name> "Spirited Away" .   } ?e <PPP_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Mongolia