Question: Tell me the citiy that is located in the Indian state that has the Twitter username kerala_govt
Choices:
Kingston
Kerala
Ahmedabad
Thrissur
Douala
Amman
Trieste
Kōbe
Pune
Cork
Answer: Thrissur
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "state of India" . ?e_1 <Twitter_username> ?pv_1 . ?pv_1 <pred:value> "kerala_govt" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
kerala_govt
function: FilterConcept
dependencies: 1
inputs: state of India
function: Relate
dependencies: 2
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 3
inputs: city
function: What
dependencies: 4