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