Question: Out of the People's Republic of China or Mongolia, which has a smaller GDP per capita?
Choices:
Socialist Federal Republic of Yugoslavia
South Sudan
Samoa
Kiribati
Switzerland
People's Republic of China
Mongolia
Weimar Republic
Cambodia
Benin
Program:
function: Find
inputs: People's Republic of China
function: Find
inputs: Mongolia
function: SelectBetween
dependencies: 0
1
inputs: nominal GDP per capita
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "People's Republic of China" .  } UNION { ?e <pred:name> "Mongolia" .  } ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Mongolia