Question: What is the Twitter username of the person who was born in Lafayette (the one that is headed by mayor)?
Choices:
MaheshNBhatt
WmPowell2016
VP44
kimbasinger
billmaher
AdelaideUnited
BarackObama
theprodigymovie
bill_wyman
AngelaKinsey
Answer: AngelaKinsey
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Lafayette" . ?e_1 <office_held_by_head_of_government> ?e_2 . ?e_2 <pred:name> "mayor" .  ?e <Twitter_username> ?pv .  }
Program:
function: Find
inputs: mayor
function: Relate
dependencies: 0
inputs: office held by head of government
backward
function: Find
inputs: Lafayette
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
backward
function: FilterConcept
dependencies: 4
inputs: human
function: QueryAttr
dependencies: 5
inputs: Twitter username