Question: The cast of which visual artwork includes Boston-born Paul Guilfoyle and Chiwetel Ejiofor?
Choices: Rebecca
L.A. Confidential
Quiz Show
Children of Men
Howard the Duck
A Prairie Home Companion
Pleasantville
Amistad
Dirty Pretty Things
Air Force One
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Paul Guilfoyle" . ?e_1 <place_of_birth> ?e_2 . ?e_2 <pred:name> "Boston" .  ?e <cast_member> ?e_3 . ?e_3 <pred:name> "Chiwetel Ejiofor" .  }
Program:
function: Find
inputs: Boston
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Paul Guilfoyle
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: Find
inputs: Chiwetel Ejiofor
function: Relate
dependencies: 6
inputs: cast member
backward
function: FilterConcept
dependencies: 7
inputs: visual artwork
function: And
dependencies: 5
8
function: What
dependencies: 9
Answer: Amistad