Question: How is Poltergeist starring Sam Rockwell related to the United States of America?
Choices:
registered with
record label
doctoral student
film release region
general manager
present in work
country of origin
eye color
territory claimed by
headquarters location
Answer: country of origin
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Poltergeist" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Sam Rockwell" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Sam Rockwell
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Poltergeist
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4