Question: Of capitals with the official language Hindi, which is lowest in elevation?
Choices:
Doha
Mexico City
Sarajevo
Moscow
Tallinn
Manila
Lucknow
New Delhi
Riga
Lausanne
Program:
function: Find
inputs: Hindi
function: Relate
dependencies: 0
inputs: official language
backward
function: FilterConcept
dependencies: 1
inputs: capital
function: SelectAmong
dependencies: 2
inputs: elevation above sea level
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" . ?e <official_language> ?e_1 . ?e_1 <pred:name> "Hindi" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Lucknow