Question: What is the connection between Terry Gilliam to Academy Award for Best Writing, Original Screenplay?
Choices:
nominated for
terminus
subsidiary
after a work by
winner
captain
programming language
filming location
killed by
head of government
Answer: nominated for
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Terry Gilliam" . ?e_2 <pred:name> "Academy Award for Best Writing, Original Screenplay" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Terry Gilliam
function: Find
inputs: Academy Award for Best Writing, Original Screenplay
function: QueryRelation
dependencies: 0
1