Question: What is the connection between The Perks of Being a Wallflower (whose release region is Canada) and Dylan McDermott?
Choices:
religion
movement
costume designer
convicted of
family name
fabrication method
approved by
candidacy in election
military casualty classification
cast member
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Perks of Being a Wallflower" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Canada" . ?e_2 <pred:name> "Dylan McDermott" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Perks of Being a Wallflower
function: And
dependencies: 1
2
function: Find
inputs: Dylan McDermott
function: QueryRelation
dependencies: 3
4