Question: What is Julie Andrews' character role as a voice actor in the work Shrek Forever After (the one that origins from United States of America)?
Choices:
Max Gibson
Garrick Ollivander
Dory
Hugo
Queen Lillian
William Bludworth
Caesar Flickerman
Sao Feng
Chris Griffin
Chester Phillips
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Shrek Forever After
function: And
dependencies: 1
2
function: Find
inputs: Julie Andrews
function: QueryRelationQualifier
dependencies: 3
4
inputs: voice actor
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Shrek Forever After" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "Julie Andrews" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Answer: Queen Lillian