Question: What is the connection between Death on the Nile (whose production company is Paramount Pictures) and David Niven?
Choices: platform
contains administrative territorial entity
head of government
employer
located on astronomical location
winner
cast member
significant event
general manager
appears in the form of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Death on the Nile" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "Paramount Pictures" . ?e_2 <pred:name> "David Niven" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Paramount Pictures
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Death on the Nile
function: And
dependencies: 1
2
function: Find
inputs: David Niven
function: QueryRelation
dependencies: 3
4
Answer: cast member