Question: How is Durham, which is the home of University of Durham, related to the United Kingdom?
Choices: set in period
country
registered with
affiliation
appears in the form of
has part
doctoral student
public holiday
next higher rank
owned by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Durham" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_3 <pred:name> "University of Durham" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: University of Durham
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Durham
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 3
4
Answer: country