Question: What is the connection between Back to the Future (composed by Alan Silvestri) and Dean Cundy?
Choices:
exported to
appointed by
color
cast member
practiced by
residence
director of photography
owner of
had as last meal
commander of
Answer: director of photography
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Back to the Future" . ?e_1 <composer> ?e_3 . ?e_3 <pred:name> "Alan Silvestri" . ?e_2 <pred:name> "Dean Cundey" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Alan Silvestri
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Back to the Future
function: And
dependencies: 1
2
function: Find
inputs: Dean Cundey
function: QueryRelation
dependencies: 3
4