Question: What city has the university that is Stephen Fry's education place?
Choices:
Hamilton
Milan
London
Brisbane
San Francisco
Helsinki
Cambridge
Buenos Aires
Sarnia
Chengdu
Program:
function: Find
inputs: Stephen Fry
function: Relate
dependencies: 0
inputs: educated at
forward
function: FilterConcept
dependencies: 1
inputs: university
function: Relate
dependencies: 2
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 3
inputs: city
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "university" . ?e_2 <educated_at> ?e_1 . ?e_2 <pred:name> "Stephen Fry" .   }
Answer: Cambridge