Question: Does Pakistan or Jordan have greater total reserves?
Choices:
Samoa
South Sudan
Benin
Switzerland
Pakistan
Jordan
Russian Soviet Federative Socialist Republic
Weimar Republic
Socialist Federal Republic of Yugoslavia
Kiribati
Program:
function: Find
inputs: Pakistan
function: Find
inputs: Jordan
function: SelectBetween
dependencies: 0
1
inputs: total reserves
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pakistan" .  } UNION { ?e <pred:name> "Jordan" .  } ?e <total_reserves> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Jordan