Question: What is the connection between Wanted (the one whose narrative location is Mumbai) to Anil Kapoor?
Choices:
use
heritage designation
this taxon is source of
subsidiary
student
location of formation
cast member
director
based on
professional or sports partner
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Wanted" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> "Mumbai" . ?e_2 <pred:name> "Anil Kapoor" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Mumbai
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Wanted
function: And
dependencies: 1
2
function: Find
inputs: Anil Kapoor
function: QueryRelation
dependencies: 3
4