Question: What is the Twitter username of Jon Favreau (the one that has the occupation of politician)?
Choices:
nickcave
kchenoweth
Pink
VilledeGrenoble
jonfavs
adamlevine
brave
fczenit_en
yoabbaabba
vwofficial
Answer: jonfavs
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Jon Favreau" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "politician" .  ?e <Twitter_username> ?pv .  }
Program:
function: Find
inputs: politician
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Jon Favreau
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: Twitter username