Question: The higher learning institution attended by John Cleese is which college within the University of Cambridge that also contains Peterhouse?
Choices:
Corpus Christi College
Trinity College
St John's College
Queens' College
Downing College
St Catharine's College, Cambridge
Jesus College
King's College
Clare College
Christ's College
Program:
function: Find
inputs: John Cleese
function: Relate
dependencies: 0
inputs: educated at
forward
function: FilterConcept
dependencies: 1
inputs: college of the University of Cambridge
function: Find
inputs: Peterhouse
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Cambridge
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 7
inputs: college of the University of Cambridge
function: And
dependencies: 2
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "college of the University of Cambridge" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> "John Cleese" .  ?e <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "Cambridge" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> "Peterhouse" .  }
Answer: Downing College