Question: The person with the Twitter handle SrBachchan was born in which city?
Choices:
Cardiff
Palermo
Melbourne
Skopje
Allahabad
Tokyo
Portsmouth
Preston
Sheffield
Kathmandu
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
SrBachchan
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: place of birth
forward
function: FilterConcept
dependencies: 3
inputs: city
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> "SrBachchan" .   }
Answer: Allahabad