Question: What is the association between St John's College (where Derek Jacobi was educated) and Cambridge (where King's College is located)?
Choices:
military conflicts
hair color
registered with
original film format
foundational text
office held by head of government
update method
award received
located in the administrative territorial entity
basin country
Program:
function: Find
inputs: Derek Jacobi
function: Relate
dependencies: 0
inputs: educated at
forward
function: Find
inputs: St John's College
function: And
dependencies: 1
2
function: Find
inputs: King's College
function: Relate
dependencies: 4
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Cambridge
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "St John's College" . ?e_3 <educated_at> ?e_1 . ?e_3 <pred:name> "Derek Jacobi" . ?e_2 <pred:name> "Cambridge" . ?e_4 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_4 <pred:name> "King's College" . ?e_1 ?p ?e_2 .  }
Answer: located in the administrative territorial entity