Question: Which area is larger, Soviet Union or United Kingdom?
Choices:
South Sudan
Socialist Federal Republic of Yugoslavia
Soviet Union
United Kingdom
Russian Soviet Federative Socialist Republic
Cambodia
Benin
Kiribati
Switzerland
Weimar Republic
Program:
function: Find
inputs: Soviet Union
function: Find
inputs: United Kingdom
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Soviet Union" .  } UNION { ?e <pred:name> "United Kingdom" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Soviet Union