Question: What is the character role of Jon Favreau (whose work period (start) is 1992), a cast member of Iron Man 2 (whose release region is Colombia)?
Choices:
Piper Halliwell
King Harold
Obi-Wan Kenobi
Splinter
Kitty Pryde
Cloud Strife
Sigmund Freud
Dieter Reinhardt
Happy Hogan
William Lamb, 2nd Viscount Melbourne
Program:
function: Find
inputs: Colombia
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Iron Man 2
function: And
dependencies: 1
2
function: Find
inputs: Jon Favreau
function: FilterYear
dependencies: 4
inputs: work period (start)
1992
=
function: QueryRelationQualifier
dependencies: 3
5
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Iron Man 2" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Colombia" . ?e_2 <pred:name> "Jon Favreau" . ?e_2 <work_period_(start)> ?pv . ?pv <pred:year> 1992 . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Answer: Happy Hogan