Question: Does France or Paraguay have more nominal GDP per capita?
Choices:
Tunisia
Mozambique
Sierra Leone
Colombia
France
Bolivia
Namibia
Paraguay
Italy
Germany
Program:
function: Find
inputs: France
function: Find
inputs: Paraguay
function: SelectBetween
dependencies: 0
1
inputs: nominal GDP per capita
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "France" .  } UNION { ?e <pred:name> "Paraguay" .  } ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: France