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