Question: Which person is a cast member of Iron Man 2 (the one that origins from United States of America) (the character role of this statement is Black Widow) and a cast member of Scoop (the one whose director is Woody Allen)?
Choices: Simon Cowell
David Byrne
James E. Reilly
Paul Simon
Scarlett Johansson
Max Fleischer
Richard Gere
Rahul Dev Burman
William Henry Harrison
Babyface
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Iron Man 2" . ?e_1 <country_of_origin> ?e_2 . ?e_2 <pred:name> "United States of America" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> "Black Widow" . ?e_3 <cast_member> ?e . ?e_3 <pred:name> "Scoop" . ?e_3 <director> ?e_4 . ?e_4 <pred:name> "Woody Allen" .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Iron Man 2
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
forward
function: QFilterStr
dependencies: 4
inputs: character role
Black Widow
function: FilterConcept
dependencies: 5
inputs: human
function: Find
inputs: Woody Allen
function: Relate
dependencies: 7
inputs: director
backward
function: Find
inputs: Scoop
function: And
dependencies: 8
9
function: Relate
dependencies: 10
inputs: cast member
forward
function: FilterConcept
dependencies: 11
inputs: human
function: And
dependencies: 6
12
function: What
dependencies: 13
Answer: Scarlett Johansson