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