Question: Between Saskatoon and Hamilton, Sacramento's twinned administrative body, which occupies the smaller area?
Choices:
Abidjan
Kingston
Dundee
Hamilton
Chihuahua
Saskatoon
Santo Domingo
Cork
Kilkenny
Trieste
Program:
function: Find
inputs: Saskatoon
function: Find
inputs: Sacramento
function: Relate
dependencies: 1
inputs: twinned administrative body
forward
function: Find
inputs: Hamilton
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Saskatoon" .  } UNION { ?e <pred:name> "Hamilton" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Sacramento" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hamilton