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