Question: What is the relationship between James Taylor (the one that is educated at University of Cambridge) and cricket?
Choices:
month of the year
business division
sport
film editor
programming language
facet of
position played on team / speciality
office contested
officeholder
publisher
Answer: sport
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "James Taylor" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "University of Cambridge" . ?e_2 <pred:name> "cricket" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: University of Cambridge
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: James Taylor
function: And
dependencies: 1
2
function: Find
inputs: cricket
function: QueryRelation
dependencies: 3
4