Question: What is the connection between Casino Royale (the one that has Woody Allen as a cast member) to Geraldine Chaplin?
Choices:
currency
enclave within
indigenous to
cast member
operating area
participant
public holiday
country of origin
contributor(s) to the creative work
subject has role
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Casino Royale" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Woody Allen" . ?e_2 <pred:name> "Geraldine Chaplin" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Woody Allen
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Casino Royale
function: And
dependencies: 1
2
function: Find
inputs: Geraldine Chaplin
function: QueryRelation
dependencies: 3
4