Question: Which US city is headquarters of the University of North Texas and residence of movie producer Jason Lee ?
Choices:
Waukegan
Compton
New Haven
Franklin
Lansing
New Britain
Oakland
Greenville
Boulder
Denton
Answer: Denton
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "University of North Texas" .  ?e_2 <residence> ?e . ?e_2 <pred:name> "Jason Lee" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "film producer" .  }
Program:
function: Find
inputs: University of North Texas
function: Relate
dependencies: 0
inputs: headquarters location
forward
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: Find
inputs: film producer
function: Relate
dependencies: 3
inputs: occupation
backward
function: Find
inputs: Jason Lee
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: residence
forward
function: FilterConcept
dependencies: 7
inputs: city of the United States
function: And
dependencies: 2
8
function: What
dependencies: 9