Question: Which capital under 5200 meters in elevation has the local dialing code 91-755?
Choices:
Lausanne
Doha
Ottawa
Prague
Bhopal
Sarajevo
Chandigarh
Lisbon
Dublin
Moscow
Answer: Bhopal
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> ?v . FILTER ( ?v < "5200"^^xsd:double ) . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "91-755" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: elevation above sea level
5200 metre
<
function: FilterConcept
dependencies: 1
inputs: capital
function: FindAll
function: FilterStr
dependencies: 3
inputs: local dialing code
91-755
function: FilterConcept
dependencies: 4
inputs: capital
function: And
dependencies: 2
5
function: What
dependencies: 6