Question: Which has fewer people, Tabriz or Inverness?
Choices:
Kingston
Dundee
Bergen
Tabriz
Santo Domingo
Inverness
Abidjan
Kilkenny
Chihuahua
Trieste
Program:
function: Find
inputs: Tabriz
function: Find
inputs: Inverness
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tabriz" .  } UNION { ?e <pred:name> "Inverness" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Inverness