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