Question: Who was born in Shimla and has a Twitter username of realpreityzinta?
Choices:
David Byrne
Rahul Dev Burman
Sylvester Stallone
Richard Gere
Preity Zinta
James E. Reilly
Max Fleischer
Paul Simon
William Henry Harrison
Simon Cowell
Program:
function: Find
inputs: Shimla
function: Relate
dependencies: 0
inputs: place of birth
backward
function: FilterConcept
dependencies: 1
inputs: human
function: FindAll
function: FilterStr
dependencies: 3
inputs: Twitter username
realpreityzinta
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Shimla" .  ?e <Twitter_username> ?pv . ?pv <pred:value> "realpreityzinta" .  }
Answer: Preity Zinta