Question: When was the written work that derives The Man with the Golden Gun whose narrative location is Macau published?
Choices:
2006-06-04
1980-08-15
2009-10-02
1962-09-13
1965
1981-12-17
2004-12-23
1997-07-10
1974-01-01
1994-11-10
Answer: 1965
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e <derivative_work> ?e_1 . ?e_1 <pred:name> "The Man with the Golden Gun" . ?e_1 <narrative_location> ?e_2 . ?e_2 <pred:name> "Macau" .  ?e <publication_date> ?pv .  }
Program:
function: Find
inputs: Macau
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: The Man with the Golden Gun
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: derivative work
backward
function: FilterConcept
dependencies: 4
inputs: written work
function: QueryAttr
dependencies: 5
inputs: publication date