Question: Which has a greater area, Venice (the twinned administrative body of Saint Petersburg) or Swindon?
Choices:
Abidjan
Cork
Santo Domingo
Venice
Chihuahua
Trieste
Kilkenny
Dundee
Swindon
Kingston
Answer: Venice
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Venice" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Saint Petersburg" .   } UNION { ?e <pred:name> "Swindon" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Saint Petersburg
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Venice
function: And
dependencies: 1
2
function: Find
inputs: Swindon
function: SelectBetween
dependencies: 3
4
inputs: area
greater