Question: Are there more inhabitants of South Sudan or the Kingdom of Sardinia?
Choices:
Kiribati
Benin
Russian Soviet Federative Socialist Republic
Kingdom of Sardinia
Switzerland
Socialist Federal Republic of Yugoslavia
Samoa
People's Republic of China
Weimar Republic
South Sudan
Program:
function: Find
inputs: South Sudan
function: Find
inputs: Kingdom of Sardinia
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "South Sudan" .  } UNION { ?e <pred:name> "Kingdom of Sardinia" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: South Sudan