Question: Is Senegal larger than Switzerland or vice versa ?
Choices:
Cambodia
Weimar Republic
Switzerland
Benin
People's Republic of China
Russian Soviet Federative Socialist Republic
Socialist Federal Republic of Yugoslavia
Senegal
Samoa
Kiribati
Program:
function: Find
inputs: Senegal
function: Find
inputs: Switzerland
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Senegal" .  } UNION { ?e <pred:name> "Switzerland" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Switzerland