Question: Which human is a cast member of Green Zone and As Good as It Gets?
Choices:
Lawrence Kasdan
Jamie Kennedy
Michael O'Neill
William Henry Harrison
Max Fleischer
Maurice LaMarche
Brian Doyle-Murray
Sylvester Stallone
Greg Kinnear
George W. Bush
Answer: Greg Kinnear
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Green Zone" .  ?e_2 <cast_member> ?e . ?e_2 <pred:name> "As Good as It Gets" .  }
Program:
function: Find
inputs: Green Zone
function: Relate
dependencies: 0
inputs: cast member
forward
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: As Good as It Gets
function: Relate
dependencies: 3
inputs: cast member
forward
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6