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