Question: What is the connection between Doctor Zhivago (that was filmed in Spain) and Helsinki?
Choices: lowest point
approved by
political ideology
nutrient
occupation
member of sports team
symptom of
foundational text
after a work by
filming location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Doctor Zhivago" . ?e_1 <filming_location> ?e_3 . ?e_3 <pred:name> "Spain" . ?e_2 <pred:name> "Helsinki" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Spain
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Doctor Zhivago
function: And
dependencies: 1
2
function: Find
inputs: Helsinki
function: QueryRelation
dependencies: 3
4
Answer: filming location