Question: What is the character role of David Bowie (the one whose Twitter username is DavidBowieReal) in The Prestige?
Choices:
Kim Fowley
Robert Clayton Dean
Khal Drogo
Aragorn
Aslan
Griffin
Nikola Tesla
Russell Billiu Long
Irina Spalko
Sephiroth
Answer: Nikola Tesla
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Prestige" . ?e_2 <pred:name> "David Bowie" . ?e_2 <Twitter_username> ?pv . ?pv <pred:value> "DavidBowieReal" . ?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: The Prestige
function: Find
inputs: David Bowie
function: FilterStr
dependencies: 1
inputs: Twitter username
DavidBowieReal
function: QueryRelationQualifier
dependencies: 0
2
inputs: cast member
character role