Question: Which person is a politician residing in Wheaton?
Choices: William Henry Harrison
Shabana Azmi
James Stewart
Ravi Shankar
Max Fleischer
Sylvester Stallone
Kevin Bacon
Phil Vischer
Richard Gere
Amy Grant
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "politician" .  ?e <residence> ?e_2 . ?e_2 <pred:name> "Wheaton" .  }
Program:
function: Find
inputs: politician
function: Relate
dependencies: 0
inputs: occupation
backward
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Wheaton
function: Relate
dependencies: 3
inputs: residence
backward
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: Amy Grant