Question: What relation does Jerry Lewis who is educated at Brigham Young University have to Brigham Young University?
Choices:
exported to
dissertation submitted to
narrative role
software engine
educated at
cast member
terminus
platform
model item
item operated
Answer: educated at
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jerry Lewis" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "Brigham Young University" . ?e_2 <pred:name> "Brigham Young University" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Brigham Young University
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Jerry Lewis
function: And
dependencies: 1
2
function: Find
inputs: Brigham Young University
function: QueryRelation
dependencies: 3
4