Question: Who has been a cast member in both A Few Good Men and Nixon?
Choices: Tom Cruise
J. T. Walsh
Paul Sorvino
Demi Moore
Joshua Malina
Sam Waterston
Joan Allen
Xander Berkeley
Kiefer Sutherland
John C. McGinley
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "A Few Good Men" .  ?e_2 <cast_member> ?e . ?e_2 <pred:name> "Nixon" .  }
Program:
function: Find
inputs: A Few Good Men
function: Relate
dependencies: 0
inputs: cast member
forward
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Nixon
function: Relate
dependencies: 3
inputs: cast member
forward
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: J. T. Walsh