Question: What is the relationship between Naked Lunch (the one whose release region is Japan) and Judy Davis?
Choices: parent organization
cast member
make-up artist
professorship
home world
captain
edition or translation of
place of publication
donated by
participant
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Naked Lunch" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Japan" . ?e_2 <pred:name> "Judy Davis" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Japan
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Naked Lunch
function: And
dependencies: 1
2
function: Find
inputs: Judy Davis
function: QueryRelation
dependencies: 3
4
Answer: cast member