Question: What is the connection between Edmonton (the one that is located in London Borough of Enfield) to United Kingdom?
Choices:
vehicle normally used
health specialty
country of citizenship
operator
developer
has effect
cast member
fictional universe described in
godparent
country
Answer: country
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Edmonton" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> "London Borough of Enfield" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: London Borough of Enfield
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Edmonton
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 3
4