Question: What is the relation of The Ghost Writer to London (the filming location of Basic Instinct 2)?
Choices:
military branch
main subject
connects with
sidekick of
geography of topic
afflicts
original language of film or TV show
signatory
narrative location
mother
Answer: narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Ghost Writer" . ?e_2 <pred:name> "London" . ?e_3 <filming_location> ?e_2 . ?e_3 <pred:name> "Basic Instinct 2" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: The Ghost Writer
function: Find
inputs: Basic Instinct 2
function: Relate
dependencies: 1
inputs: filming location
forward
function: Find
inputs: London
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4