Question: What is the connection between George Segal (the one that has the occupation of farmer) to Rutgers University?
Choices:
writing system
head coach
practiced by
doctoral advisor
license
color
enclave within
manner of death
educated at
mother
Answer: educated at
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "George Segal" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "farmer" . ?e_2 <pred:name> "Rutgers University" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: farmer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: George Segal
function: And
dependencies: 1
2
function: Find
inputs: Rutgers University
function: QueryRelation
dependencies: 3
4