Question: What is the connection between Queen (the one whose genre is adventure film) to Anurag Kashyap?
Choices:
religious order
professorship
found
member of
programming paradigm
dissertation submitted to
location of final assembly
producer
editor
noble title
Answer: producer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Queen" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "adventure film" . ?e_2 <pred:name> "Anurag Kashyap" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: adventure film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Queen
function: And
dependencies: 1
2
function: Find
inputs: Anurag Kashyap
function: QueryRelation
dependencies: 3
4