Question: Does the Second Polish Republic or Vatican City have a higher population?
Choices:
Weimar Republic
Kiribati
Benin
South Sudan
Vatican City
Socialist Federal Republic of Yugoslavia
Cambodia
Russian Soviet Federative Socialist Republic
Second Polish Republic
Switzerland
Program:
function: Find
inputs: Second Polish Republic
function: Find
inputs: Vatican City
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Second Polish Republic" .  } UNION { ?e <pred:name> "Vatican City" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Second Polish Republic