Question: How is Take Shelter starring Kathy Baker related to Canada?
Choices:
professional or sports partner
doctoral advisor
legal form
programming language
location of formation
rector
composer
based on
place of origin (Switzerland)
film release region
Answer: film release region
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Take Shelter" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Kathy Baker" . ?e_2 <pred:name> "Canada" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Kathy Baker
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Take Shelter
function: And
dependencies: 1
2
function: Find
inputs: Canada
function: QueryRelation
dependencies: 3
4