Question: Heaven Can Wait, produced by Ernst Lubitsch, is related in what way to the USA?
Choices:
highest judicial authority
territory overlaps
dissertation submitted to
cast member
member of sports team
director of photography
relative
contributor(s) to the creative work
dialect of
country of origin
Answer: country of origin
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Heaven Can Wait" . ?e_1 <producer> ?e_3 . ?e_3 <pred:name> "Ernst Lubitsch" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Ernst Lubitsch
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Heaven Can Wait
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4