Question: What's the relationship between Union College and the judge John Wells?
Choices:
copyright representative
place of birth
educated at
geographic distribution
domain of saint or deity
interested in
basin country
member of political party
location of final assembly
part of
Answer: educated at
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Wells" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "judge" . ?e_2 <pred:name> "Union College" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: judge
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: John Wells
function: And
dependencies: 1
2
function: Find
inputs: Union College
function: QueryRelation
dependencies: 3
4