Question: Which area is smaller, Trondheim or Guadalajara (the one that is the capital of Jalisco)?
Choices:
Bergen
Guadalajara
Santo Domingo
Chihuahua
Cork
Trondheim
Kilkenny
Dundee
Kingston
Trieste
Answer: Guadalajara
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Trondheim" .  } UNION { ?e <pred:name> "Guadalajara" . ?e_1 <capital> ?e . ?e_1 <pred:name> "Jalisco" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Trondheim
function: Find
inputs: Jalisco
function: Relate
dependencies: 1
inputs: capital
forward
function: Find
inputs: Guadalajara
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less