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