Question: How is the 80-minute Vanity Fair related to London, setting of Octopussy?
Choices: medical treatment
narrative location
facet of
captain
published in
political ideology
given name
professional or sports partner
manner of death
member of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Vanity Fair" . ?e_1 <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "80"^^xsd:double . ?e_2 <pred:name> "London" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> "Octopussy" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Vanity Fair
function: FilterNum
dependencies: 0
inputs: duration
80 minute
=
function: Find
inputs: Octopussy
function: Relate
dependencies: 2
inputs: narrative location
forward
function: Find
inputs: London
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5
Answer: narrative location