Question: In what way is Dundee-born James Ivory affiliated with the University of Edinburgh?
Choices:
terminus
architect
convicted of
operator
educated at
located on astronomical location
color
occupation
ethnic group
contributing factor of
Answer: educated at
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "James Ivory" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Dundee" . ?e_2 <pred:name> "University of Edinburgh" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Dundee
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: James Ivory
function: And
dependencies: 1
2
function: Find
inputs: University of Edinburgh
function: QueryRelation
dependencies: 3
4