Question: Of capitals where the official language is Turkish, which occupies the least area?
Choices:
Ankara
Mexico City
New Delhi
Doha
Moscow
Sarajevo
Manila
Tallinn
Riga
Istanbul
Program:
function: Find
inputs: Turkish
function: Relate
dependencies: 0
inputs: official language
backward
function: FilterConcept
dependencies: 1
inputs: capital
function: SelectAmong
dependencies: 2
inputs: area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" . ?e <official_language> ?e_1 . ?e_1 <pred:name> "Turkish" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Istanbul