Question: Are there less people in the Republic of Venice or in Slovakia?
Choices:
Tunisia
Italy
Germany
Colombia
Slovakia
Republic of Venice
Bolivia
Mozambique
Sierra Leone
Zimbabwe
Program:
function: Find
inputs: Republic of Venice
function: Find
inputs: Slovakia
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Republic of Venice" .  } UNION { ?e <pred:name> "Slovakia" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Republic of Venice