Question: Which area is smaller, Minsk or Kiev?
Choices:
Manila
Lausanne
Kiev
Tallinn
Doha
Mexico City
Minsk
Riga
Moscow
Sarajevo
Program:
function: Find
inputs: Minsk
function: Find
inputs: Kiev
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Minsk" .  } UNION { ?e <pred:name> "Kiev" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Minsk