Question: Which has fewer people, Hamilton (the one that is the twinned administrative body of Sacramento) or Geelong?
Choices: Chihuahua
Kilkenny
Dundee
Hamilton
Cork
Trieste
Kingston
Abidjan
Bergen
Geelong
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hamilton" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Sacramento" .   } UNION { ?e <pred:name> "Geelong" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Sacramento
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Hamilton
function: And
dependencies: 1
2
function: Find
inputs: Geelong
function: SelectBetween
dependencies: 3
4
inputs: population
less
Answer: Hamilton