Question: What is the connection between Shakespeare in Love to John Madden (the one that is educated at University of Cambridge)?
Choices: official residence
said to be the same as
performer
donated by
month of the year
director
practiced by
home port
film editor
country of origin
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Shakespeare in Love" . ?e_2 <pred:name> "John Madden" . ?e_2 <educated_at> ?e_3 . ?e_3 <pred:name> "University of Cambridge" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Shakespeare in Love
function: Find
inputs: University of Cambridge
function: Relate
dependencies: 1
inputs: educated at
backward
function: Find
inputs: John Madden
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: director