Question: Which has the smaller population, Georgetown or Havana (the one whose country is Spanish Empire)?
Choices: Dundee
Cork
Kilkenny
Kingston
Havana
Santo Domingo
Georgetown
Trieste
Abidjan
Bergen
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Georgetown" .  } UNION { ?e <pred:name> "Havana" . ?e <country> ?e_1 . ?e_1 <pred:name> "Spanish Empire" .   } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Georgetown
function: Find
inputs: Spanish Empire
function: Relate
dependencies: 1
inputs: country
backward
function: Find
inputs: Havana
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: population
less
Answer: Georgetown