Question: What is the connection between Spy Game (the one whose genre is spy film) to Vietnam?
Choices:
student
said to be the same as
significant event
patron saint
cast member
academic degree
located in or next to body of water
studies
narrative location
architect
Answer: narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Spy Game" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "spy film" . ?e_2 <pred:name> "Vietnam" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: spy film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Spy Game
function: And
dependencies: 1
2
function: Find
inputs: Vietnam
function: QueryRelation
dependencies: 3
4