Question: What is the relationship between The Maltese Falcon (the one whose release region is Turkey) to Belgium?
Choices:
film release region
field of work
winner
followed by
location of formation
family
board member
candidacy in election
approved by
ancestral home
Answer: film release region
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Maltese Falcon" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Turkey" . ?e_2 <pred:name> "Belgium" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Turkey
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Maltese Falcon
function: And
dependencies: 1
2
function: Find
inputs: Belgium
function: QueryRelation
dependencies: 3
4