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