Question: How is The Man with the Golden Gun (the action film) connected to the United Kingdom?
Choices:
basin country
honorific prefix
country of origin
place of publication
stated in
location of final assembly
diplomatic relation
illustrator
architectural style
operating area
Program:
function: Find
inputs: action film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Man with the Golden Gun
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Man with the Golden Gun" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "action film" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Answer: country of origin