Question: What is the connection between Gettysburg (the one whose production company is Warner Bros.) to Martin Sheen?
Choices: editor
cast member
product or material produced
place served by transport hub
military rank
soundtrack album
broadcast by
symptoms
mouth of the watercourse
librettist
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gettysburg" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "Warner Bros." . ?e_2 <pred:name> "Martin Sheen" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Warner Bros.
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Gettysburg
function: And
dependencies: 1
2
function: Find
inputs: Martin Sheen
function: QueryRelation
dependencies: 3
4
Answer: cast member