Question: Which area is larger, Kiev or Bangalore?
Choices:
Mexico City
Lausanne
Manila
Sarajevo
Moscow
Kiev
Doha
Tallinn
Bangalore
New Delhi
Answer: Kiev
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kiev" .  } UNION { ?e <pred:name> "Bangalore" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Kiev
function: Find
inputs: Bangalore
function: SelectBetween
dependencies: 0
1
inputs: area
greater