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