Question: What is cast member Adam West's (whose native language name is Adam West) character role in Batman (which has James Brolin as a cast member)?
Choices:
Batman
Edna Mode
King Kong
Gerald Westerby
Johnny Ola
Juggernaut
Jabberwocky
Hades
Eric Taylor
Melvin Purvis
Answer: Batman
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Batman" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "James Brolin" . ?e_2 <pred:name> "Adam West" . ?e_2 <name_in_native_language> ?pv . ?pv <pred:value> "Adam West" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: James Brolin
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Batman
function: And
dependencies: 1
2
function: Find
inputs: Adam West
function: FilterStr
dependencies: 4
inputs: name in native language
Adam West
function: QueryRelationQualifier
dependencies: 3
5
inputs: cast member
character role