Question: What is the connection between Goa (the one whose genre is romantic comedy) to Sneha?
Choices:
kit supplier
airline hub
owner of
award received
maintained by
cites
musical conductor
location of final assembly
edition or translation of
cast member
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Goa" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "romantic comedy" . ?e_2 <pred:name> "Sneha" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: romantic comedy
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Goa
function: And
dependencies: 1
2
function: Find
inputs: Sneha
function: QueryRelation
dependencies: 3
4