Question: Tell me the person who is a Canadian citizen and who directed Juno (which is in the genre teen film).
Choices:
Rahul Dev Burman
James Stewart
Jason Reitman
David Byrne
Sylvester Stallone
Richard Gere
Simon Cowell
Max Fleischer
George Kennedy
Nicholas Tse
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: teen film
function: Relate
dependencies: 3
inputs: genre
backward
function: Find
inputs: Juno
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: director
forward
function: FilterConcept
dependencies: 7
inputs: human
function: And
dependencies: 2
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> "Canada" .  ?e_2 <director> ?e . ?e_2 <pred:name> "Juno" . ?e_2 <genre> ?e_3 . ?e_3 <pred:name> "teen film" .  }
Answer: Jason Reitman