Question: Which one is smaller in size, Ankara or Istanbul (official name  Стамбул) ?
Choices:
Riga
Lausanne
Mexico City
Moscow
Istanbul
Sarajevo
New Delhi
Tallinn
Manila
Ankara
Program:
function: Find
inputs: Ankara
function: Find
inputs: Istanbul
function: FilterStr
dependencies: 1
inputs: official name
Стамбул
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ankara" . } UNION { ?e <pred:name> "Istanbul" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> "Стамбул" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Istanbul