Question: What is the connection between Cleopatra (the one whose release region is Spain) to Richard Burton?
Choices:
cast member
country of origin
separated from
narrator
published in
record label
head of government
signatory
located on astronomical location
has immediate cause
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cleopatra" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Spain" . ?e_2 <pred:name> "Richard Burton" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Spain
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Cleopatra
function: And
dependencies: 1
2
function: Find
inputs: Richard Burton
function: QueryRelation
dependencies: 3
4