Question: What is the connection between The Verdict (the one that was nominated for Academy Award for Best Writing, Adapted Screenplay) to David Mamet?
Choices:
office held by head of state
indigenous to
noble title
screenwriter
writing system
general manager
based on
voice type
parent astronomical body
main food source
Answer: screenwriter
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Verdict" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Writing, Adapted Screenplay" . ?e_2 <pred:name> "David Mamet" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Verdict
function: And
dependencies: 1
2
function: Find
inputs: David Mamet
function: QueryRelation
dependencies: 3
4