Question: What is the connection between The Man with the Golden Gun (the one that uses the language English) to The Man with the Golden Gun (the one whose narrative location is Macau)?
Choices:
location of discovery
participant of
employer
dedicated to
part of the series
programming language
significant person
genre
screenwriter
derivative work
Answer: derivative work
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Man with the Golden Gun" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "The Man with the Golden Gun" . ?e_2 <narrative_location> ?e_4 . ?e_4 <pred:name> "Macau" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: The Man with the Golden Gun
function: And
dependencies: 1
2
function: Find
inputs: Macau
function: Relate
dependencies: 4
inputs: narrative location
backward
function: Find
inputs: The Man with the Golden Gun
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7