Question: What is the connection between the film Election whose release region is Spain and Switzerland?
Choices:
winner
had as last meal
notable people with this condition
nominated for
symptoms
ethnic group
film release region
exported to
sidekick of
statistical leader
Answer: film release region
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Election" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Spain" . ?e_2 <pred:name> "Switzerland" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Spain
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Election
function: And
dependencies: 1
2
function: Find
inputs: Switzerland
function: QueryRelation
dependencies: 3
4