Question: What is the characer role of James Marsden in Tarzan (the one that origins from United States of America)?
Choices:
Mahatma Gandhi
Rallo Tubbs
Mungo
Shaggy Rogers
Charles VII of France
War Machine
Charizard
Samuel Adams
Eliot Ness
The Joker
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Tarzan
function: And
dependencies: 1
2
function: Find
inputs: Jason Marsden
function: QueryRelationQualifier
dependencies: 3
4
inputs: voice actor
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Tarzan" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "Jason Marsden" . ?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: Mungo