Question: Which area is larger, Kathmandu or Tel Aviv?
Choices:
Kilkenny
Abidjan
Kingston
Chihuahua
Cork
Dundee
Kathmandu
Trieste
Tel Aviv
Bergen
Answer: Tel Aviv
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kathmandu" .  } UNION { ?e <pred:name> "Tel Aviv" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Kathmandu
function: Find
inputs: Tel Aviv
function: SelectBetween
dependencies: 0
1
inputs: area
greater