Question: Which visual artwork has John Lithgow and Chris Penn (who died in Santa Monica) as cast members?
Choices:
Rush Hour
Talk to Her
The Life and Death of Peter Sellers
Dreamgirls
Short Cuts
Rebecca
Footloose
A Prairie Home Companion
Terms of Endearment
Pleasantville
Answer: Footloose
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "John Lithgow" .  ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Chris Penn" . ?e_2 <place_of_death> ?e_3 . ?e_3 <pred:name> "Santa Monica" .  }
Program:
function: Find
inputs: John Lithgow
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: Find
inputs: Santa Monica
function: Relate
dependencies: 3
inputs: place of death
backward
function: Find
inputs: Chris Penn
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: cast member
backward
function: FilterConcept
dependencies: 7
inputs: visual artwork
function: And
dependencies: 2
8
function: What
dependencies: 9