Question: Which movie includes both Alan Rickman and Helen Hunt as cast members?
Choices:
Sense and Sensibility
Cast Away
The Sessions
Michael Collins
As Good as It Gets
Love Actually
Sweeney Todd: The Demon Barber of Fleet Street
Soul Surfer
Bob Roberts
Twister
Answer: Bob Roberts
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Alan Rickman" .  ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Helen Hunt" .  }
Program:
function: Find
inputs: Alan Rickman
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: Helen Hunt
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6