Question: Which cast member of Night at the Museum: Battle of the Smithsonian, which originates in Canada, has the Twitter handle HankAzaria ?
Choices:
Thomas Lennon
Sylvester Stallone
Jay Baruchel
Mindy Kaling
Rahul Dev Burman
William Henry Harrison
Hank Azaria
Owen Wilson
David Byrne
Richard Gere
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
HankAzaria
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Canada
function: Relate
dependencies: 3
inputs: country of origin
backward
function: Find
inputs: Night at the Museum: Battle of the Smithsonian
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: cast member
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 <Twitter_username> ?pv . ?pv <pred:value> "HankAzaria" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Night at the Museum: Battle of the Smithsonian" . ?e_1 <country_of_origin> ?e_2 . ?e_2 <pred:name> "Canada" .  }
Answer: Hank Azaria