Question: Does the Kingdom of Scotland or Azerbaijan cover more area?
Choices:
Azerbaijan
Switzerland
South Sudan
Russian Soviet Federative Socialist Republic
Kingdom of Scotland
Samoa
Kiribati
Cambodia
Socialist Federal Republic of Yugoslavia
Benin
Program:
function: Find
inputs: Kingdom of Scotland
function: Find
inputs: Azerbaijan
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kingdom of Scotland" .  } UNION { ?e <pred:name> "Azerbaijan" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Azerbaijan