Question: What is the connection between Cobra (the one that has David Rasche as a cast member) to Golden Raspberry Award for Worst Screenplay?
Choices:
academic degree
statistical leader
member of
place served by transport hub
risk factor
original network
has cause
medical treatment
doctoral student
nominated for
Answer: nominated for
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cobra" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "David Rasche" . ?e_2 <pred:name> "Golden Raspberry Award for Worst Screenplay" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: David Rasche
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Cobra
function: And
dependencies: 1
2
function: Find
inputs: Golden Raspberry Award for Worst Screenplay
function: QueryRelation
dependencies: 3
4