Question: Which one has less area between Plymouth (the one in United Kingdom) or Lima (the one that is the twinned administrative body of Santo Domingo)?
Choices:
Lima
Abidjan
Plymouth
Cork
Kilkenny
Bergen
Trieste
Chihuahua
Kingston
Santo Domingo
Answer: Plymouth
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Plymouth" . ?e <country> ?e_1 . ?e_1 <pred:name> "United Kingdom" .   } UNION { ?e <pred:name> "Lima" . ?e <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> "Santo Domingo" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Plymouth
function: And
dependencies: 1
2
function: Find
inputs: Santo Domingo
function: Relate
dependencies: 4
inputs: twinned administrative body
backward
function: Find
inputs: Lima
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: area
less