Question: What is the connection between Vertigo (the one whose release region is Japan) to detective fiction?
Choices:
manner of death
place of death
genre
located on astronomical location
employer
given name
has edition
home port
has parts of the class
takes place in fictional universe
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Vertigo" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Japan" . ?e_2 <pred:name> "detective fiction" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Japan
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Vertigo
function: And
dependencies: 1
2
function: Find
inputs: detective fiction
function: QueryRelation
dependencies: 3
4