Question: Amitabh Bachchan studied at the university affiliated with which college?
Choices:
Harvard College
St. Stephen's College
Denison University
Morehouse College
Trinity College
University College Dublin
Barnard College
Royal Holloway, University of London
Colorado College
Santa Monica College
Answer: St. Stephen's College
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "college" . ?e <affiliation> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "university" . ?e_2 <educated_at> ?e_1 . ?e_2 <pred:name> "Amitabh Bachchan" .   }
Program:
function: Find
inputs: Amitabh Bachchan
function: Relate
dependencies: 0
inputs: educated at
forward
function: FilterConcept
dependencies: 1
inputs: university
function: Relate
dependencies: 2
inputs: affiliation
backward
function: FilterConcept
dependencies: 3
inputs: college
function: What
dependencies: 4