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