Question: Rabindranath Tagore, scripted by Satyajit Ray, has what connection to India, which has a diplomatic relationship with Fiji?
Choices:
illustrator
military branch
copyright holder
signatory
highest judicial authority
country of origin
doctoral student
shares border with
drafted by
distribution
Program:
function: Find
inputs: Satyajit Ray
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: Rabindranath Tagore
function: And
dependencies: 1
2
function: Find
inputs: Fiji
function: Relate
dependencies: 4
inputs: diplomatic relation
forward
function: Find
inputs: India
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Rabindranath Tagore" . ?e_1 <screenwriter> ?e_3 . ?e_3 <pred:name> "Satyajit Ray" . ?e_2 <pred:name> "India" . ?e_4 <diplomatic_relation> ?e_2 . ?e_4 <pred:name> "Fiji" . ?e_1 ?p ?e_2 .  }
Answer: country of origin