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