Question: What capital of the Indian state has an Indian census area code (2001) of 29?
Choices:
Lucknow
Bangalore
Jaipur
Sarajevo
Riga
New Delhi
Lausanne
Doha
Moscow
Chandigarh
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Indian census area code (2001)
29
function: FilterConcept
dependencies: 1
inputs: state of India
function: Relate
dependencies: 2
inputs: capital of
backward
function: FilterConcept
dependencies: 3
inputs: capital
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" . ?e <capital_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "state of India" . ?e_1 <Indian_census_area_code_(2001)> ?pv . ?pv <pred:value> "29" .   }
Answer: Bangalore