Question: Does the Kingdom of Scotland or does Jordan occupy a smaller area?
Choices: Kingdom of Scotland
Socialist Federal Republic of Yugoslavia
Weimar Republic
Samoa
Kiribati
Cambodia
Benin
Jordan
South Sudan
Russian Soviet Federative Socialist Republic
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kingdom of Scotland" .  } UNION { ?e <pred:name> "Jordan" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Kingdom of Scotland
function: Find
inputs: Jordan
function: SelectBetween
dependencies: 0
1
inputs: area
less
Answer: Kingdom of Scotland