Question: Does Kyoto or Buenos Aires have the greater area?
Choices: Chihuahua
Kilkenny
Abidjan
Cork
Bergen
Kyoto
Buenos Aires
Trieste
Dundee
Kingston
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kyoto" .  } UNION { ?e <pred:name> "Buenos Aires" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Kyoto
function: Find
inputs: Buenos Aires
function: SelectBetween
dependencies: 0
1
inputs: area
greater
Answer: Kyoto