Question: What is the connection between The Bodyguard (the one whose producer is Fred Quimby) to United States of America?
Choices:
approved by
industry
has cause
month of the year
language of work or name
movement
country of origin
basin country
works in collection
applies to jurisdiction
Answer: country of origin
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Bodyguard" . ?e_1 <producer> ?e_3 . ?e_3 <pred:name> "Fred Quimby" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Fred Quimby
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: The Bodyguard
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4