Question: What is the character role of Mark Hamill in  Avatar: The Last Airbender (the one that uses the language English)?
Choices:
Ozai
Stewie Griffin
Mayor Quimby
Manny
Philip II of Macedon
Nicky Barnes
Papa Smurf
Richard I of England
Mr. Waternoose
Colonel Kurtz
Answer: Ozai
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Avatar: The Last Airbender" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "Mark Hamill" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Avatar: The Last Airbender
function: And
dependencies: 1
2
function: Find
inputs: Mark Hamill
function: QueryRelationQualifier
dependencies: 3
4
inputs: voice actor
character role