Question: Comparing Vanuatu and Solomon Islands, which one has less nominal GDP per capita?
Choices:
South Sudan
Switzerland
Kiribati
Samoa
Vanuatu
Solomon Islands
Russian Soviet Federative Socialist Republic
Weimar Republic
Socialist Federal Republic of Yugoslavia
Benin
Program:
function: Find
inputs: Vanuatu
function: Find
inputs: Solomon Islands
function: SelectBetween
dependencies: 0
1
inputs: nominal GDP per capita
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Vanuatu" .  } UNION { ?e <pred:name> "Solomon Islands" .  } ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Solomon Islands