Question: Find tge relationship between Yale alumni John Adams and the  University?
Choices: manufacturer
film release region
board member
mouth of the watercourse
foundational text
model item
mother
head coach
connects with
educated at
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Adams" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "Yale University" . ?e_2 <pred:name> "Yale University" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Yale University
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: John Adams
function: And
dependencies: 1
2
function: Find
inputs: Yale University
function: QueryRelation
dependencies: 3
4
Answer: educated at