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