Question: What is the connection between John Wood (the one that is educated at Northwestern University) to Northwestern University?
Choices:
draft pick from school
theme music
industry
educated at
cast member
replaces
captain
award received
has parts of the class
country of citizenship
Program:
function: Find
inputs: Northwestern University
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: John Wood
function: And
dependencies: 1
2
function: Find
inputs: Northwestern University
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Wood" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "Northwestern University" . ?e_2 <pred:name> "Northwestern University" . ?e_1 ?p ?e_2 .  }
Answer: educated at