Question: What is the connection between Sweeney Todd: The Demon Barber of Fleet Street (the one that has Timothy Spall as a cast member) to London (the one that is the headquarter location of Virgin Interactive)?
Choices:
stated in
professional or sports partner
interested in
location of discovery
librettist
language of work or name
interests
narrative location
appointed by
student
Answer: narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Sweeney Todd: The Demon Barber of Fleet Street" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Timothy Spall" . ?e_2 <pred:name> "London" . ?e_4 <headquarters_location> ?e_2 . ?e_4 <pred:name> "Virgin Interactive" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Timothy Spall
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Sweeney Todd: The Demon Barber of Fleet Street
function: And
dependencies: 1
2
function: Find
inputs: Virgin Interactive
function: Relate
dependencies: 4
inputs: headquarters location
forward
function: Find
inputs: London
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7