Question: What is the connection between Gettysburg (the one that has Tom Berenger as a cast member) to Tom Berenger?
Choices: screenwriter
cast member
founded by
indigenous to
publisher
film release region
season starts
owner of
participant of
field of work
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gettysburg" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Tom Berenger" . ?e_2 <pred:name> "Tom Berenger" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Tom Berenger
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Gettysburg
function: And
dependencies: 1
2
function: Find
inputs: Tom Berenger
function: QueryRelation
dependencies: 3
4
Answer: cast member